joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41baa0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41bafd
je 0x41bafa
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41bb0e.286
movzx eax, byte [eax + 0x41bba8]
jmp dword [eax*4 + 0x41bb5c]
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.0x41bb0e.286
movzx edx, byte [eax + 0x41bc08]
jmp dword [edx*4 + 0x41bbe0]
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 0x41bb50
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x41bb58
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4ba3e8], eax
mov edx, 1
mov eax, 0x4ba3e8
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, 0x4bada4
jl 0x41bc60
mov dword [0x4b79c8], 1
mov dword [0x4bbd84], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4bbd84], 0
push esi
mov esi, 0x4ba3e8
jne 0x41bcba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.0041bc50
mov dword [0x4b79c8], 0x270
mov dword [0x4ba3e4], 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 0x41bcd0
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 0x41bd05
mov ecx, dword [esi]
mov eax, dword [0x4ba3e8]
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 0x41bd70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4b79c8]
jne 0x41bd7d
call fcn.0041bca0
mov eax, dword [0x4ba3e4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ba3e4], 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 0x41bdc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4b79c8]
jne 0x41bdce
call fcn.0041bca0
mov ecx, dword [0x4ba3e4]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ba3e4], 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 0x41be15
fadd qword [0x4b1668]
fmul qword [0x4b16b8]
pop ecx
ret

Function at 0x41c6e0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x41c6e9
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41c70a
cmp dword [0x4bcb5c], 0
je 0x41c70a
mov dword [esp + 4], 1
mov ecx, 0x4bcb50
jmp fcn.00405180
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41c71e
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x4203c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4b79e8]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
push esi
push edi
push eax
call fcn.004938a9
add esp, 4
mov dword [0x4ba070], eax
test eax, eax
jne 0x4203e9
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4b7a70]
push 0x403df0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4bb4ac]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4b7a70], eax
call edi
cmp dword [0x4bc4c8], 0
jne 0x42042b
mov ebx, 1
jmp 0x420506
mov edx, dword [0x4b7a70]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], 0
call esi
cmp byte [0x4bb609], 0
mov ecx, dword [0x4b7a70]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
jne 0x42047b
mov eax, dword [0x4bb4ac]
push 0x403c50
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4bb609], cl
mov byte [0x4bcae5], 1
call esi
mov esi, 1
add dword [0x4bb620], esi
push str.Auto_execute
mov dword [0x4bcb0c], eax
mov dword [0x4bcb08], eax
call fcn.0040b790
mov ecx, dword [0x4bc4c8]
push 0
push 0
push esi
call fcn.00431e50
mov ebx, eax
mov eax, dword [0x4bc444]
sub eax, 0xc
mov dword [0x4bc444], eax
cmp eax, dword [0x4bc440]
jb 0x4204d6
mov eax, dword [eax]
mov dword [0x4bc454], eax
mov dword [0x4bc83c], eax
sub dword [0x4bb620], esi
cmp byte [0x4bb609], 0
je 0x4204ff
mov edx, dword [0x4bb4ac]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4204ff
mov byte [0x4bb609], 0
mov byte [0x4bcae5], 0
mov ebp, dword [0x4b7a70]
cmp dword [ebp + 0xe4], 0
je 0x420560
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 8], 6
jne 0x42052b
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 0x420541
push eax
call fcn.004932d8
add esp, 4
mov ecx, dword [ebp + 0xe4]
push ecx
call fcn.00493038
mov dword [ebp + 0xe4], 0
mov ebp, dword [0x4b7a70]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4bbcb4]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xcc], 1
push 0x4a7940
mov ecx, 0x3a
mov esi, ebp
mov edi, 0x4ba160
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], connect
call fcn.00482f60
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x4207e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ecx + 0x5d4], eax
cmp byte [0x4bcd0f], bl
jne 0x4209a9
cmp byte [ecx + 0x61c], bl
je 0x4209a9
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4bbcb4]
push ebx
push 1
mov dword [0x4bd788], eax
call fcn.00401270
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00496440
mov eax, dword [0x4b7a70]
inc dword [0x4bb620]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xc3], bl
mov ecx, 0x3a
mov esi, 0x4ba160
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4b7a70], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4bc4c8
call fcn.004202c0
mov dword [0x4bcaf8], ebx
mov dword [0x4bcafc], ebx
cmp dword [0x4bb654], ebx
je 0x4208a3
mov eax, dword [0x4b8c90]
cmp eax, ebx
je 0x420897
mov eax, dword [eax]
cmp eax, ebx
jne 0x42089c
mov eax, 0x4a78b1
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, dword [0x4b79dc]
push str.OnExit
mov dword [0x4b79dc], ebx
mov byte [0x4bcd0f], 1
call fcn.0040b790
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x5c8]
mov byte [esp + 0x13], 1
mov byte [0x4b9034], bl
cmp ecx, ebx
je 0x4208ee
call fcn.004012f0
test eax, eax
je 0x4208ee
cmp byte [0x4b9034], bl
jne 0x4208ee
mov byte [esp + 0x13], bl
mov byte [0x4b9034], 1
cmp byte [esp + 0x13], bl
je 0x420947
mov dword [esp + 0x20], ebx
call fcn.0044f4c0
mov dword [esp + 0x18], eax
mov eax, dword [0x4bd788]
cdq
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x28], eax
sete dl
lea eax, [esp + 0x18]
lea ebx, [esi + 0x594]
mov dword [esp + 0x30], 1
push edx
push 2
push eax
call fcn.0047ad90
xor ebx, ebx
cmp eax, 3
jne 0x420947
mov byte [esp + 0x13], bl
mov eax, dword [0x4bc444]
sub eax, 0xc
mov dword [0x4bc444], eax
cmp eax, dword [0x4bc440]
jb 0x420968
mov eax, dword [eax]
mov dword [0x4bc454], eax
mov dword [0x4bc83c], eax
mov byte [0x4bcd0f], bl
cmp byte [esp + 0x13], bl
jne 0x42099b
cmp dword [ebp + 8], 0xffffffff
jle 0x42099b
lea ecx, [esp + 0x38]
push ecx
call fcn.00403ac0
add esp, 4
mov dword [0x4b79dc], 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.004209f0
cmp byte [0x4b9034], bl
jne 0x4209de
cmp eax, 6
jne 0x4209de
mov ecx, dword [0x4bb438]
cmp byte [ecx], bl
je 0x4209c9
mov edx, dword [ebp + 0xc]
mov dword [0x4bd788], edx
pop edi
pop esi
mov byte [0x4b9034], 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.004209f0
int3
Function at 0x4209f0
Capabilities:
Check if file exists
Set current directory

Disassembly:
cmp dword [esp + 8], 0xfffffffe
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
je 0x420af4
mov eax, dword [0x4b7a70]
xor esi, esi
mov byte [eax + 0xd8], 0
mov dword [0x4b79dc], 0
cmp dword [ebp + 0x2c], esi
jle 0x420a40
nop
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx + esi*4]
test byte [eax + 0x15], 2
je 0x420a3a
and byte [eax + 0x15], 0x3d
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc esi
cmp esi, dword [ebp + 0x2c]
jl 0x420a20
xor esi, esi
cmp dword [ebp + 0x34], esi
jle 0x420a70
jmp 0x420a50
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + esi*4]
test byte [eax + 0x15], 2
je 0x420a6a
and byte [eax + 0x15], 0x3d
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc esi
cmp esi, dword [ebp + 0x34]
jl 0x420a50
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x1c], eax
jle 0x420af4
push ebx
mov bl, 0x20
mov edi, edi
mov ecx, dword [ebp + 0x18]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 0x3d], 0
jne 0x420ae5
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x420ab8
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + edi*4]
test byte [eax + 0x16], bl
je 0x420ab2
test byte [eax + 0x15], 2
je 0x420ab2
and byte [eax + 0x15], 0x3d
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [esi + 0x28]
jl 0x420a93
xor edi, edi
cmp dword [esi + 0x30], edi
jle 0x420ae5
nop
mov eax, dword [esi + 0x20]
mov eax, dword [eax + edi*4]
test byte [eax + 0x16], bl
je 0x420adf
test byte [eax + 0x15], 2
je 0x420adf
and byte [eax + 0x15], 0x3d
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [esi + 0x30]
jl 0x420ac0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 0x1c]
jl 0x420a80
pop ebx
cmp dword [0x4bc450], 0xffffffff
je 0x420b87
cmp dword [esp + 0x14], 1
mov edx, str.error
je 0x420b12
mov edx, 0x4a7aa8
mov eax, dword [0x4bc484]
dec eax
cmp eax, 4
ja case.0x420b1d.2
jmp dword [eax*4 + 0x420b9c]
mov ecx, str.step_into
jmp 0x420b45
mov ecx, str.step_over
jmp 0x420b45
mov ecx, str.step_out
jmp 0x420b45
mov ecx, 0x4a7db8
jmp 0x420b45
mov ecx, 0x4a78b1
mov eax, dword [0x4bc498]
test eax, eax
je 0x420b54
mov eax, dword [eax]
test eax, eax
jne 0x420b59
mov eax, 0x4a78b1
push eax
push edx
push str.stopped
push ecx
push str._response_command__s__status__s__reason__s__transaction_id__e___
mov edi, 0x4bc474
call fcn.0040b150
add esp, 0x14
mov ecx, 0x4bc440
call fcn.0040a9d0
mov ecx, 0x4bc440
call fcn.0040ade0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push esi
call fcn.00493e8b
pop edi
pop esi
pop ebp
nop
cmp dword [ebx], ecx
inc edx
add byte [eax + 0xb], al
inc edx
add byte [ebx + ecx], ah
inc edx
add byte [ebx], ch
or eax, dword [edx]
xor cl, byte [ebx]
inc edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
Function at 0x427640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4b79d2]
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 0x4276aa
mov dl, byte [ebp]
test dl, dl
je 0x4276aa
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x4276fe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x427696
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x427690
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4276b0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x4276d0
mov al, byte [edi]
cmp al, 0x20
je 0x4276cb
cmp al, 9
jne 0x4276d0
dec edi
cmp edi, ebp
ja 0x4276c1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x427705
cmp byte [esp + 0x30], 0
je 0x4276f3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043b7d0
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x4276d0
dec edi
jmp 0x4276bd
push esi
push ebp
push ebx
call fcn.00496440
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42c750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [esp + 0x218]
mov ecx, dword [ebp + 0x604]
push esi
mov ebx, eax
push edi
mov eax, str.Lib_
call fcn.0042c810
lea eax, [esp + 0x118]
push 0
push eax
call fcn.0044fc00
push str.AutoHotkeyLib_
lea ecx, [esp + 0x124]
push ecx
push 0x4acc60
mov esi, 0x105
lea edi, [esp + 0x24]
call fcn.0047fde0
add esp, 0x14
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c7e0
test al, 0x10
je 0x42c7e0
lea eax, [esi + 0x102]
call fcn.0047ce00
mov dword [ebx + 8], eax
test eax, eax
je 0x42c7e0
lea ecx, [esi + 1]
push ecx
mov edx, edi
push edx
push eax
call fcn.0049b8f0
add esp, 0xc
mov dword [ebx + 0xc], esi
jmp 0x42c7e7
mov dword [ebx + 8], 0x4a78b1
mov ecx, dword [ebp + 0x610]
add ebx, 0x10
mov eax, str.Lib_
call fcn.0042c810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x42c810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
push esi
push edi
push eax
push ecx
push 0x4acc60
mov esi, 0x105
lea edi, [esp + 0x14]
call fcn.0047fde0
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c871
test al, 0x10
je 0x42c871
lea eax, [esi + 0x102]
call fcn.0047ce00
mov dword [ebx], eax
test eax, eax
je 0x42c871
lea ecx, [esi + 1]
push ecx
mov edx, edi
push edx
push eax
call fcn.0049b8f0
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x108
ret
pop edi
mov dword [ebx], 0x4a78b1
pop esi
add esp, 0x108
ret
Function at 0x42c880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
cmp dword [0x4bcd10], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov byte [eax], 0
mov byte [edx], 0
jne 0x42c8b3
push ecx
mov eax, 0x4bcd10
call fcn.0042c750
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x42c8ce
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c8c0
sub eax, edx
mov dword [ebp + 0xc], eax
mov esi, eax
cmp esi, 0xfd
ja 0x42c989
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0
xor edi, edi
jmp 0x42c8f0
mov eax, dword [edi*8 + 0x4bcd10]
cmp byte [eax], 0
je 0x42c93a
mov ecx, dword [edi*8 + 0x4bcd14]
push esi
add ecx, eax
push ebx
push ecx
call fcn.0049b8f0
mov edx, dword [str..ahk]
mov dword [eax + esi], edx
mov cl, byte [0x4ab818]
mov byte [eax + esi + 4], cl
mov edx, dword [edi*8 + 0x4bcd10]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c93a
test al, 0x10
je 0x42c994
inc edi
cmp edi, 3
jl 0x42c8f0
mov eax, dword [ebp + 8]
push 0x5f
push eax
call fcn.004949a1
add esp, 8
test eax, eax
je 0x42c989
mov ecx, dword [ebp + 8]
sub eax, ecx
mov esi, eax
cmp esi, 0xfe
jae 0x42c989
push esi
push ecx
lea ebx, [esp + 0x20]
mov ecx, ebx
push ecx
call fcn.0049b8f0
mov eax, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov byte [esp + esi + 0x18], 0
mov dword [esp + 0x10], eax
cmp eax, 2
jl 0x42c8e5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi*8 + 0x4bcd14]
mov ecx, dword [edi*8 + 0x4bcd10]
mov edx, dword [ebp + 0x14]
lea esi, [edi*8 + 0x4bcd10]
lea ebx, [edi*8 + 0x4bcd14]
lea edi, [eax + ecx - 1]
mov byte [edi], 0
mov eax, dword [esi]
mov byte [edx], 1
call fcn.0044be90
mov byte [edi], 0x5c
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x624]
test ecx, ecx
je 0x42c9ef
cmp byte [ebp + 0x18], 0
je 0x42c9ef
mov eax, dword [esi]
mov edx, dword [ebx]
push eax
push eax
push edx
push str.Include___0.s_nIncludeAgain__s_n
call fcn.0041f2d0
add esp, 0x10
mov esi, dword [esi]
mov ebx, dword [0x4bc3d4]
push 0
push 0
push esi
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 0
call fcn.00421020
mov esi, eax
cmp esi, 3
jne 0x42ca26
push ebx
mov ebx, dword [esp + 0x14]
push ebx
push edi
call fcn.004213f0
mov esi, eax
jmp 0x42ca2a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x42ca38
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
test esi, esi
jne 0x42ca4d
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push edx
push eax
mov ecx, edi
call fcn.0042ca70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43bcf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.004a04a0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0xc], ecx
test ebx, ebx
jne 0x43bd18
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x43bd22
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43bd2f
mov edx, dword [ecx + 0x170]
movzx eax, word [ecx + 0x174]
cmp dword [ebp + 8], 0
je 0x43be16
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x4bc3cc]
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.0047fde0
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x43bd87
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.0047fde0
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43bdad
mov eax, dword [esp + 0xc]
push 0x4ab960
push 0
push eax
lea esi, [esp + 0x1c]
call fcn.0043b350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4bc488], 0
je 0x43bdca
push str.stderr
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4bc440
call fcn.0040a6a0
cmp dword [0x4bc488], 2
je 0x43bdde
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, 2
jne 0x43be16
test ebx, ebx
jne 0x43bdf5
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x43be0c
mov eax, dword [ebp + 0xc]
push esi
push 1
push eax
mov ecx, ebx
call fcn.0043b500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0xc]
push esi
push edx
call fcn.0043b7d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43c220
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 0x43c24f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43c256
mov byte [esp + 0xa0], bl
mov esi, dword [0x4bcaa0]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x43c2fb
cmp byte [esi + 0x12], bl
je 0x43c2a9
mov edx, dword [esi]
push edx
call fcn.0047ac90
add esp, 4
sub eax, ebx
je 0x43c28d
dec eax
je 0x43c286
mov eax, str.Object
jmp 0x43c292
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x43c292
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x4adac4
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0047fe20
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x43c268
cmp byte [esp + 0x20], bl
je 0x43c2fb
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43c2c0
sub eax, edx
cmp eax, 0x7b
jbe 0x43c2ed
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x4aaf54
push ebp
call fcn.00496440
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x43c2fb
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x43c2fb
mov byte [eax - 1], bl
mov edx, dword [0x4ba070]
cmp byte [edx + 0xd8], bl
je 0x43c319
mov dword [esp + 0x14], 1
cmp byte [0x4bcae5], bl
je 0x43c31d
mov dword [esp + 0x14], ebx
mov eax, dword [0x4bb620]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43c42c
mov dword [esp + 0x10], 0x4a78b1
mov dword [esp + 0x18], ebx
mov ebp, 0x4a9c38
cmp dword [0x4bb5e0], ebx
je 0x43c351
mov ebp, 0x4a9c34
mov esi, 0x4a9c38
cmp dword [0x4bb5dc], ebx
je 0x43c363
mov esi, 0x4a9c34
push 1
call fcn.0041a900
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.0041ad20
mov ecx, dword [0x4bb620]
mov edx, dword [0x4bb624]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4bb61c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4bcaa8]
push ecx
mov ecx, dword [0x4bcaac]
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.0047fde0
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.00410f70
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c3f0
sub eax, ecx
add edi, eax
cmp dword [0x4bbcc4], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43c40e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.0047fde0
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 0x43c33f
Function at 0x4416e0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x20]
call fcn.0044e440
mov edi, eax
test edi, edi
je 0x441709
mov esi, dword [esp + 0x18]
push edi
call fcn.004849e0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x441752
mov ecx, dword [0x4b7a70]
test byte [ecx + 0xe0], 1
jne 0x441736
mov edx, dword [0x4bbcb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7de4
push edx
call fcn.00482f60
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ebx, dword [esp + 0x14]
push 0x4a78b1
push 0
push 0x4a7de4
call fcn.0043b0a0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x44178a
cmp ebp, dword [0x4bc4b0]
je 0x44178a
mov esi, edi
call fcn.00484ec0
test al, al
jne 0x44178a
mov eax, dword [0x4bc4b0]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x4417c8
mov edx, dword [0x4bbcb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7940
push edx
call fcn.00482f60
mov eax, dword [0x4b7a70]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4417c8
push 1
push eax
call fcn.004014b0
add esp, 8
test bl, bl
je 0x4417dc
mov ecx, dword [0x4bc4b0]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc