joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a170
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 0x41a19b
cmp ebp, 2
jne 0x41a271
cmp esi, ebp
je 0x41a271
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x41a1cc
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.004184a0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.004184a0
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4bc4b0]
sete al
mov byte [esp + 0x10], al
test al, al
je 0x41a222
push 1
push 0xffffffffffffffff
mov dword [0x4b79dc], 0
call fcn.004014b0
add esp, 8
mov dword [0x4b79dc], 1
cmp bl, 0x14
jne 0x41a271
cmp ebp, 2
jne 0x41a271
push 0x14
call edi
test al, 1
je 0x41a271
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.004184a0
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x41a271
push 1
push 0xffffffffffffffff
mov dword [0x4b79dc], 0
call fcn.004014b0
add esp, 8
mov dword [0x4b79dc], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x41a930
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4bb5dc], 0
je 0x41a948
cmp byte [esp + 8], 0
jne 0x41a948
mov al, byte [0x4bb4a9]
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 0x41a96a
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x41a980
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a996
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x41a9ac
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a9c2
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x41a9d8
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a9eb
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x41a9ff
or byte [esp + 3], 0x80
cmp dword [0x4bb5dc], 0
je 0x41aa7f
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4bb4a9]
cmp byte [0x4bb4ce], 0
je 0x41aa38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4ba390]
cmp eax, 0x14
jae 0x41aa38
mov al, byte [0x4bb4ce]
not al
and bl, al
test bl, bl
je 0x41aa7e
mov cl, byte [0x4bb4ab]
mov al, bl
not al
and byte [0x4bb4a9], al
and byte [0x4bb4aa], al
and cl, al
mov al, cl
mov byte [0x4bb4ab], cl
mov ecx, 0x4bb4d0
call fcn.0041aa90
mov eax, dword [0x4ba3b0]
test eax, eax
je 0x41aa7e
test byte [eax + 8], bl
je 0x41aa7e
mov dword [0x4ba3b0], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x41ae80
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x41aebe
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 0x41aebe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41aebe
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 0x41b0a0
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 0x41b190
push ebx
push ebp
push 0x100
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0049c740
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 0x41b0fe
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 0x41b133
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 0x41b170
push edi
push 1
push esi
lea edi, [esp + 0x1b]
call fcn.0041b340
add esp, 8
mov bl, al
pop edi
test bl, bl
je 0x41b170
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.0041aa90
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 0x41b186
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 0x41b340
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x41b34a
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 0x41b3ad
cmp cl, 0xff
jne 0x41b3ad
cmp byte [esp + 0x10], 0
je 0x41b3b1
movzx esi, bl
test esi, 0xffffff80
jne 0x41b3b1
push 0x103
push esi
call fcn.004942ac
add esp, 8
test eax, eax
je 0x41b3b1
mov al, bl
call fcn.00411220
push 1
push esi
mov byte [esp + 0xf], al
call fcn.004942ac
mov dl, byte [esp + 0xf]
add esp, 8
test eax, eax
setne al
test al, 0x38
je 0x41b3b6
xor al, al
pop esi
pop ecx
ret
test edi, edi
je 0x41b3f7
mov cl, al
and cl, 6
cmp cl, 6
jne 0x41b3c9
or byte [edi], 8
jmp 0x41b3e9
test al, 2
je 0x41b3d9
mov cl, byte [edi]
test cl, 3
jne 0x41b3d9
or cl, 1
mov byte [edi], cl
test al, 4
je 0x41b3e9
mov cl, byte [edi]
test cl, 0xc
jne 0x41b3e9
or cl, 4
mov byte [edi], cl
test al, 1
je 0x41b3f7
mov al, byte [edi]
test al, 0x30
jne 0x41b3f7
or al, 0x10
mov byte [edi], al
mov al, dl
pop esi
pop ecx
ret
Function at 0x41bad0
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41bb2d
je 0x41bb2a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41bb3e.286
movzx eax, byte [eax + 0x41bbd8]
jmp dword [eax*4 + 0x41bb8c]
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.0x41bb3e.286
movzx edx, byte [eax + 0x41bc38]
jmp dword [edx*4 + 0x41bc10]
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 0x41bb80
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x41bb88
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x41bc80
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 0x41bc90
mov dword [0x4b79c8], 1
mov dword [0x4bbd84], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4bbd84], 0
push esi
mov esi, 0x4ba3e8
jne 0x41bcea
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.0041bc80
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 0x41bd00
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 0x41bd35
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 0x41bda0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4b79c8]
jne 0x41bdad
call fcn.0041bcd0
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 0x41bdf0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4b79c8]
jne 0x41bdfe
call fcn.0041bcd0
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 0x41be45
fadd qword [0x4b1678]
fmul qword [0x4b16c8]
pop ecx
ret

Function at 0x41c710
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x41c719
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41c73a
cmp dword [0x4bcb5c], 0
je 0x41c73a
mov dword [esp + 4], 1
mov ecx, 0x4bcb50
jmp fcn.004051c0
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41c74e
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x420450
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.00493939
add esp, 4
mov dword [0x4ba070], eax
test eax, eax
jne 0x420479
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4b7a70]
push 0x403e20
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 0x4204bb
mov ebx, 1
jmp 0x420596
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 0x42050b
mov eax, dword [0x4bb4ac]
push 0x403c80
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.0040b7d0
mov ecx, dword [0x4bc4c8]
push 0
push 0
push esi
call fcn.00431ee0
mov ebx, eax
mov eax, dword [0x4bc444]
sub eax, 0xc
mov dword [0x4bc444], eax
cmp eax, dword [0x4bc440]
jb 0x420566
mov eax, dword [eax]
mov dword [0x4bc454], eax
mov dword [0x4bc83c], eax
sub dword [0x4bb620], esi
cmp byte [0x4bb609], 0
je 0x42058f
mov edx, dword [0x4bb4ac]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x42058f
mov byte [0x4bb609], 0
mov byte [0x4bcae5], 0
mov ebp, dword [0x4b7a70]
cmp dword [ebp + 0xe4], 0
je 0x4205f0
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 8], 6
jne 0x4205bb
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 0x4205d1
push eax
call fcn.00493368
add esp, 4
mov ecx, dword [ebp + 0xe4]
push ecx
call fcn.004930c8
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 0x4a7950
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.00482ff0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x420870
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 0x420a39
cmp byte [ecx + 0x61c], bl
je 0x420a39
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.004964d0
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.00420350
mov dword [0x4bcaf8], ebx
mov dword [0x4bcafc], ebx
cmp dword [0x4bb654], ebx
je 0x420933
mov eax, dword [0x4b8c90]
cmp eax, ebx
je 0x420927
mov eax, dword [eax]
cmp eax, ebx
jne 0x42092c
mov eax, 0x4a7935
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.0040b7d0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x5c8]
mov byte [esp + 0x13], 1
mov byte [0x4b9034], bl
cmp ecx, ebx
je 0x42097e
call fcn.004012f0
test eax, eax
je 0x42097e
cmp byte [0x4b9034], bl
jne 0x42097e
mov byte [esp + 0x13], bl
mov byte [0x4b9034], 1
cmp byte [esp + 0x13], bl
je 0x4209d7
mov dword [esp + 0x20], ebx
call fcn.0044f550
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.0047ae20
xor ebx, ebx
cmp eax, 3
jne 0x4209d7
mov byte [esp + 0x13], bl
mov eax, dword [0x4bc444]
sub eax, 0xc
mov dword [0x4bc444], eax
cmp eax, dword [0x4bc440]
jb 0x4209f8
mov eax, dword [eax]
mov dword [0x4bc454], eax
mov dword [0x4bc83c], eax
mov byte [0x4bcd0f], bl
cmp byte [esp + 0x13], bl
jne 0x420a2b
cmp dword [ebp + 8], 0xffffffff
jle 0x420a2b
lea ecx, [esp + 0x38]
push ecx
call fcn.00403ad0
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.00420a80
cmp byte [0x4b9034], bl
jne 0x420a6e
cmp eax, 6
jne 0x420a6e
mov ecx, dword [0x4bb438]
cmp byte [ecx], bl
je 0x420a59
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.00420a80
int3
Function at 0x4276d0
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 0x42773a
mov dl, byte [ebp]
test dl, dl
je 0x42773a
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x42778e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x427726
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x427720
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427740
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x427760
mov al, byte [edi]
cmp al, 0x20
je 0x42775b
cmp al, 9
jne 0x427760
dec edi
cmp edi, ebp
ja 0x427751
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x427795
cmp byte [esp + 0x30], 0
je 0x427783
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043b860
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x427760
dec edi
jmp 0x42774d
push esi
push ebp
push ebx
call fcn.004964d0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42c7e0
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.0042c8a0
lea eax, [esp + 0x118]
push 0
push eax
call fcn.0044fc90
push str.AutoHotkeyLib_
lea ecx, [esp + 0x124]
push ecx
push 0x4acc78
mov esi, 0x105
lea edi, [esp + 0x24]
call fcn.0047fe70
add esp, 0x14
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c870
test al, 0x10
je 0x42c870
lea eax, [esi + 0x102]
call fcn.0047ce90
mov dword [ebx + 8], eax
test eax, eax
je 0x42c870
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 0x42c877
mov dword [ebx + 8], 0x4a7935
mov ecx, dword [ebp + 0x610]
add ebx, 0x10
mov eax, str.Lib_
call fcn.0042c8a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

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

Disassembly:
sub esp, 0x108
push esi
push edi
push eax
push ecx
push 0x4acc78
mov esi, 0x105
lea edi, [esp + 0x14]
call fcn.0047fe70
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c901
test al, 0x10
je 0x42c901
lea eax, [esi + 0x102]
call fcn.0047ce90
mov dword [ebx], eax
test eax, eax
je 0x42c901
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], 0x4a7935
pop esi
add esp, 0x108
ret
Function at 0x42c910
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 0x42c943
push ecx
mov eax, 0x4bcd10
call fcn.0042c7e0
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x42c95e
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c950
sub eax, edx
mov dword [ebp + 0xc], eax
mov esi, eax
cmp esi, 0xfd
ja 0x42ca19
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0
xor edi, edi
jmp 0x42c980
mov eax, dword [edi*8 + 0x4bcd10]
cmp byte [eax], 0
je 0x42c9ca
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 [0x4ab82c]
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 0x42c9ca
test al, 0x10
je 0x42ca24
inc edi
cmp edi, 3
jl 0x42c980
mov eax, dword [ebp + 8]
push 0x5f
push eax
call fcn.00494a31
add esp, 8
test eax, eax
je 0x42ca19
mov ecx, dword [ebp + 8]
sub eax, ecx
mov esi, eax
cmp esi, 0xfe
jae 0x42ca19
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 0x42c975
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.0044bf20
mov byte [edi], 0x5c
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x624]
test ecx, ecx
je 0x42ca7f
cmp byte [ebp + 0x18], 0
je 0x42ca7f
mov eax, dword [esi]
mov edx, dword [ebx]
push eax
push eax
push edx
push str.Include___0.s_nIncludeAgain__s_n
call fcn.0041f300
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.004210b0
mov esi, eax
cmp esi, 3
jne 0x42cab6
push ebx
mov ebx, dword [esp + 0x14]
push ebx
push edi
call fcn.00421480
mov esi, eax
jmp 0x42caba
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x42cac8
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
test esi, esi
jne 0x42cadd
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.0042cb00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43bd80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.004a0530
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0xc], ecx
test ebx, ebx
jne 0x43bda8
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x43bdb2
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43bdbf
mov edx, dword [ecx + 0x170]
movzx eax, word [ecx + 0x174]
cmp dword [ebp + 8], 0
je 0x43bea6
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.0047fe70
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x43be17
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.0047fe70
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43be3d
mov eax, dword [esp + 0xc]
push 0x4ab974
push 0
push eax
lea esi, [esp + 0x1c]
call fcn.0043b3e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4bc488], 0
je 0x43be5a
push str.stderr
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4bc440
call fcn.0040a6e0
cmp dword [0x4bc488], 2
je 0x43be6e
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, 2
jne 0x43bea6
test ebx, ebx
jne 0x43be85
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x43be9c
mov eax, dword [ebp + 0xc]
push esi
push 1
push eax
mov ecx, ebx
call fcn.0043b590
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0xc]
push esi
push edx
call fcn.0043b860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10