joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437560
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00431bf0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x437595
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042fb40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x43759f
jmp dword [eax*4 + 0x43778c]
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x4375b5
call fcn.00454300
jmp 0x4375bb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4aeae0]
call fcn.00401130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.00454300
mov ebx, eax
test ebx, ebx
je 0x43762f
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43762f
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4aeae0]
push 0x18
push 0
push esi
call fcn.00401130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push eax
call fcn.00478140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [ebx]
push ecx
call fcn.0048a73b
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x437669.67
movzx edx, byte [eax + 0x4377bc]
jmp dword [edx*4 + 0x4377a0]
mov esi, 0x40
jmp 0x437698
mov esi, 0x4000
jmp 0x437698
mov esi, 0x20
jmp 0x437698
mov esi, 0x8000
jmp 0x437698
mov esi, 0x80
jmp 0x437698
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x4376a7
call fcn.00454300
jmp 0x4376ad
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x43762f
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43762f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x437603
mov ecx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push ecx
call fcn.00478140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx], 0
je 0x437726
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.00414de0
fmul qword [0x4a3f78]
call fcn.00496a50
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x437730
mov byte [esp + 0xf], 1
xor edi, edi
lea ecx, [ecx]
mov ebx, dword [ebp + 0xc]
call fcn.00454300
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x43774b
test esi, esi
jne 0x437612
jmp 0x437753
test esi, esi
je 0x43762f
cmp byte [esp + 0xf], 0
jne 0x437771
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x437612
push 1
push 0x64
call fcn.00401420
add esp, 8
jmp 0x437730
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437fc0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ae218]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00443030
mov edi, eax
test edi, edi
je 0x437fe6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x437feb
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00478140
cmp eax, 1
je 0x438009
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x43808e
push ebp
push 0
push 1
call fcn.00401270
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x43802e
mov edi, dword [esi + 0xc]
jmp 0x438030
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x438048
test byte [edi + 0x15], 8
je 0x438043
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x43804d
mov eax, 0x4afab0
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x43805a
mov edi, dword [esi + 0xc]
jmp 0x43805c
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x438074
test byte [edi + 0x15], 8
je 0x43806f
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x438079
mov eax, 0x4afab0
cmp dword [eax], 0
jne 0x4380ca
push 0
push 1
mov ecx, esi
call fcn.00401270
mov byte [eax], 0
jmp 0x4380ca
push 0
push 1
call fcn.00401270
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x4380a5
mov edi, dword [esi + 0xc]
jmp 0x4380a7
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4380bf
test byte [edi + 0x15], 8
je 0x4380ba
mov eax, edi
call fcn.004011b0
lea eax, [edi + 0xc]
jmp 0x4380c4
mov eax, 0x4afab0
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x4380d3
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4380f5
cmp dword [0x4af904], 0
je 0x4380f5
push 1
mov ecx, 0x4af8f8
call fcn.00404930
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x438e80
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.00494780
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov esi, dword [0x4ae218]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x438f34
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00478140
test eax, eax
jne 0x438ed2
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401270
push eax
push ebx
call ebp
test eax, eax
jne 0x438ef3
push eax
push 1
mov ecx, esi
call fcn.00401270
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438efc
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438f21
cmp dword [0x4af904], 0
je 0x438f21
push 1
mov ecx, 0x4af8f8
call fcn.00404930
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x8000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x438f41
mov eax, 0x49b8ad
push 1
push 0
push edi
push eax
push esi
call fcn.00478140
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
Function at 0x43b220
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
mov eax, dword [0x4af888]
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
jne 0x43b271
lea ecx, [esp + 0xc]
push ecx
call fcn.0043b750
add esp, 4
test eax, eax
je 0x43b265
lea edx, [esp + 0xc]
push edx
call ebp
push esi
call edi
cmp eax, 0xffffffff
jne 0x43b271
xor al, al
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x49b8ad
push 0x4af278
mov edx, esi
call fcn.00430a60
test eax, eax
mov eax, dword [0x4ababc]
setne bl
test eax, eax
je 0x43b2a4
mov eax, dword [eax]
test eax, eax
jne 0x43b2a9
mov eax, 0x49b8ad
push eax
call ebp
pop edi
pop ebp
mov al, bl
pop ebx
add esp, 0x108
ret

Function at 0x43b750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
xor ebx, ebx
xor edi, edi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
or ecx, 1
push ecx
push ebx
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x43b788
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x43b803
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push str.InstallDir
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x43b780
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x43b780
dec eax
mov dword [esp + 0x10], eax
cmp byte [esp + eax + 0x18], bl
jne 0x43b7e7
cmp eax, ebx
je 0x43b803
lea ecx, [esp + 0x18]
cmp byte [ecx + eax - 1], bl
jne 0x43b7e1
dec eax
jne 0x43b7d8
mov dword [esp + 0x10], eax
jmp 0x43b7ff
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43b7fb
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x43b803
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jne 0x43b811
cmp edi, ebx
jne 0x43b811
mov edi, 0x100
jmp 0x43b764
mov esi, dword [esp + 0x120]
cmp esi, ebx
je 0x43b82e
lea ecx, [esp + 0x18]
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x43b824
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x43ed80
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x11c
push ebx
push ebp
mov ebp, dword [0x4ae218]
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.00413db0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
jne 0x43ee1c
push 0
lea ebx, [esp + 0x18]
mov eax, esi
call fcn.0044fac0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ede0
push 1
push eax
push 0xffffffffffffffff
push 0x49b8ad
push ebp
call fcn.00478140
pop edi
pop ebp
pop ebx
add esp, 0x11c
ret 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
push 0
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
call fcn.0044fd60
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov ebx, ebp
call fcn.00477a90
pop edi
pop ebp
pop ebx
add esp, 0x11c
ret 4
mov edx, dword [esp + 0x12c]
movzx ebx, byte [edx]
test ebx, 0xffffff80
jne 0x43ee40
push 2
push ebx
call fcn.004896ce
add esp, 8
test eax, eax
je 0x43ee40
and bl, 0xdf
cmp bl, 0x50
je 0x43ee53
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43ee58
mov eax, 1
mov bl, byte [esp + 0x13]
push eax
call fcn.0044fcb0
add esp, 4
test al, al
mov eax, 0x4a101c
jne 0x43ee73
mov eax, 0x4a1020
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00478140
pop edi
pop ebp
pop ebx
add esp, 0x11c
ret 4

Function at 0x43ee90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
mov esi, ecx
mov ecx, dword [0x4ae218]
push edi
call fcn.00414e20
test esi, esi
je 0x43ef73
cmp byte [esi], 0
je 0x43ef73
push 0x103
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0048ae50
lea eax, [esp + 0x2c]
add esp, 0xc
mov byte [esp + 0x123], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43eee0
sub eax, edx
cmp byte [esp + eax + 0x1f], 0x5c
je 0x43ef05
lea ecx, [eax + 1]
cmp ecx, 0x104
jae 0x43ef73
mov byte [esp + eax + 0x20], 0x5c
mov byte [esp + eax + 0x21], 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x43ef73
cmp byte [ebp + 0xc], 0
je 0x43ef33
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x43ef3b
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push eax
call fcn.00478140
mov eax, dword [0x4ae218]
shrd edi, esi, 0x14
push 0x18
shr esi, 0x14
push esi
push edi
call fcn.00401130
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4aa988]
test byte [ecx + 0xe0], 1
jne 0x43efa1
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf10
push edx
call fcn.00478140
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x49b8ad
push 0
push 0x49cf10
call fcn.0042f740
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x440d10
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x108
push esi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x440d3f
mov cl, 0x3a
cmp byte [esi + 1], cl
jne 0x440d3f
cmp byte [esi + 2], 0
jne 0x440d3f
mov byte [esp + 4], al
mov byte [esp + 5], cl
mov word [esp + 6], 0x5c
lea esi, [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x440d5f
cmp byte [0x4af894], al
je 0x440da4
call fcn.00409df0
pop esi
add esp, 0x108
ret
cmp byte [0x4af894], 0
je 0x440da4
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x440d82
lea esi, [esp + 8]
jmp 0x440d86
test esi, esi
je 0x440d8d
mov eax, esi
call fcn.00450440
mov ecx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push ecx
call fcn.00478140
pop esi
add esp, 0x108
ret
Function at 0x441390
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4413ba
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
shr eax, 4
pop edi
and eax, 1
pop esi
ret
push 0x5c
push edi
call fcn.0048a513
mov esi, eax
add esp, 8
cmp esi, edi
jbe 0x4413e7
cmp byte [esi - 1], 0x3a
je 0x4413e7
push edi
mov byte [esi], 0
call fcn.00441390
add esp, 4
mov byte [esi], 0x5c
test al, al
jne 0x4413e7
pop edi
pop esi
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x441406
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x441406
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x442020
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
xor edi, edi
cmp ebp, edi
je 0x442070
push edi
push 1
mov ecx, ebp
call fcn.00401270
cmp byte [ebp + 0x17], 0
mov dword [esp + 0x24], eax
jne 0x44204a
mov esi, dword [ebp + 0xc]
jmp 0x44204c
mov esi, ebp
cmp byte [esi + 0x17], 1
jne 0x442067
test byte [esi + 0x15], 8
je 0x44205f
mov eax, esi
call fcn.004011b0
mov ebx, dword [esi + 0xc]
add esi, 0xc
jmp 0x44209e
mov esi, 0x4afab0
mov ebx, dword [esi]
jmp 0x44209e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.00477bd0
add esp, 0xc
test eax, eax
jne 0x44209a
mov edx, dword [0x4aa988]
mov dword [edx + 0x30], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4420e6
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edi
test eax, eax
je 0x4420db
push 0
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
cmp dword [esp + 0x20], ebx
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa988]
mov dword [ecx + 0x30], eax
cmp esi, 0xffffffff
je 0x442101
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x442112
mov edx, dword [esp + 0x24]
push edx
call fcn.00488458
add esp, 4
mov edx, dword [esp + 0x1c]
test edi, edi
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042f7e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x442210
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x108
push ebp
push esi
mov esi, eax
xor eax, eax
cmp byte [esp + 0x114], al
push 0
setne al
push 0
inc eax
push eax
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x442250
pop esi
xor al, al
pop ebp
add esp, 0x108
ret 4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442255
sub eax, edx
cmp eax, 0x104
jb 0x44226a
mov eax, 0x103
push ebx
inc eax
push eax
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00490660
lea eax, [esp + 0x1c]
push eax
call fcn.0048a854
add esp, 0x10
push 0xa
lea ecx, [esp + 0x14]
push ecx
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4422d6
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4422d6
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4422d5
push 0
lea edx, [esp + 0x14]
push edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
pop ebp
add esp, 0x108
ret 4
Function at 0x442340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [0x4ae218]
sub esp, 0x80
push esi
mov esi, eax
call fcn.00414e20
test esi, esi
je 0x4423f5
cmp byte [esi], 0
je 0x4423f5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4423ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa988]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x442429
mov eax, dword [0x4aeae0]
push 1
push 0
push esi
push 0x49cf10
push eax
call fcn.00478140
pop esi
add esp, 0x80
ret
mov edx, dword [0x4aeae0]
mov ecx, dword [0x4aa988]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push edx
mov dword [ecx + 0x30], 0
call fcn.00478140
mov edx, esi
lea eax, [esp + 4]
call fcn.00475f20
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4ae218]
push eax
call fcn.00478140
pop esi
add esp, 0x80
ret
mov eax, dword [0x4aa988]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x442429
mov ecx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf10
push ecx
call fcn.00478140
pop esi
add esp, 0x80
ret
push 0x49b8ad
push 0
push 0x49cf10
mov ecx, edi
call fcn.0042f740
pop esi
add esp, 0x80
ret
Function at 0x442d90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4ae218]
sub esp, 0x148
push ebx
push esi
call fcn.00414e20
test edi, edi
je 0x442efe
cmp byte [edi], 0
je 0x442efe
push 0
push 0
push 3
push 0
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x442df0
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x442e5b
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x442e3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa988]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x442f32
mov edx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf10
push edx
call fcn.00478140
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
or ecx, dword [esp + 0x30]
xor esi, esi
or eax, esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
jmp 0x442e63
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [ebp + 0xc]
movzx esi, byte [edx]
test esi, 0xffffff80
jne 0x442e8b
push 2
push esi
call fcn.004896ce
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
je 0x442e8b
and esi, 0xffffffdf
mov edx, esi
movsx edx, dl
sub edx, 0x4b
je 0x442ea2
sub edx, 2
jne 0x442eb8
push edx
push 0x100000
jmp 0x442ea9
push 0
push 0x400
push eax
push ecx
call fcn.00496b00
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, dword [0x4aeae0]
mov eax, dword [0x4aa988]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c8
push ecx
mov dword [eax + 0x30], 0
call fcn.00478140
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x18
push edx
push eax
mov eax, dword [0x4ae218]
call fcn.00401130
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4aa988]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x442f32
mov ecx, dword [0x4aeae0]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf10
push ecx
call fcn.00478140
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x49b8ad
push 0
push 0x49cf10
call fcn.0042f740
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44fcb0
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x44fcb7
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x44fcdf
dec eax
je 0x44fcd1
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
ret
lea edx, [ebx - 1]
cmp dl, 5
ja 0x44fcec
cmp bl, 3
jne 0x44fcf3
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x44fd19
cmp dword [0x4ae40c], 0
je 0x44fd09
movzx ecx, bl
mov al, byte [ecx + 0x4ae300]
shr al, 7
ret
movzx edx, bl
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
cmp dword [0x4ae408], 0
je 0x44fd48
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.004136b0
test al, al
je 0x44fd3b
push 1
call fcn.00413480
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4ae300]
shr al, 7
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
Function at 0x450290
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
push esi
push 0
mov edi, eax
push 0x410
mov byte [edi], 0
call ebx
mov ebp, eax
test ebp, ebp
jne 0x4502d1
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x4502d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
cmp byte [esp + 0x11c], 0
push 0x104
push edi
push 0
push ebp
je 0x4502ec
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
jmp 0x4502f2
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test byte [0x4b0378], 1
mov ebx, eax
jne 0x450322
or dword [0x4b0378], 1
push str.GetProcessImageFileNameA
push str.psapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b0374], eax
jmp 0x450327
mov eax, dword [0x4b0374]
test ebx, ebx
jne 0x450424
test eax, eax
je 0x450424
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x450424
cmp byte [esp + 0x11c], 0
je 0x450399
push 0x5c
push edi
call fcn.0048a513
add esp, 8
test eax, eax
je 0x450424
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x450370
sub ecx, esi
push ecx
inc eax
push eax
push edi
call fcn.00488d70
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov word [esp + 0x11], 0x3a
mov byte [esp + 0x10], 0x41
push 0x104
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, eax
cmp esi, 2
jbe 0x4503dd
sub esi, 2
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.0048a44f
add esp, 0xc
test eax, eax
jne 0x4503dd
cmp byte [esi + edi], 0x5c
je 0x4503ff
mov al, byte [esp + 0x10]
inc al
mov byte [esp + 0x10], al
cmp al, 0x5a
jle 0x4503a5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
sub ebx, esi
lea edx, [ebx + 1]
push edx
add esi, edi
mov byte [edi], al
mov byte [edi + 1], cl
push esi
add edi, 2
push edi
call fcn.00488d70
add esp, 0xc
add ebx, 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret