joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4340a0
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.0042eb50
mov ebx, eax
test ebx, ebx
jne 0x4340d3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042cb30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4340df
jmp dword [eax*4 + 0x4342d8]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4340f9
push eax
call fcn.00450960
add esp, 4
jmp 0x4340ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4a6474]
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.00450960
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x434177
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434177
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 [0x4a6474]
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 [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
push ecx
call fcn.00471040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx edx, byte [edi]
push edx
call fcn.00483633
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4341b2.67
movzx eax, byte [eax + 0x434308]
jmp dword [eax*4 + 0x4342ec]
mov esi, 0x40
jmp 0x4341e1
mov esi, 0x4000
jmp 0x4341e1
mov esi, 0x20
jmp 0x4341e1
mov esi, 0x8000
jmp 0x4341e1
mov esi, 0x80
jmp 0x4341e1
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4341f4
push eax
call fcn.00450960
add esp, 4
jmp 0x4341fa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x434177
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434177
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43414b
mov edx, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
push edx
call fcn.00471040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x434273
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.004124f0
fmul qword [0x49c628]
call fcn.0048f780
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x434280
mov byte [esp + 0x13], 1
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00450960
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43429d
test esi, esi
jne 0x43415a
jmp 0x4342a1
test esi, esi
je case.0x4341b2.67
cmp byte [esp + 0x13], 0
jne 0x4342bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43415a
push 1
push 0x64
call fcn.00401280
add esp, 8
jmp 0x434280
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434b70
Capabilities:
Get graphical window text
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4a5c10]
push eax
mov eax, dword [esp + 0x18]
call fcn.00440c60
mov ebp, eax
test ebp, ebp
je 0x434b96
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
jmp 0x434b9b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.00471040
cmp eax, 1
je 0x434bb9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x434cc2
cmp byte [edi + 0x17], 0
jne 0x434bcc
mov esi, dword [edi + 0xc]
jmp 0x434bce
mov esi, edi
test byte [esi + 0x15], 8
je 0x434bdb
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434bf4
test byte [esi + 0x15], 4
je 0x434bef
mov eax, esi
call fcn.0042d350
mov eax, dword [esi + 8]
jmp 0x434c04
cmp al, 2
jne 0x434bff
call fcn.00401000
jmp 0x434c04
mov eax, 0x4a757d
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x434c1a
mov esi, dword [edi + 0xc]
jmp 0x434c1c
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434c34
test byte [esi + 0x15], 8
je 0x434c2f
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434c39
mov eax, 0x4a8514
mov dword [eax], ebx
cmp byte [edi + 0x17], 0
jne 0x434c46
mov esi, dword [edi + 0xc]
jmp 0x434c48
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434c60
test byte [esi + 0x15], 8
je 0x434c5b
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434c65
mov eax, 0x4a8514
cmp dword [eax], 0
jne 0x434d38
cmp byte [edi + 0x17], 0
jne 0x434c79
mov esi, dword [edi + 0xc]
jmp 0x434c7b
mov esi, edi
test byte [esi + 0x15], 8
je 0x434c88
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434ca7
test byte [esi + 0x15], 4
je 0x434c9c
mov eax, esi
call fcn.0042d350
mov eax, dword [esi + 8]
mov byte [eax], 0
jmp 0x434d38
cmp al, 2
jne 0x434cb8
call fcn.00401000
mov byte [eax], 0
jmp 0x434d38
mov eax, 0x4a757d
mov byte [eax], 0
jmp 0x434d38
cmp byte [edi + 0x17], 0
jne 0x434ccd
mov esi, dword [edi + 0xc]
jmp 0x434ccf
mov esi, edi
test byte [esi + 0x15], 8
je 0x434cdc
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x434cf5
test byte [esi + 0x15], 4
je 0x434cf0
mov eax, esi
call fcn.0042d350
mov eax, dword [esi + 8]
jmp 0x434d05
cmp al, 2
jne 0x434d00
call fcn.00401000
jmp 0x434d05
mov eax, 0x4a757d
mov byte [eax], 0
cmp byte [edi + 0x17], 0
jne 0x434d13
mov esi, dword [edi + 0xc]
jmp 0x434d15
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x434d2d
test byte [esi + 0x15], 8
je 0x434d28
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x434d32
mov eax, 0x4a8514
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x434d41
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x434d66
cmp dword [0x4a7cd0], 0
je 0x434d66
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4a7cc4
jmp fcn.00403f00
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x435b90
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.0048d590
push 0x7fff
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [esp]
test eax, eax
jne 0x435bb7
mov ecx, 0x4947f9
mov edx, dword [0x4a5c10]
push 1
push 0
push eax
push ecx
push edx
call fcn.00471040
add esp, 0x8000
ret
Function at 0x4383a0
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 0x4383d8
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x438453
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 0x4383d0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4383d0
dec eax
mov dword [esp + 0x10], eax
cmp byte [esp + eax + 0x18], bl
jne 0x438437
cmp eax, ebx
je 0x438453
lea ecx, [esp + 0x18]
cmp byte [ecx + eax - 1], bl
jne 0x438431
dec eax
jne 0x438428
mov dword [esp + 0x10], eax
jmp 0x43844f
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43844b
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x438453
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jne 0x438461
cmp edi, ebx
jne 0x438461
mov edi, 0x100
jmp 0x4383b4
mov esi, dword [esp + 0x120]
cmp esi, ebx
je 0x43847e
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 0x438474
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x43b9d0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [0x4a5c10]
push esi
push edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [edi]
test cl, cl
je 0x43babe
cmp byte [edi + 1], 0
jne 0x43ba3a
mov byte [esp + 0x14], cl
cmp cl, 0xa
jne 0x43ba0a
mov al, 0xd
jmp 0x43baaf
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43ba2e
cmp cl, 0xff
jne 0x43ba2e
xor al, al
jmp 0x43baaf
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43baaf
movzx esi, cl
test esi, 0xffffff80
jne 0x43ba57
push 2
push esi
call fcn.0048246e
add esp, 8
test eax, eax
je 0x43ba57
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x43ba7b
mov al, byte [edi + 1]
call fcn.00408ee0
cmp al, 0x4b
jne 0x43ba7b
push 0x10
lea eax, [edi + 2]
push 0
push eax
call fcn.004828b4
add esp, 0xc
jmp 0x43baaf
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi*8 + 0x4a3158]
push edi
push eax
call fcn.00480f51
add esp, 8
test eax, eax
je 0x43baf1
inc esi
cmp esi, 0x6d
jl 0x43ba80
mov eax, edi
call fcn.00411630
movzx ecx, ax
test cx, cx
je 0x43babe
call fcn.00411d90
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
jne 0x43bb3b
push 0
lea ebx, [esp + 0x18]
mov eax, edi
call fcn.0044bc70
mov edi, eax
add esp, 4
test edi, edi
jne 0x43bafe
push 1
push eax
push 0xffffffffffffffff
push 0x4947f9
push ebp
call fcn.00471040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov cl, byte [esi*8 + 0x4a315c]
mov byte [esp + 0x13], cl
jmp 0x43bab3
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edx
call fcn.0044bf10
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov edi, ebp
call fcn.00470a40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov ecx, dword [esp + 0x12c]
movzx ebx, byte [ecx]
test ebx, 0xffffff80
jne 0x43bb5f
push 2
push ebx
call fcn.0048246e
add esp, 8
test eax, eax
je 0x43bb5f
and bl, 0xdf
cmp bl, 0x50
je 0x43bb72
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43bb77
mov eax, 1
mov bl, byte [esp + 0x13]
push eax
call fcn.0044be60
add esp, 4
test al, al
mov eax, 0x499928
jne 0x43bb92
mov eax, 0x49992c
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00471040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
Function at 0x43bbb0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push esi
mov esi, ecx
mov ecx, dword [0x4a5c10]
push edi
call fcn.00412530
test esi, esi
je 0x43bd26
cmp byte [esi], 0
je 0x43bd26
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00483d90
lea eax, [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0x134], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bc00
sub eax, edx
cmp byte [esp + eax + 0x2f], 0x5c
je 0x43bc29
lea ecx, [eax + 1]
cmp ecx, 0x105
jae 0x43bd26
mov byte [esp + eax + 0x30], 0x5c
mov byte [esp + eax + 0x31], 0
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x4a8f08], 1
jne 0x43bc5f
or dword [0x4a8f08], 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 [0x4a8f04], eax
jmp 0x43bc64
mov eax, dword [0x4a8f04]
test eax, eax
je 0x43bcb2
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 0x43bd26
cmp byte [ebp + 0xc], 0
je 0x43bc9f
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43bcf4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43bcf4
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 0x43bd26
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
jne 0x43bce3
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 [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
push ecx
call fcn.00471040
mov eax, dword [0x4a5c10]
push 0x18
push edi
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x4a2440]
cmp byte [edx + 0xe4], 0
jne 0x43bd53
mov eax, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x495ec8
push eax
call fcn.00471040
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x4947f9
push 0
push 0x495ec8
call fcn.0042c870
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43db10
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
call ebx
test eax, eax
jne 0x43db3d
cmp byte [0x4a82b8], al
je 0x43dbe4
call fcn.00408f90
pop ebx
add esp, 0x10c
ret
cmp byte [0x4a82b8], 0
push ebp
push esi
mov esi, 0x4a6478
jne 0x43db51
lea esi, [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0x104
call ebp
test eax, eax
je 0x43dbac
cmp byte [edi], 0
je 0x43dbc2
cmp byte [edi + 1], 0x3a
jne 0x43dbc2
cmp byte [edi + 2], 0
jne 0x43dbc2
push esi
push edi
call fcn.00480f51
add esp, 8
test eax, eax
je 0x43dbc2
push edi
lea eax, [esp + 0x10]
push 0x499b98
push eax
call fcn.00481488
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
je 0x43dbc2
push esi
push 0x104
call ebp
test eax, eax
jne 0x43dbc2
push 0x103
push edi
push esi
call fcn.00483d90
mov byte [esi + 0x103], 0
add esp, 0xc
cmp byte [0x4a82b8], 0
pop esi
pop ebp
je 0x43dbe4
mov edx, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
push edx
call fcn.00471040
pop ebx
add esp, 0x10c
ret
Function at 0x43e1e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x124]
mov ebp, ecx
test edi, edi
je 0x43e362
cmp byte [edi], 0
je 0x43e362
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43e23b
mov ecx, dword [0x4a2440]
shr eax, 4
not al
and al, 1
movzx edx, al
push edx
push ebp
mov dword [ecx + 0x30], 0xb7
call fcn.0042c960
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0x5c
push edi
call fcn.00482e3e
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x43e329
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e255
sub eax, edx
cmp eax, 0x104
jb 0x43e2a3
mov eax, dword [0x4a2440]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0xe4], cl
jne 0x43e29c
mov eax, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x495ec8
push eax
call fcn.00471040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov ecx, ebp
jmp 0x43e37b
mov esi, ebx
sub esi, edi
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00483d90
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + esi + 0x1c], 0
call fcn.0043e1e0
cmp byte [ebx + 1], 0
je 0x43e317
mov esi, dword [0x4a6474]
cmp byte [esi + 0x17], 0
jne 0x43e2dc
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43e2e9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43e302
test byte [esi + 0x15], 4
je 0x43e2fd
mov eax, esi
call fcn.0042d350
mov eax, dword [esi + 8]
jmp 0x43e312
cmp al, 2
jne 0x43e30d
call fcn.00401000
jmp 0x43e312
mov eax, 0x4a757d
cmp byte [eax], 0x31
jne 0x43e329
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
sete al
mov byte [esp + 0x14], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x4a2440]
push edx
push ebp
mov dword [ecx + 0x30], eax
call fcn.0042c960
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov eax, dword [0x4a2440]
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
je 0x43e279
push 0x4947f9
push 0
push 0x495ec8
call fcn.0042c870
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x43f990
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
mov ebx, edx
call fcn.0040c820
test al, al
je 0x43f9b8
push 0x10
push 0
push edi
call fcn.004828b4
add esp, 0xc
jmp 0x43f9c1
push edi
call fcn.004824b6
add esp, 4
cmp eax, 1
je 0x43fa26
call fcn.004505e0
test al, al
je 0x43fa26
mov eax, dword [0x4a2440]
cmp byte [eax + 0xe4], 0
jne 0x43fa01
mov ecx, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x495ec8
push ecx
call fcn.00471040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x124]
push 0x4947f9
push 0
push 0x495ec8
call fcn.0042c870
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x43fa74
mov edx, dword [0x4a2440]
cmp byte [edx + 0xe4], 0
jne 0x43fa01
push 1
push 0
push eax
mov eax, dword [0x4a6474]
push 0x495ec8
push eax
call fcn.00471040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43fa80
sub eax, edx
cmp eax, 0x104
jb 0x43fa95
mov eax, 0x103
inc eax
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.004896c0
lea edx, [esp + 0x24]
add esp, 0xc
push edx
call fcn.0048374c
add esp, 4
push 0xa
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x43fb01
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43fb01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43fb01
push 0
lea ecx, [esp + 0x18]
push ecx
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
jmp 0x43fb03
xor bl, bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x124]
test bl, bl
sete dl
movzx eax, dl
push eax
push ecx
call fcn.0042c960
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x43fb30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [0x4a5c10]
sub esp, 0x80
push esi
mov esi, eax
call fcn.00412530
test esi, esi
je 0x43fbe5
cmp byte [esi], 0
je 0x43fbe5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43fb9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a2440]
cmp byte [ecx + 0xe4], 0
mov dword [ecx + 0x30], eax
jne 0x43fc19
mov eax, dword [0x4a6474]
push 1
push 0
push esi
push 0x495ec8
push eax
call fcn.00471040
pop esi
add esp, 0x80
ret
mov edx, dword [0x4a6474]
mov ecx, dword [0x4a2440]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
push edx
mov dword [ecx + 0x30], 0
call fcn.00471040
mov edx, esi
lea eax, [esp + 4]
call fcn.0046f430
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4a5c10]
push eax
call fcn.00471040
pop esi
add esp, 0x80
ret
mov eax, dword [0x4a2440]
cmp byte [eax + 0xe4], 0
mov dword [eax + 0x30], 0x57
jne 0x43fc19
mov ecx, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x495ec8
push ecx
call fcn.00471040
pop esi
add esp, 0x80
ret
push 0x4947f9
push 0
push 0x495ec8
mov ecx, edi
call fcn.0042c870
pop esi
add esp, 0x80
ret
Function at 0x44be60
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x44be67
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x44be8f
dec eax
je 0x44be81
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 0x44be9c
cmp bl, 3
jne 0x44bea3
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x44bec9
cmp dword [0x4a5da4], 0
je 0x44beb9
movzx ecx, bl
mov al, byte [ecx + 0x4a5c90]
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 [0x4a5da0], 0
je 0x44bef8
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00411130
test al, al
je 0x44beeb
push 1
call fcn.00410f60
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4a5c90]
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 0x44c440
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 0x44c481
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44c481
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 0x44c49c
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
jmp 0x44c4a2
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test byte [0x4a8d9c], 1
mov ebx, eax
jne 0x44c4d2
or dword [0x4a8d9c], 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 [0x4a8d98], eax
jmp 0x44c4d7
mov eax, dword [0x4a8d98]
test ebx, ebx
jne 0x44c5d4
test eax, eax
je 0x44c5d4
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44c5d4
cmp byte [esp + 0x11c], 0
je 0x44c549
push 0x5c
push edi
call fcn.00482e3e
add esp, 8
test eax, eax
je 0x44c5d4
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44c520
sub ecx, esi
push ecx
inc eax
push eax
push edi
call fcn.00481b10
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 0x44c58d
sub esi, 2
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.0048307b
add esp, 0xc
test eax, eax
jne 0x44c58d
cmp byte [esi + edi], 0x5c
je 0x44c5af
mov al, byte [esp + 0x10]
inc al
mov byte [esp + 0x10], al
cmp al, 0x5a
jle 0x44c555
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.00481b10
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
Function at 0x44f7b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x12c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x44f864
cmp byte [eax], bl
je 0x44f864
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44f7e6
sub eax, edx
cmp eax, ebx
je 0x44f800
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x44f800
mov byte [eax], bl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44f807
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea edx, [esp + 4]
lea eax, [esp + 0x28]
mov ecx, 0x4054
push edx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
setne al
movzx ecx, al
push ecx
push esi
call fcn.0042c960
pop ebx
add esp, 0x12c
ret
mov edx, dword [0x4a2440]
cmp byte [edx + 0xe4], bl
jne 0x44f88f
mov eax, dword [0x4a6474]
push 1
push ebx
push 0xffffffffffffffff
push 0x495ec8
push eax
call fcn.00471040
pop ebx
add esp, 0x12c
ret
push 0x4947f9
push ebx
push 0x495ec8
mov ecx, esi
call fcn.0042c870
pop ebx
add esp, 0x12c
ret