joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417fd0
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 0x417ffb
cmp ebp, 2
jne 0x4180d1
cmp esi, ebp
je 0x4180d1
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x41802c
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.004162e0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.004162e0
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 0x418082
push 1
push 0xffffffffffffffff
mov dword [0x4d4a0c], 0
call fcn.004014c0
add esp, 8
mov dword [0x4d4a0c], 1
cmp bl, 0x14
jne 0x4180d1
cmp ebp, 2
jne 0x4180d1
push 0x14
call edi
test al, 1
je 0x4180d1
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.004162e0
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x4180d1
push 1
push 0xffffffffffffffff
mov dword [0x4d4a0c], 0
call fcn.004014c0
add esp, 8
mov dword [0x4d4a0c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x418790
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4d87d0], 0
je 0x4187a8
cmp byte [esp + 8], 0
jne 0x4187a8
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 0x4187ca
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x4187e0
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4187f6
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x41880c
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x418822
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x418838
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x41884b
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x41885f
or byte [esp + 3], 0x80
cmp dword [0x4d87d0], 0
je 0x4188ba
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4d869d]
je 0x4188b9
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.004188c0
mov eax, dword [0x4d75a4]
test eax, eax
je 0x4188b9
test byte [eax + 8], bl
je 0x4188b9
mov dword [0x4d75a4], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x418d50
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x418d8e
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 0x418d8e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418d8e
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 0x418da0
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 0x418e4f
xor eax, eax
jmp 0x418dd0
movzx ecx, word [eax + str.SYSTEMCurrentControlSetControlKeyboard_Layouts_]
mov word [esp + eax + 0xc], cx
add eax, 2
test cx, cx
jne 0x418dd0
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x418e3d
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 0x418e3d
push esi
push edi
lea edi, [esp + 0x10]
lea esi, [esp + 0x8c]
mov ecx, str.Layout_File
call fcn.004809c0
pop edi
pop esi
test eax, eax
je 0x418e3d
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
cmp dword [esp + 0x290], ebx
je 0x418e4f
push 0
push ebx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, ebp
pop ebp
pop ebx
add esp, 0x284
ret

Function at 0x419050
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 0x41914c
push ebx
push esi
push pe_nt_image_headers32
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004a3ee0
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 0x4190af
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 0x4190e8
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 0x41912c
push edi
push 1
push ebp
lea edi, [esp + 0x1b]
call fcn.00419320
add esp, 8
mov byte [esp + 0x12], al
pop edi
test al, al
je 0x41912c
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x20]
call fcn.004188c0
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 0x419142
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 0x419320
Capabilities:
Log keystrokes via polling

Disassembly:
cmp si, 0xa
jne 0x419329
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 0x419386
cmp al, 0xff
jne 0x419386
cmp byte [esp + 0xc], 0
je 0x41938b
movzx eax, si
test eax, 0xffffff80
jne 0x41938b
push 0x103
push eax
call fcn.0049af5c
add esp, 8
test eax, eax
je 0x41938b
mov eax, esi
call fcn.0040ecd0
mov bl, al
push 1
mov eax, esi
call fcn.004054a4
add esp, 4
test eax, eax
setne cl
test cl, 0x38
je 0x41938f
xor al, al
pop ebx
ret
test edi, edi
je 0x4193cf
mov dl, cl
and dl, 6
cmp dl, 6
jne 0x4193a2
or byte [edi], 8
jmp 0x4193c0
test cl, 2
je 0x4193b1
mov al, byte [edi]
test al, 3
jne 0x4193b1
or al, 1
mov byte [edi], al
test cl, 4
je 0x4193c0
mov al, byte [edi]
test al, 0xc
jne 0x4193c0
or al, 4
mov byte [edi], al
test cl, 1
je 0x4193cf
mov al, byte [edi]
test al, 0x30
jne 0x4193cf
or al, 0x10
mov byte [edi], al
mov al, bl
pop ebx
ret

Function at 0x419ac0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x419b1d
je 0x419b1a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x419b2e.286
movzx eax, byte [eax + 0x419bc8]
jmp dword [eax*4 + 0x419b7c]
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.0x419b2e.286
movzx edx, byte [eax + 0x419c28]
jmp dword [edx*4 + 0x419c00]
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 0x419b70
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x419b78
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x419c70
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 0x419c80
mov dword [0x4d49f8], 1
mov dword [0x4d8f7c], 1
pop edi
ret
Function at 0x419cc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4d8f7c], 0
push esi
mov esi, 0x4d75e0
jne 0x419cda
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00419c70
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 0x419cf0
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 0x419d25
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 0x419d90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4d49f8]
jne 0x419d9d
call fcn.00419cc0
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 0x419de0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4d49f8]
jne 0x419dee
call fcn.00419cc0
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 0x419e35
fadd qword [0x4cec78]
fmul qword [0x4cecc8]
pop ecx
ret
Function at 0x41e420
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4d4a18]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
push esi
push edi
push eax
call fcn.0049948e
add esp, 4
mov dword [0x4d71d0], eax
test eax, eax
jne 0x41e449
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4d4b04]
push 0x403ea0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4d86a0]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4d4b04], eax
call edi
cmp dword [0x4d96d0], 0
jne 0x41e48b
mov ebx, 1
jmp 0x41e5a3
mov edx, dword [0x4d4b04]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xec], 0
call esi
cmp byte [0x4d87fc], 0
mov ecx, dword [0x4d4b04]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x41e4db
mov eax, dword [0x4d86a0]
push 0x403d00
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4d87fc], cl
mov byte [0x4da1b5], 1
call esi
mov dword [0x4da1dc], eax
mov dword [0x4da1d8], eax
mov eax, dword [0x4d963c]
mov esi, 1
add dword [0x4d8814], esi
cmp eax, dword [0x4d9640]
jne 0x41e510
call fcn.00405573
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x41e525
mov edx, dword [0x4d9d04]
mov dword [eax], edx
mov eax, dword [0x4d963c]
add eax, 0xc
push 0
mov dword [0x4d963c], eax
push 0
mov dword [eax], 0
mov dword [eax + 4], str.Auto_execute
mov dword [eax + 8], 0
mov ecx, dword [0x4d96d0]
push esi
call fcn.00430640
mov ebx, eax
mov eax, dword [0x4d963c]
sub eax, 0xc
mov dword [0x4d963c], eax
cmp eax, dword [0x4d9638]
jb 0x41e574
mov eax, dword [eax]
mov dword [0x4d964c], eax
mov dword [0x4d9d04], eax
sub dword [0x4d8814], esi
cmp byte [0x4d87fc], 0
je 0x41e59c
mov eax, dword [0x4d86a0]
push 0xb
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41e59c
mov byte [0x4d87fc], 0
mov byte [0x4da1b5], 0
mov ebp, dword [0x4d4b04]
cmp dword [ebp + 0x104], 0
je 0x41e5fd
mov eax, dword [ebp + 0x104]
cmp dword [eax + 8], 6
jne 0x41e5c8
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x104]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41e5de
push eax
call fcn.0049952d
add esp, 4
mov ecx, dword [ebp + 0x104]
push ecx
call fcn.00499522
mov dword [ebp + 0x104], 0
mov ebp, dword [0x4d4b04]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xec], 1
push 0x4af9cc
mov ecx, 0x42
mov esi, ebp
mov edi, 0x4d72e0
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [ebp + 0xec], 1
mov dword [ebp + 0xe0], 0
mov word [ebp + 0xed], 1
mov dword [ebp + 0x2c], connect
call fcn.00482730
mov eax, dword [0x4d5d2c]
cmp word [eax], 0
jne 0x41e695
cmp dword [0x4d8f14], 0
jne 0x41e695
cmp dword [0x4d87d0], 0
jne 0x41e695
cmp dword [0x4d87d4], 0
jne 0x41e695
cmp byte [0x4d87dd], 0
jne 0x41e695
neg ebx
sbb ebx, ebx
and ebx, 5
push 0
inc ebx
push ebx
mov ecx, 0x4d96d0
call fcn.0041e8e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x41e8e0
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 0x41eae2
cmp byte [ecx + 0xae4], bl
je 0x41eae2
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4d8ea8]
push ebx
push 1
mov dword [0x4daf84], eax
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049c6a4
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.0041e320
mov dword [0x4da1c8], ebx
mov dword [0x4da1cc], ebx
cmp dword [0x4d8844], ebx
je 0x41e9a6
mov eax, dword [0x4d5d24]
cmp eax, ebx
je 0x41e99a
mov eax, dword [eax]
cmp eax, ebx
jne 0x41e99f
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 0x41e9d0
call fcn.00405573
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x41e9e5
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 0x41ea27
call fcn.00401300
test eax, eax
je 0x41ea27
cmp byte [0x4d60c4], bl
jne 0x41ea27
mov byte [esp + 0x13], bl
mov byte [0x4d60c4], 1
cmp byte [esp + 0x13], bl
je 0x41ea80
mov dword [esp + 0x20], ebx
call fcn.0044ee90
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.0047a250
xor ebx, ebx
cmp eax, 3
jne 0x41ea80
mov byte [esp + 0x13], bl
mov eax, dword [0x4d963c]
sub eax, 0xc
mov dword [0x4d963c], eax
cmp eax, dword [0x4d9638]
jb 0x41eaa1
mov eax, dword [eax]
mov dword [0x4d964c], eax
mov dword [0x4d9d04], eax
mov byte [0x4da3cf], bl
cmp byte [esp + 0x13], bl
jne 0x41ead4
cmp dword [ebp + 8], 0xffffffff
jle 0x41ead4
lea ecx, [esp + 0x38]
push ecx
call fcn.00403b70
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.0041eb30
cmp byte [0x4d60c4], bl
jne 0x41eb18
cmp eax, 6
jne 0x41eb18
mov ecx, dword [0x4d8630]
cmp word [ecx], bx
je 0x41eb03
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.0041eb30
int3
Function at 0x425b90
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 0x425c3d
movzx eax, word [edx]
test ax, ax
je 0x425c3d
lea esp, [esp]
movzx esi, ax
lea ecx, [esp + 8]
mov eax, 0x20
lea esp, [esp]
cmp si, ax
je 0x425ca3
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x425c20
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425c10
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425c42
sub eax, esi
sar eax, 1
lea edi, [edx + eax*2 - 2]
cmp edi, edx
jbe 0x425c74
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x425c6d
cmp eax, 9
jne 0x425c74
sub edi, 2
cmp edi, edx
ja 0x425c60
mov esi, edi
sub esi, edx
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x425cac
cmp byte [esp + 0x3c], 0
je 0x425c99
mov ecx, dword [esp + 0x38]
push edx
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043a180
xor eax, eax
pop edi
pop esi
add esp, 0x2c
ret 8
cmp edi, edx
jbe 0x425c74
add edi, 0xfffffffe
jmp 0x425c55
push esi
push edx
push ebx
call fcn.0049c6a4
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 0x42aff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004a7400
mov eax, dword [esp + 0x10008]
push esi
push edi
push eax
push ecx
push 0x4b87f8
mov esi, 0x8001
lea edi, [esp + 0x14]
call fcn.0047f480
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b060
test al, 0x10
je 0x42b060
lea eax, [esi + esi + 0x204]
call fcn.0047c4c0
mov dword [ebx], eax
test eax, eax
je 0x42b060
lea ecx, [esi + esi + 2]
push ecx
mov edx, edi
push edx
push eax
call fcn.004a3390
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 0x43a6d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004a7400
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43a7ff
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x43a702
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a70c
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43a719
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.0047f480
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x43a770
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.0047f480
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43a796
mov edx, dword [esp + 0xc]
push 0x4b6370
push 0
push edx
lea esi, [esp + 0x1c]
call fcn.00439cf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4d9674], 0
je 0x43a7b3
push str.stderr
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4d9638
call fcn.0040855f
cmp dword [0x4d9674], 2
je 0x43a7c7
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 2
jne 0x43a7ff
test ebx, ebx
jne 0x43a7de
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a7f5
mov edx, dword [ebp + 0xc]
push esi
push 1
push edx
mov ecx, ebx
call fcn.00439eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.0043a180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ac40
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 0x43ac67
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ac71
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4da170]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x43ad28
cmp byte [esi + 0x12], 0
je 0x43acc9
mov ecx, dword [esi]
push ecx
call fcn.0047a150
add esp, 4
sub eax, 0
je 0x43acad
dec eax
je 0x43aca6
mov eax, 0x4b94a4
jmp 0x43acb2
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x43acb2
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4ba378
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0047f4c0
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x43ac86
cmp word [esp + 0x20], si
je 0x43ad28
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ace0
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x43ad16
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4b51b4
push edi
call fcn.0049c6a4
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x43ad28
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x43ad28
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4d71d0]
cmp byte [eax + 0xf8], 0
je 0x43ad47
cmp byte [0x4da1b5], 0
mov dword [esp + 0x14], 1
je 0x43ad4f
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 0x43ae6d
mov dword [esp + 0x18], 0x4af9bc
xor ebp, ebp
cmp dword [0x4d87d4], 0
mov edi, 0x4b2da0
je 0x43ad82
mov edi, 0x4b2d98
cmp dword [0x4d87d0], 0
mov esi, 0x4b2da0
je 0x43ad95
mov esi, 0x4b2d98
push 1
call fcn.00418790
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00418b80
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.0047f480
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.0040ea10
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ae22
sub eax, edx
sar eax, 1
cmp dword [0x4d8eb8], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43ae47
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.0047f480
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 0x43ad6f