joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417a10
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ecx
cmp dword [0x4d8f78], 1
jne 0x417ad5
push ebx
xor bl, bl
cmp dword [0x4d87d0], 0
mov byte [esp + 4], bl
je 0x417a34
mov bl, 1
mov byte [esp + 4], bl
cmp dword [0x4d87d4], 0
je 0x417a44
or bl, 2
mov byte [esp + 4], bl
test bl, bl
je 0x417a5f
mov al, byte [0x4d75b2]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.0040e190
add esp, 8
mov edx, dword [0x4d75c8]
mov eax, dword [0x4d75c4]
push 0x1c
push edx
push eax
call dword [sym.imp.USER32.dll_SendInput]
test bl, bl
je 0x417b55
mov cl, byte [0x4d75b2]
and cl, bl
test cl, 1
je 0x417abc
push 1
call fcn.00418610
mov dl, byte [esp + 0x14]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4d869f]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4d869f], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4d73f0], eax
mov edx, dword [esp + 4]
pop ebx
add esp, 4
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.0040e190
mov eax, dword [0x4d8694]
push 0
push eax
push 0x415f00
push 1
mov dword [0x4d75bc], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4d87d8], eax
test eax, eax
je 0x417b56
mov byte [0x4d86c2], 1
push 1
push 0x8000012f
mov dword [0x4d4a0c], 0
call fcn.00401460
add esp, 8
cmp dword [0x4d87d8], 0
mov dword [0x4d4a0c], 1
jne 0x417b04
mov eax, dword [0x4d75c8]
mov ecx, dword [0x4d75c4]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4d86c2], 0
jne 0x417b56
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 8]
mov dword [edx], ecx
pop ecx
ret
pop ebx
pop ecx
ret

Function at 0x417d30
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4d8eb8]
test eax, eax
je 0x417e48
mov ecx, dword [0x4d8ebc]
imul ecx, ecx, 0xd4
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 6], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov ecx, 0x69
mov word [eax + 2], dx
push esi
mov word [eax + 4], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4da38c]
mov dword [0x4d8ec0], eax
mov dword [esp + 4], edx
fild dword [esp + 4]
jns 0x417d8b
fadd dword [0x4ceca8]
fdiv qword [0x4ceca0]
mov ecx, dword [0x4d8ebc]
mov edx, dword [0x4d8eb8]
mov dword [0x4da38c], eax
imul ecx, ecx, 0xd4
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [ecx + edx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x417df8
mov eax, dword [0x4d8ebc]
imul eax, eax, 0xd4
cmp esi, dword [0x4d8ec4]
je 0x417de9
mov ecx, dword [0x4d8eb8]
push 0x64
lea edx, [eax + ecx + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x417e24
mov edx, dword [0x4d8eb8]
xor ecx, ecx
mov word [eax + edx + 0xc], cx
jmp 0x417e24
mov ecx, dword [0x4d8ebc]
mov edx, dword [0x4d8eb8]
imul ecx, ecx, 0xd4
mov eax, 0x4b2c40
lea edx, [ecx + edx + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417e15
mov eax, dword [0x4d8ebc]
inc eax
mov dword [0x4d8ec4], esi
mov dword [0x4d8ebc], eax
pop esi
cmp eax, dword [0x4d4a10]
jl 0x417e48
mov dword [0x4d8ebc], 0
pop ecx
ret
Function at 0x417e50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp ebp, 1
je 0x417e7b
cmp ebp, 2
jne 0x417f51
cmp esi, ebp
je 0x417f51
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x417eac
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.00416160
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.00416160
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4d969c]
sete al
mov byte [esp + 0x10], al
test al, al
je 0x417f02
push 1
push 0xffffffffffffffff
mov dword [0x4d4a0c], 0
call fcn.00401460
add esp, 8
mov dword [0x4d4a0c], 1
cmp bl, 0x14
jne 0x417f51
cmp ebp, 2
jne 0x417f51
push 0x14
call edi
test al, 1
je 0x417f51
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.00416160
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x417f51
push 1
push 0xffffffffffffffff
mov dword [0x4d4a0c], 0
call fcn.00401460
add esp, 8
mov dword [0x4d4a0c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x418610
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4d87d0], 0
je 0x418628
cmp byte [esp + 8], 0
jne 0x418628
mov al, byte [0x4d869d]
pop ecx
ret
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
mov byte [esp + 0xb], 0
call esi
mov ecx, 0x8000
test cx, ax
je 0x41864a
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x418660
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x418676
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x41868c
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x4186a2
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x4186b8
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x4186cb
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x4186df
or byte [esp + 3], 0x80
cmp dword [0x4d87d0], 0
je 0x41873a
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4d869d]
je 0x418739
mov cl, byte [0x4d869f]
mov al, bl
not al
and byte [0x4d869d], al
and byte [0x4d869e], al
and cl, al
mov al, cl
mov byte [0x4d869f], cl
mov ecx, 0x4d86c8
call fcn.00418740
mov eax, dword [0x4d75a4]
test eax, eax
je 0x418739
test byte [eax + 8], bl
je 0x418739
mov dword [0x4d75a4], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x418bd0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x418c0e
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push eax
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x418c0e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418c0e
push 0
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
pop edi
pop esi
add esp, 0x34
ret

Function at 0x418c20
Capabilities:
Get keyboard layout

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x284
push ebx
push ebp
xor ebp, ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov ebx, eax
test ebx, ebx
je 0x418ccf
xor eax, eax
jmp 0x418c50
movzx ecx, word [eax + str.SYSTEMCurrentControlSetControlKeyboard_Layouts_]
mov word [esp + eax + 0xc], cx
add eax, 2
test cx, cx
jne 0x418c50
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x418cbd
lea edx, [esp + 8]
push edx
push 1
push 0
lea eax, [esp + 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418cbd
push esi
push edi
lea edi, [esp + 0x10]
lea esi, [esp + 0x8c]
mov ecx, str.Layout_File
call fcn.00480730
pop edi
pop esi
test eax, eax
je 0x418cbd
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
cmp dword [esp + 0x290], ebx
je 0x418ccf
push 0
push ebx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, ebp
pop ebp
pop ebx
add esp, 0x284
ret

Function at 0x418ed0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x114
push ebp
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebp, eax
mov al, byte [esp + 0x11c]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x418fcc
push ebx
push esi
push pe_nt_image_headers32
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004a3c50
mov ebx, dword [sym.imp.USER32.dll_ToUnicodeEx]
add esp, 0xc
push ebp
xor esi, esi
push esi
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push 0x6e
call ebx
cmp eax, 2
jne 0x418f2f
movzx esi, word [esp + 0x10]
movzx ecx, byte [esp + 0x124]
push ebp
push 0
push 2
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call ebx
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x418f68
push ebp
push 0
push 2
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebx
test si, si
je 0x418fac
push edi
push 1
push ebp
lea edi, [esp + 0x1b]
call fcn.004191a0
add esp, 8
mov byte [esp + 0x12], al
pop edi
test al, al
je 0x418fac
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x20]
call fcn.00418740
movzx eax, byte [esp + 0xe]
push ebp
push 0
push 2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push eax
call ebx
cmp dword [esp + 0x1c], 0
pop esi
pop ebx
je 0x418fc2
movzx eax, word [esp + 8]
pop ebp
add esp, 0x114
ret
xor eax, eax
pop ebp
add esp, 0x114
ret
push ebp
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
pop ebp
add esp, 0x114
ret
Function at 0x4191a0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp si, 0xa
jne 0x4191a9
mov al, 0xd
ret
mov eax, dword [esp + 4]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov bl, al
cmp cl, 0xff
jne 0x419206
cmp al, 0xff
jne 0x419206
cmp byte [esp + 0xc], 0
je 0x41920b
movzx eax, si
test eax, 0xffffff80
jne 0x41920b
push 0x103
push eax
call fcn.0049accc
add esp, 8
test eax, eax
je 0x41920b
mov eax, esi
call fcn.0040eba0
mov bl, al
push 1
mov eax, esi
call fcn.00405404
add esp, 4
test eax, eax
setne cl
test cl, 0x38
je 0x41920f
xor al, al
pop ebx
ret
test edi, edi
je 0x41924f
mov dl, cl
and dl, 6
cmp dl, 6
jne 0x419222
or byte [edi], 8
jmp 0x419240
test cl, 2
je 0x419231
mov al, byte [edi]
test al, 3
jne 0x419231
or al, 1
mov byte [edi], al
test cl, 4
je 0x419240
mov al, byte [edi]
test al, 0xc
jne 0x419240
or al, 4
mov byte [edi], al
test cl, 1
je 0x41924f
mov al, byte [edi]
test al, 0x30
jne 0x41924f
or al, 0x10
mov byte [edi], al
mov al, bl
pop ebx
ret

Function at 0x419940
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41999d
je 0x41999a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x4199ae.286
movzx eax, byte [eax + 0x419a48]
jmp dword [eax*4 + 0x4199fc]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0x13
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x4199ae.286
movzx edx, byte [eax + 0x419aa8]
jmp dword [edx*4 + 0x419a80]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x5b
ret
mov al, 0x5c
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
mov al, 0x2c
ret
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
test ebx, 0x100
je 0x4199f0
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x4199f8
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x419af0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4d75e0], eax
mov edx, 1
mov eax, 0x4d75e0
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4d7f9c
jl 0x419b00
mov dword [0x4d49f8], 1
mov dword [0x4d8f7c], 1
pop edi
ret
Function at 0x419b40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4d8f7c], 0
push esi
mov esi, 0x4d75e0
jne 0x419b5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00419af0
mov dword [0x4d49f8], 0x270
mov dword [0x4d75d8], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x419b70
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x419ba5
mov ecx, dword [esi]
mov eax, dword [0x4d75e0]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x419c10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4d49f8]
jne 0x419c1d
call fcn.00419b40
mov eax, dword [0x4d75d8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d75d8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x419c60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4d49f8]
jne 0x419c6e
call fcn.00419b40
mov ecx, dword [0x4d75d8]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4d75d8], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x419cb5
fadd qword [0x4cec78]
fmul qword [0x4cecc8]
pop ecx
ret
Function at 0x41e790
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ecx + 0xa9c], eax
cmp byte [0x4da3cf], bl
jne 0x41e992
cmp byte [ecx + 0xae4], bl
je 0x41e992
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4d8ea8]
push ebx
push 1
mov dword [0x4daf84], eax
call fcn.00401220
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049c414
mov eax, dword [0x4d4b04]
inc dword [0x4d8814]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x142], dx
mov ecx, 0x42
mov esi, 0x4d72e0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4d4b04], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4d96d0
call fcn.0041e1a0
mov dword [0x4da1c8], ebx
mov dword [0x4da1cc], ebx
cmp dword [0x4d8844], ebx
je 0x41e856
mov eax, dword [0x4d5d24]
cmp eax, ebx
je 0x41e84a
mov eax, dword [eax]
cmp eax, ebx
jne 0x41e84f
mov eax, 0x4af9bc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4d963c]
mov edi, dword [0x4d4a0c]
mov dword [0x4d4a0c], ebx
mov byte [0x4da3cf], 1
cmp eax, dword [0x4d9640]
jne 0x41e880
call fcn.004054d3
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x41e895
mov ecx, dword [0x4d9d04]
mov dword [eax], ecx
mov eax, dword [0x4d963c]
mov esi, dword [esp + 0x14]
add eax, 0xc
mov dword [0x4d963c], eax
mov dword [eax], ebx
mov dword [eax + 4], str.OnExit
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0xa90]
mov byte [esp + 0x13], 1
mov byte [0x4d60c4], bl
cmp ecx, ebx
je 0x41e8d7
call fcn.004012a0
test eax, eax
je 0x41e8d7
cmp byte [0x4d60c4], bl
jne 0x41e8d7
mov byte [esp + 0x13], bl
mov byte [0x4d60c4], 1
cmp byte [esp + 0x13], bl
je 0x41e930
mov dword [esp + 0x20], ebx
call fcn.0044ecf0
mov dword [esp + 0x18], eax
mov eax, dword [0x4daf84]
cdq
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esi + 0xa90], ebx
mov dword [esp + 0x28], eax
sete dl
lea eax, [esp + 0x18]
lea ebx, [esi + 0xa5c]
mov dword [esp + 0x30], 1
push edx
push 2
push eax
call fcn.00479fe0
xor ebx, ebx
cmp eax, 3
jne 0x41e930
mov byte [esp + 0x13], bl
mov eax, dword [0x4d963c]
sub eax, 0xc
mov dword [0x4d963c], eax
cmp eax, dword [0x4d9638]
jb 0x41e951
mov eax, dword [eax]
mov dword [0x4d964c], eax
mov dword [0x4d9d04], eax
mov byte [0x4da3cf], bl
cmp byte [esp + 0x13], bl
jne 0x41e984
cmp dword [ebp + 8], 0xffffffff
jle 0x41e984
lea ecx, [esp + 0x38]
push ecx
call fcn.00403af0
add esp, 4
mov dword [0x4d4a0c], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push esi
call fcn.0041e9e0
cmp byte [0x4d60c4], bl
jne 0x41e9c8
cmp eax, 6
jne 0x41e9c8
mov ecx, dword [0x4d8630]
cmp word [ecx], bx
je 0x41e9b3
mov edx, dword [ebp + 0xc]
mov dword [0x4daf84], edx
pop edi
pop esi
mov byte [0x4d60c4], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0041e9e0
int3
Function at 0x425a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4d4a28]
push esi
mov eax, 0x20
push edi
mov word [esp + 8], ax
mov word [esp + 0xa], cx
mov dword [esp + 0xc], 0x90028
mov dword [esp + 0x10], 0x3e003c
mov dword [esp + 0x14], 0x3d003a
mov dword [esp + 0x18], 0x2d002b
mov dword [esp + 0x1c], 0x2f002a
mov dword [esp + 0x20], 0x7e0021
mov dword [esp + 0x24], 0x7c0026
mov dword [esp + 0x28], 0x5b005e
mov dword [esp + 0x2c], 0x3f002e
mov dword [esp + 0x30], 0x7b
mov edi, edx
test edx, edx
je 0x425aed
movzx eax, word [edx]
test ax, ax
je 0x425aed
lea esp, [esp]
movzx esi, ax
lea ecx, [esp + 8]
mov eax, 0x20
lea esp, [esp]
cmp si, ax
je 0x425b53
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x425ad0
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425ac0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425af2
sub eax, esi
sar eax, 1
lea edi, [edx + eax*2 - 2]
cmp edi, edx
jbe 0x425b24
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x425b1d
cmp eax, 9
jne 0x425b24
sub edi, 2
cmp edi, edx
ja 0x425b10
mov esi, edi
sub esi, edx
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x425b5c
cmp byte [esp + 0x3c], 0
je 0x425b49
mov ecx, dword [esp + 0x38]
push edx
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043a0d0
xor eax, eax
pop edi
pop esi
add esp, 0x2c
ret 8
cmp edi, edx
jbe 0x425b24
add edi, 0xfffffffe
jmp 0x425b05
push esi
push edx
push ebx
call fcn.0049c414
add esp, 0xc
xor edx, edx
mov eax, edi
pop edi
mov word [ebx + esi*2], dx
pop esi
add esp, 0x2c
ret 8
Function at 0x42aea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004a7170
mov eax, dword [esp + 0x10008]
push esi
push edi
push eax
push ecx
push 0x4b87f8
mov esi, 0x8001
lea edi, [esp + 0x14]
call fcn.0047f1f0
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42af10
test al, 0x10
je 0x42af10
lea eax, [esi + esi + 0x204]
call fcn.0047c230
mov dword [ebx], eax
test eax, eax
je 0x42af10
lea ecx, [esi + esi + 2]
push ecx
mov edx, edi
push edx
push eax
call fcn.004a3100
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x10004
ret 4
pop edi
mov dword [ebx], 0x4af9bc
pop esi
add esp, 0x10004
ret 4
Function at 0x43a620
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004a7170
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43a74f
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x43a652
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a65c
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43a669
mov edx, dword [ecx + 0x270]
movzx eax, word [ecx + 0x274]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x4d95c4]
mov edx, dword [ecx + edx*4]
movzx eax, ax
push eax
push edx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.0047f1f0
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x43a6c0
lea ecx, [esp + 0x10]
mov eax, edi
push esi
sub eax, ecx
sar eax, 1
mov esi, 0x2000
push str._____Specifically:__s_n
sub esi, eax
call fcn.0047f1f0
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43a6e6
mov edx, dword [esp + 0xc]
push 0x4b6370
push 0
push edx
lea esi, [esp + 0x1c]
call fcn.00439c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4d9674], 0
je 0x43a703
push str.stderr
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4d9638
call fcn.004084c5
cmp dword [0x4d9674], 2
je 0x43a717
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 2
jne 0x43a74f
test ebx, ebx
jne 0x43a72e
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a745
mov edx, dword [ebp + 0xc]
push esi
push 1
push edx
mov ecx, ebx
call fcn.00439e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.0043a0d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ab90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3d8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x43abb7
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43abc1
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4da170]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x43ac78
cmp byte [esi + 0x12], 0
je 0x43ac19
mov ecx, dword [esi]
push ecx
call fcn.00479ee0
add esp, 4
sub eax, 0
je 0x43abfd
dec eax
je 0x43abf6
mov eax, 0x4b94a4
jmp 0x43ac02
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x43ac02
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4ba378
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0047f230
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x43abd6
cmp word [esp + 0x20], si
je 0x43ac78
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ac30
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x43ac66
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4b51b4
push edi
call fcn.0049c414
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x43ac78
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x43ac78
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4d71d0]
cmp byte [eax + 0xf8], 0
je 0x43ac97
cmp byte [0x4da1b5], 0
mov dword [esp + 0x14], 1
je 0x43ac9f
mov dword [esp + 0x14], 0
mov eax, dword [0x4d8814]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43adbd
mov dword [esp + 0x18], 0x4af9bc
xor ebp, ebp
cmp dword [0x4d87d4], 0
mov edi, 0x4b2da0
je 0x43acd2
mov edi, 0x4b2d98
cmp dword [0x4d87d0], 0
mov esi, 0x4b2da0
je 0x43ace5
mov esi, 0x4b2d98
push 1
call fcn.00418610
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00418a00
mov ecx, dword [0x4d8810]
mov edx, dword [0x4d8814]
push eax
mov eax, dword [0x4d8818]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4da178]
push ecx
mov ecx, dword [0x4da17c]
push ebp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push edi
mov edi, dword [esp + 0x414]
push esi
lea edx, [esp + 0x14c]
push edx
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
mov esi, 0xfffe
call fcn.0047f1f0
lea esi, [edi + eax*2]
mov eax, esi
mov ebx, edi
sub eax, ebx
sar eax, 1
mov ecx, 0xfffe
add esp, 0x34
sub ecx, eax
push ecx
push esi
call fcn.0040e8e0
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ad72
sub eax, edx
sar eax, 1
cmp dword [0x4d8eb8], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43ad97
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
mov edx, edi
sub edx, ebx
sar edx, 1
mov esi, 0xfffe
push eax
sub esi, edx
call fcn.0047f1f0
add esp, 4
lea eax, [edi + eax*2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d8
ret 4
lea ebp, [eax - 1]
jmp 0x43acbf