joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
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 0x412cec
cmp ebp, 2
jne 0x412dc2
cmp esi, ebp
je 0x412dc2
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x412d1d
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.00410f80
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.00410f80
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4af260]
sete al
mov byte [esp + 0x14], al
test al, al
je 0x412d73
push 1
push 0xffffffffffffffff
mov dword [0x4aa8fc], 0
call fcn.00401420
add esp, 8
mov dword [0x4aa8fc], 1
cmp bl, 0x14
jne 0x412dc2
cmp ebp, 2
jne 0x412dc2
push 0x14
call edi
test al, 1
je 0x412dc2
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.00410f80
add esp, 0x18
cmp byte [esp + 0x14], 0
je 0x412dc2
push 1
push 0xffffffffffffffff
mov dword [0x4aa8fc], 0
call fcn.00401420
add esp, 8
mov dword [0x4aa8fc], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x413480
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4ae408], 0
je 0x413498
cmp byte [esp + 8], 0
jne 0x413498
mov al, byte [0x4ae2d5]
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 0x4134ba
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x4134d0
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4134e6
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4134fc
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x413512
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x413528
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x41353b
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x41354f
or byte [esp + 3], 0x80
cmp dword [0x4ae408], 0
je 0x4135cf
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4ae2d5]
cmp byte [0x4ae2fa], 0
je 0x413588
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ad1c0]
cmp eax, 0x14
jae 0x413588
mov al, byte [0x4ae2fa]
not al
and bl, al
test bl, bl
je 0x4135ce
mov cl, byte [0x4ae2d7]
mov al, bl
not al
and byte [0x4ae2d5], al
and byte [0x4ae2d6], al
and cl, al
mov al, cl
mov byte [0x4ae2d7], cl
mov ecx, 0x4ae300
call fcn.004135e0
mov eax, dword [0x4ad1e0]
test eax, eax
je 0x4135ce
test byte [eax + 8], bl
je 0x4135ce
mov dword [0x4ad1e0], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x4139d0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x413a0e
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 0x413a0e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x413a0e
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 0x413bf0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x110
push esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0x118]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x413ce0
push ebx
push ebp
push 0x100
lea edx, [esp + 0x20]
push 0
push edx
call fcn.004914b0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
add esp, 0xc
push esi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x6e
xor bl, bl
call ebp
cmp eax, 2
jne 0x413c4e
mov bl, byte [esp + 0x10]
movzx ecx, byte [esp + 0x120]
push esi
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jns 0x413c83
push esi
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x6e
call ebp
test bl, bl
je 0x413cc0
push edi
push 1
push esi
lea edi, [esp + 0x1b]
call fcn.00413e90
add esp, 8
mov bl, al
pop edi
test bl, bl
je 0x413cc0
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.004135e0
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
movzx eax, bl
push 0
push eax
call ebp
cmp dword [esp + 0x18], 0
pop ebp
pop ebx
je 0x413cd6
movsx eax, byte [esp + 8]
pop esi
add esp, 0x110
ret
xor eax, eax
pop esi
add esp, 0x110
ret
push esi
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
pop esi
add esp, 0x110
ret

Function at 0x413e90
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x413e9a
mov al, 0xd
pop ecx
ret
mov eax, dword [esp + 8]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
mov dl, cl
cmp al, 0xff
jne 0x413efd
cmp cl, 0xff
jne 0x413efd
cmp byte [esp + 0x10], 0
je 0x413f01
movzx esi, bl
test esi, 0xffffff80
jne 0x413f01
push 0x103
push esi
call fcn.004896ce
add esp, 8
test eax, eax
je 0x413f01
mov al, bl
call fcn.00409c20
push 1
push esi
mov byte [esp + 0xf], al
call fcn.004896ce
mov dl, byte [esp + 0xf]
add esp, 8
test eax, eax
setne al
test al, 0x38
je 0x413f06
xor al, al
pop esi
pop ecx
ret
test edi, edi
je 0x413f47
mov cl, al
and cl, 6
cmp cl, 6
jne 0x413f19
or byte [edi], 8
jmp 0x413f39
test al, 2
je 0x413f29
mov cl, byte [edi]
test cl, 3
jne 0x413f29
or cl, 1
mov byte [edi], cl
test al, 4
je 0x413f39
mov cl, byte [edi]
test cl, 0xc
jne 0x413f39
or cl, 4
mov byte [edi], cl
test al, 1
je 0x413f47
mov al, byte [edi]
test al, 0x30
jne 0x413f47
or al, 0x10
mov byte [edi], al
mov al, dl
pop esi
pop ecx
ret
Function at 0x414620
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41467d
je 0x41467a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41468e.286
movzx eax, byte [eax + 0x414728]
jmp dword [eax*4 + 0x4146dc]
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.0x41468e.286
movzx edx, byte [eax + 0x414788]
jmp dword [edx*4 + 0x414760]
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_MapVirtualKeyA]
test ebx, 0x100
je 0x4146d0
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x4146d8
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4ad218], eax
mov edx, 1
mov eax, 0x4ad218
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, 0x4adbd4
jl 0x4147e0
mov dword [0x4aa8e8], 1
mov dword [0x4aebb0], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4aebb0], 0
push esi
mov esi, 0x4ad218
jne 0x41483a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004147d0
mov dword [0x4aa8e8], 0x270
mov dword [0x4ad214], 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 0x414850
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 0x414885
mov ecx, dword [esi]
mov eax, dword [0x4ad218]
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 0x4148f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4aa8e8]
jne 0x4148fd
call fcn.00414820
mov eax, dword [0x4ad214]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ad214], 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 0x414940
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4aa8e8]
jne 0x41494e
call fcn.00414820
mov ecx, dword [0x4ad214]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ad214], 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 0x414995
fadd qword [0x4a3f48]
fmul qword [0x4a3f88]
pop ecx
ret
Function at 0x417940
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4aa908]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
push esi
push edi
push eax
call fcn.00488817
add esp, 4
mov dword [0x4acea0], eax
test eax, eax
jne 0x417969
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4aa988]
push 0x403c80
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ae2d8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4aa988], eax
call edi
cmp dword [0x4af278], 0
jne 0x4179ab
mov ebx, 1
jmp 0x417a5b
mov edx, dword [0x4aa988]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], 0
call esi
cmp byte [0x4ae436], 0
mov ecx, dword [0x4aa988]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
jne 0x4179fb
mov eax, dword [0x4ae2d8]
push 0x403ae0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ae436], cl
mov byte [0x4af895], 1
call esi
mov ecx, dword [0x4af278]
push 0
mov esi, 1
add dword [0x4ae44c], esi
push 0
push esi
mov dword [0x4af8b4], eax
mov dword [0x4af8b0], eax
call fcn.00426700
sub dword [0x4ae44c], esi
cmp byte [0x4ae436], 0
mov ebx, eax
je 0x417a54
mov edx, dword [0x4ae2d8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x417a54
mov byte [0x4ae436], 0
mov byte [0x4af895], 0
mov ebp, dword [0x4aa988]
cmp dword [ebp + 0xe4], 0
je 0x417ab5
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 8], 6
jne 0x417a80
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xe4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x417a96
push eax
call fcn.00488458
add esp, 4
mov ecx, dword [ebp + 0xe4]
push ecx
call fcn.004881b8
mov dword [ebp + 0xe4], 0
mov ebp, dword [0x4aa988]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xcc], 1
push 0x49b8c8
mov ecx, 0x3a
mov esi, ebp
mov edi, 0x4acf90
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [ebp + 0xcc], 1
mov dword [ebp + 0xc0], 0
mov word [ebp + 0xcd], 1
mov dword [ebp + 0x2c], CreateStatusWindowA
call fcn.00478140
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x417b40
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esp, 0xa4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0x5d4], ecx
cmp byte [0x4afab7], bl
jne 0x417cdc
cmp byte [eax + 0x61c], bl
je 0x417cdc
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4aeae0]
push ebx
push 1
mov dword [0x4b0508], eax
call fcn.00401270
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0048ae50
mov eax, dword [0x4aa988]
inc dword [0x4ae44c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4acf90
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4aa988], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4af278
call fcn.00417840
mov dword [0x4af8a0], ebx
mov dword [0x4af8a4], ebx
cmp dword [0x4ae480], ebx
je 0x417c02
mov eax, dword [0x4ababc]
cmp eax, ebx
je 0x417bf6
mov eax, dword [eax]
cmp eax, ebx
jne 0x417bfb
mov eax, 0x49b8ad
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c8]
mov edi, dword [0x4aa8fc]
mov dword [0x4aa8fc], ebx
mov byte [0x4afab7], 1
mov byte [esp + 0xf], 1
mov byte [0x4abe78], bl
cmp ecx, ebx
je 0x417c42
call fcn.004012e0
test eax, eax
je 0x417c42
cmp byte [0x4abe78], bl
jne 0x417c42
mov byte [esp + 0xf], bl
mov byte [0x4abe78], 1
cmp byte [esp + 0xf], bl
je 0x417c9b
mov dword [esp + 0x18], ebx
call fcn.004440a0
mov dword [esp + 0x10], eax
mov eax, dword [0x4b0508]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ebx, [esi + 0x594]
mov dword [esp + 0x28], 1
push edx
push 2
push eax
call fcn.004703f0
xor ebx, ebx
cmp eax, 3
jne 0x417c9b
mov byte [esp + 0xf], bl
mov byte [0x4afab7], bl
cmp byte [esp + 0xf], bl
jne 0x417cce
cmp dword [ebp + 0xc], 0xffffffff
jle 0x417cce
lea ecx, [esp + 0x30]
push ecx
call fcn.00403930
add esp, 4
mov dword [0x4aa8fc], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.00417d20
cmp byte [0x4abe78], bl
jne 0x417d11
cmp ecx, 6
jne 0x417d11
mov ecx, dword [0x4ae270]
cmp byte [ecx], bl
je 0x417cfc
mov edx, dword [ebp + 0x10]
mov dword [0x4b0508], edx
pop edi
pop esi
mov byte [0x4abe78], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
call fcn.00417d20
int3
Function at 0x418230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push esi
push 0xa
push str._AUTOHOTKEY_SCRIPT_
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4182da
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4182da
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4182da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 8], eax
test eax, eax
je 0x4182da
push 0x44
call fcn.00489885
add esp, 4
test eax, eax
je 0x4182a4
mov esi, eax
call fcn.004169b0
mov ecx, eax
jmp 0x4182a6
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0xc]
call fcn.00472a30
mov ecx, dword [0x4af878]
inc dword [0x4af1f8]
mov dword [0x4ae268], ecx
mov eax, 3
pop esi
add esp, 0x10
ret 8
mov edx, dword [esp + 0x1c]
push edx
push str.Could_not_extract_script_from_EXE.
mov ecx, 0x4af278
call fcn.0042fde0
pop esi
add esp, 0x10
ret 8
Function at 0x41e140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4aa3b3]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x41e1aa
mov dl, byte [ebp]
test dl, dl
je 0x41e1aa
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41e1fe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41e196
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41e190
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e1b0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41e1d0
mov al, byte [edi]
cmp al, 0x20
je 0x41e1cb
cmp al, 9
jne 0x41e1d0
dec edi
cmp edi, ebp
ja 0x41e1c1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41e205
cmp byte [esp + 0x30], 0
je 0x41e1f3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042fde0
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41e1d0
dec edi
jmp 0x41e1bd
push esi
push ebp
push ebx
call fcn.0048ae50
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x430330
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.00494780
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
jne 0x430356
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x374]
test ebx, ebx
je 0x430360
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43036d
mov ecx, dword [eax + 0x170]
movzx eax, word [eax + 0x174]
cmp dword [ebp + 0xc], 0
je 0x43042b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x4ae268]
push edx
movzx eax, ax
push eax
push ecx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00474fe0
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x4303c3
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00474fe0
mov esi, dword [ebp + 0x14]
add esp, 8
mov edi, dword [ebp + 0xc]
cmp edi, 3
jne 0x4303e9
mov eax, dword [ebp + 8]
push 0x49e250
push 0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0042f9b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, 2
jne 0x43042b
test ebx, ebx
jne 0x43040a
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x430421
mov edx, dword [ebp + 0x10]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0042fb40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.0042fde0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430840
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x43086f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x430876
mov byte [esp + 0xa0], bl
mov esi, dword [0x4af850]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x43091b
cmp byte [esi + 0x12], bl
je 0x4308c9
mov edx, dword [esi]
push edx
call fcn.004702f0
add esp, 4
sub eax, ebx
je 0x4308ad
dec eax
je 0x4308a6
mov eax, str.Object
jmp 0x4308b2
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x4308b2
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49fe5c
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00475020
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x430888
cmp byte [esp + 0x20], bl
je 0x43091b
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4308e0
sub eax, edx
cmp eax, 0x7b
jbe 0x43090d
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49de30
push ebp
call fcn.0048ae50
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x43091b
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x43091b
mov byte [eax - 1], bl
mov edx, dword [0x4acea0]
cmp byte [edx + 0xd8], bl
je 0x430939
mov dword [esp + 0x14], 1
cmp byte [0x4af895], bl
je 0x43093d
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ae44c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x430a4c
mov dword [esp + 0x10], 0x49b8ad
mov dword [esp + 0x18], ebx
mov ebp, 0x49cb18
cmp dword [0x4ae40c], ebx
je 0x430971
mov ebp, 0x49cb14
mov esi, 0x49cb18
cmp dword [0x4ae408], ebx
je 0x430983
mov esi, 0x49cb14
push 1
call fcn.00413480
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.004138a0
mov ecx, dword [0x4ae44c]
mov edx, dword [0x4ae450]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ae448]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4af858]
push ecx
mov ecx, dword [0x4af85c]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
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.00474fe0
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.00409970
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x430a10
sub eax, ecx
add edi, eax
cmp dword [0x4aeaf0], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x430a2e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00474fe0
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x43095f
Function at 0x436750
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00443030
mov edi, eax
test edi, edi
je 0x43677e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00479b60
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4367c9
mov ecx, dword [0x4aa988]
test byte [ecx + 0xe0], 1
jne 0x4367ac
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf10
push edx
call fcn.00478140
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x49b8ad
push 0
push 0x49cf10
call fcn.0042f740
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x436801
cmp ebp, dword [0x4af260]
je 0x436801
mov esi, edi
call fcn.0047a040
test al, al
jne 0x436801
mov eax, dword [0x4af260]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x43683f
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push edx
call fcn.00478140
mov eax, dword [0x4aa988]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43683f
push 1
push eax
call fcn.00401420
add esp, 8
test bl, bl
je 0x436853
mov ecx, dword [0x4af260]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10