joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d580
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.0048b400
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42d69f
test ebx, ebx
jne 0x42d5b8
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x364]
test ebx, ebx
je 0x42d5c2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42d5cf
mov ecx, dword [eax + 0x160]
movzx eax, word [eax + 0x164]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4a2c20]
push esi
push edi
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.0046c720
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42d61c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.0046c720
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42d64b
call fcn.0047f472
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004812cd
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 2
jne 0x42d69d
test ebx, ebx
jne 0x42d670
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x364]
test ebx, ebx
je 0x42d68f
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042ce90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42d9b0
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 ebp, ebp
cmp eax, ebp
je 0x42d9df
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42d9e7
mov byte [esp + 0xa0], 0
push 0x7f
lea edx, [esp + 0x25]
push ebp
push edx
mov byte [esp + 0x2c], 0
call fcn.00488100
mov esi, dword [0x4a5214]
add esp, 0xc
cmp esi, ebp
je 0x42da2e
cmp byte [esi + 0x11], 0
je 0x42da27
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
push 0x496898
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0046c760
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebp
jne 0x42da06
cmp byte [esp + 0x20], 0
je 0x42da7d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42da40
sub eax, edx
cmp eax, 0x7b
jbe 0x42da6e
mov esi, 0x7f
sub esi, eax
push esi
lea ebx, [esp + eax + 0x24]
push 0x4942b4
push ebx
call fcn.00481c00
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x42da7d
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42da7d
mov byte [eax - 1], 0
mov edx, dword [0x4a1800]
cmp byte [edx + 0xd4], 0
je 0x42da9d
cmp byte [0x4a5255], 0
mov dword [esp + 0x14], 1
je 0x42daa1
mov dword [esp + 0x14], ebp
mov eax, dword [0x4a2d9c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42dbac
mov dword [esp + 0x10], 0x4927f1
mov dword [esp + 0x18], ebp
cmp dword [0x4a2d64], ebp
mov ebp, 0x493a40
je 0x42dad5
mov ebp, 0x493a3c
cmp dword [0x4a2d60], 0
mov esi, 0x493a40
je 0x42dae8
mov esi, 0x493a3c
push 1
call fcn.00410db0
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00411140
mov ecx, dword [0x4a2d9c]
mov edx, dword [0x4a2da0]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4a2d98]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4a521c]
push ecx
mov ecx, dword [0x4a5220]
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.0046c720
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.00408c30
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42db70
sub eax, ecx
add edi, eax
cmp dword [0x4a3544], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42db8e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.0046c720
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 0x42dac3
Function at 0x4331b0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
mov ebx, dword [0x4a2bd0]
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046f180
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00440120
mov esi, eax
test esi, esi
je 0x433295
push 0
push esi
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
test edi, edi
je 0x43322c
cmp edi, dword [0x4a4c40]
je 0x43322c
call fcn.00470fb0
test al, al
jne 0x43322c
mov ecx, dword [0x4a4c40]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [esp + 0xf], 0
mov dword [esp + 0x1c], eax
je 0x433251
mov edx, dword [0x4a4c40]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x433295
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x433295
lea eax, [esp + 0x10]
push eax
push 0x433330
push esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [esp + 0x14], 0
jne 0x4332de
mov ecx, dword [0x49f440]
cmp byte [ecx + 0xe4], 0
jne 0x4332c1
mov edx, dword [0x4a3434]
push edx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x18]
push eax
push 0x492838
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.0046c760
mov ecx, dword [0x4a3434]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.0046f180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4333b0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push ebx
push esi
push edi
push eax
mov eax, dword [ebp + 0x14]
call fcn.00440120
mov edi, eax
test edi, edi
je 0x4333e2
mov esi, dword [ebp + 0xc]
push edi
call fcn.00470ac0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x43342b
mov ecx, dword [0x49f440]
cmp byte [ecx + 0xe4], 0
jne 0x43340e
mov edx, dword [0x4a3434]
push edx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test ebx, ebx
je 0x433468
cmp ebx, dword [0x4a4c40]
je 0x433468
mov esi, edi
call fcn.00470fb0
test al, al
jne 0x433468
mov eax, dword [0x4a4c40]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x4334a6
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
mov edx, dword [0x49f440]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x4334a6
push 1
push eax
call fcn.004012a0
add esp, 8
cmp byte [esp + 0x13], 0
je 0x4334bc
mov eax, dword [0x4a4c40]
push 0
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4342d0
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 edi, ecx
call fcn.0042eaf0
mov ebx, eax
test ebx, ebx
jne 0x434303
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042ce90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43430f
jmp dword [eax*4 + 0x4344ec]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x434329
push eax
call fcn.0044fbc0
add esp, 4
jmp 0x43432f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4a3434]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044fbc0
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x4343e1.67
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4343e1.67
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 [0x4a3434]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [edi]
push ecx
call fcn.004814a3
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4343e1.67
movzx edx, byte [eax + 0x43451c]
jmp dword [edx*4 + 0x434500]
mov esi, 0x40
jmp 0x434410
mov esi, 0x4000
jmp 0x434410
mov esi, 0x20
jmp 0x434410
mov esi, 0x8000
jmp 0x434410
mov esi, 0x80
jmp 0x434410
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x434423
push eax
call fcn.0044fbc0
add esp, 4
jmp 0x434429
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je case.0x4343e1.67
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4343e1.67
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43437b
cmp byte [edi], 0
je 0x434482
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412340
fmul qword [0x49a4f0]
call fcn.0048d5f0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x434490
mov byte [esp + 0x13], 1
xor edi, edi
lea esp, [esp]
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044fbc0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x4344ad
test esi, esi
jne 0x43438a
jmp 0x4344b5
test esi, esi
je case.0x4343e1.67
cmp byte [esp + 0x13], 0
jne 0x4344d3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43438a
push 1
push 0x64
call fcn.004012a0
add esp, 8
jmp 0x434490
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434d50
Capabilities:
Get graphical window text
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4a2bd0]
push eax
mov eax, dword [esp + 0x18]
call fcn.00440120
mov ebp, eax
test ebp, ebp
je 0x434d76
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
jmp 0x434d7b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
mov ecx, edi
call fcn.0046f180
cmp eax, 1
je 0x434d9a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x434ea3
cmp byte [edi + 0x17], 0
jne 0x434dad
mov esi, dword [edi + 0xc]
jmp 0x434daf
mov esi, edi
test byte [esi + 0x15], 8
je 0x434dbc
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434dd5
test byte [esi + 0x15], 4
je 0x434dd0
mov eax, esi
call fcn.0042d6b0
mov eax, dword [esi + 8]
jmp 0x434de5
cmp al, 2
jne 0x434de0
call fcn.00401000
jmp 0x434de5
mov eax, 0x4a453d
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x434dfb
mov esi, dword [edi + 0xc]
jmp 0x434dfd
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434e15
test byte [esi + 0x15], 8
je 0x434e10
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434e1a
mov eax, 0x4a54d0
mov dword [eax], ebx
cmp byte [edi + 0x17], 0
jne 0x434e27
mov esi, dword [edi + 0xc]
jmp 0x434e29
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434e41
test byte [esi + 0x15], 8
je 0x434e3c
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434e46
mov eax, 0x4a54d0
cmp dword [eax], 0
jne 0x434f19
cmp byte [edi + 0x17], 0
jne 0x434e5a
mov esi, dword [edi + 0xc]
jmp 0x434e5c
mov esi, edi
test byte [esi + 0x15], 8
je 0x434e69
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434e88
test byte [esi + 0x15], 4
je 0x434e7d
mov eax, esi
call fcn.0042d6b0
mov eax, dword [esi + 8]
mov byte [eax], 0
jmp 0x434f19
cmp al, 2
jne 0x434e99
call fcn.00401000
mov byte [eax], 0
jmp 0x434f19
mov eax, 0x4a453d
mov byte [eax], 0
jmp 0x434f19
cmp byte [edi + 0x17], 0
jne 0x434eae
mov esi, dword [edi + 0xc]
jmp 0x434eb0
mov esi, edi
test byte [esi + 0x15], 8
je 0x434ebd
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434ed6
test byte [esi + 0x15], 4
je 0x434ed1
mov eax, esi
call fcn.0042d6b0
mov eax, dword [esi + 8]
jmp 0x434ee6
cmp al, 2
jne 0x434ee1
call fcn.00401000
jmp 0x434ee6
mov eax, 0x4a453d
mov byte [eax], 0
cmp byte [edi + 0x17], 0
jne 0x434ef4
mov esi, dword [edi + 0xc]
jmp 0x434ef6
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434f0e
test byte [esi + 0x15], 8
je 0x434f09
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434f13
mov eax, 0x4a54d0
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x434f22
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x434f47
cmp dword [0x4a52c4], 0
je 0x434f47
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4a52b8
jmp fcn.00403ea0
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x438640
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 0x438678
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x4386f3
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 0x438670
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x438670
dec eax
mov dword [esp + 0x10], eax
cmp byte [esp + eax + 0x18], bl
jne 0x4386d7
cmp eax, ebx
je 0x4386f3
lea ecx, [esp + 0x18]
cmp byte [ecx + eax - 1], bl
jne 0x4386d1
dec eax
jne 0x4386c8
mov dword [esp + 0x10], eax
jmp 0x4386ef
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x4386eb
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x4386f3
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jne 0x438701
cmp edi, ebx
jne 0x438701
mov edi, 0x100
jmp 0x438654
mov esi, dword [esp + 0x120]
cmp esi, ebx
je 0x43871e
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 0x438714
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x43b9a0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x4a2bd0]
push ebx
push edi
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [esi]
test cl, cl
je 0x43ba90
cmp byte [esi + 1], 0
jne 0x43ba0f
mov byte [esp + 0x10], cl
cmp cl, 0xa
jne 0x43b9df
mov al, 0xd
jmp 0x43ba81
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43ba03
cmp cl, 0xff
jne 0x43ba03
xor al, al
jmp 0x43ba81
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43ba81
movzx edi, cl
test edi, 0xffffff80
jne 0x43ba2c
push 2
push edi
call fcn.004802de
add esp, 8
test eax, eax
je 0x43ba2c
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x56
jne 0x43ba50
mov al, byte [esi + 1]
call fcn.00408e80
cmp al, 0x4b
jne 0x43ba50
push 0x10
lea eax, [esi + 2]
push 0
push eax
call fcn.00480724
add esp, 0xc
jmp 0x43ba81
xor edi, edi
mov eax, dword [edi*8 + 0x4a01c8]
push esi
push eax
call fcn.0047edc1
add esp, 8
test eax, eax
je 0x43bac1
inc edi
cmp edi, 0x6d
jl 0x43ba52
mov eax, esi
call fcn.00411480
movzx ecx, ax
test cx, cx
je 0x43ba90
call fcn.00411be0
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x43bb08
push 0
lea ebx, [esp + 0x14]
mov eax, esi
call fcn.0044aef0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43bace
mov ecx, dword [esp + 0x14]
push 1
push eax
push 0xffffffffffffffff
push 0x4927f1
call fcn.0046f180
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov cl, byte [edi*8 + 0x4a01cc]
mov byte [esp + 0xf], cl
jmp 0x43ba85
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edx
call fcn.0044b190
fstp st(0)
mov edi, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x18]
call fcn.0046ebd0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
movzx ebx, byte [ecx]
test ebx, 0xffffff80
jne 0x43bb28
push 2
push ebx
call fcn.004802de
add esp, 8
test eax, eax
je 0x43bb28
and bl, 0xdf
cmp bl, 0x50
je 0x43bb3b
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43bb40
mov eax, 1
mov bl, byte [esp + 0xf]
push eax
call fcn.0044b0e0
add esp, 4
test al, al
mov eax, 0x4978a8
jne 0x43bb5b
mov eax, 0x4978ac
mov ecx, dword [esp + 0x14]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0046f180
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43bb80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a2bd0]
sub esp, 0x130
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0
mov esi, eax
call fcn.0046f180
test esi, esi
je 0x43bcfb
cmp byte [esi], 0
je 0x43bcfb
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00481c00
lea eax, [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0x134], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bbd6
sub eax, edx
cmp byte [esp + eax + 0x2f], 0x5c
je 0x43bbff
lea ecx, [eax + 1]
cmp ecx, 0x105
jae 0x43bcfb
mov byte [esp + eax + 0x30], 0x5c
mov byte [esp + eax + 0x31], 0
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x4a5ecc], 1
jne 0x43bc35
or dword [0x4a5ecc], 1
push str.GetDiskFreeSpaceExA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a5ec8], eax
jmp 0x43bc3a
mov eax, dword [0x4a5ec8]
test eax, eax
je 0x43bc88
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push ecx
call eax
test eax, eax
je 0x43bcfb
cmp byte [ebp + 0xc], 0
je 0x43bc75
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43bcca
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43bcca
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x43bcfb
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
jne 0x43bcb9
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 8]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
mov eax, dword [0x4a2bd0]
push 0x18
push edi
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x49f440]
cmp byte [ecx + 0xe4], 0
jne 0x43bd26
mov edx, dword [0x4a3434]
push edx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43cf90
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x43cfc0
cmp byte [0x4a5254], al
je 0x43d066
call fcn.00408f30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4a5254], 0
mov esi, 0x4a3438
jne 0x43cfd2
lea esi, [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0x104
call ebx
test eax, eax
je 0x43d031
cmp byte [edi], 0
je 0x43d047
cmp byte [edi + 1], 0x3a
jne 0x43d047
cmp byte [edi + 2], 0
jne 0x43d047
push esi
push edi
call fcn.0047edc1
add esp, 8
test eax, eax
je 0x43d047
push edi
lea eax, [esp + 0xc]
push 0x497b18
push eax
call fcn.0047f2f8
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x43d047
push esi
push 0x104
call ebx
test eax, eax
jne 0x43d047
push 0x103
push edi
push esi
call fcn.00481c00
mov byte [esi + 0x103], 0
add esp, 0xc
cmp byte [0x4a5254], 0
je 0x43d066
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d640
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
mov ebp, ecx
test edi, edi
je 0x43d7c2
cmp byte [edi], 0
je 0x43d7c2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43d693
shr eax, 4
not al
and al, 1
movzx eax, al
push 0xb7
push eax
push ebp
call fcn.0042ce20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
push 0x5c
push edi
call fcn.00480cae
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x43d79b
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d6b0
sub eax, edx
cmp eax, 0x104
jb 0x43d715
mov eax, dword [0x49f440]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0xe4], cl
jne 0x43d6f5
mov ecx, dword [0x4a3434]
push ecx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
mov ecx, ebp
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
mov esi, ebx
sub esi, edi
push esi
lea edx, [esp + 0x14]
push edi
push edx
call fcn.00481c00
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov byte [esp + esi + 0x14], 0
call fcn.0043d640
cmp byte [ebx + 1], 0
je 0x43d789
mov esi, dword [0x4a3434]
cmp byte [esi + 0x17], 0
jne 0x43d74e
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43d75b
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43d774
test byte [esi + 0x15], 4
je 0x43d76f
mov eax, esi
call fcn.0042d6b0
mov eax, dword [esi + 8]
jmp 0x43d784
cmp al, 2
jne 0x43d77f
call fcn.00401000
jmp 0x43d784
mov eax, 0x4a453d
cmp byte [eax], 0x31
jne 0x43d79b
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
push 0xffffffffffffffff
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
sete cl
movzx edx, cl
push edx
push ebp
call fcn.0042ce20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
mov eax, dword [0x49f440]
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x43d6f7
mov eax, dword [0x4a3434]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
mov dword [esp + 4], eax
or eax, 0xffffffff
mov ecx, 0x493f18
jmp fcn.004011f0