joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437170
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.00431460
mov ebx, eax
test ebx, ebx
jne 0x4371a3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042f3b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4371af
jmp dword [eax*4 + 0x4373a8]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4371ca
push eax
call fcn.004549c0
add esp, 4
jmp 0x4371d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c46ec]
call fcn.004010e0
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.004549c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x437248
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x437248
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 [0x4c46ec]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push ecx
call fcn.00474e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.0048d41b
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x437286.67
movzx eax, byte [eax + 0x4373d8]
jmp dword [eax*4 + 0x4373bc]
mov esi, 0x40
jmp 0x4372b5
mov esi, 0x4000
jmp 0x4372b5
mov esi, 0x20
jmp 0x4372b5
mov esi, 0x8000
jmp 0x4372b5
mov esi, 0x80
jmp 0x4372b5
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4372c9
push eax
call fcn.004549c0
add esp, 4
jmp 0x4372cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x437248
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x437248
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43721c
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push edx
call fcn.00474e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x437349
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412ad0
fmul qword [0x4baf58]
call fcn.00499b70
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x437350
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.004549c0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43736d
test esi, esi
jne 0x43722b
jmp 0x437371
test esi, esi
je case.0x437286.67
cmp byte [esp + 0x13], 0
jne 0x43738f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43722b
push 1
push 0x64
call fcn.00401290
add esp, 8
jmp 0x437350
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437c60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4c3e88]
push eax
mov eax, dword [esp + 0x18]
call fcn.004443b0
mov ebp, eax
test ebp, ebp
je 0x437c86
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
jmp 0x437c8b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.00474e60
cmp eax, 1
je 0x437ca9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x437dbe
cmp byte [edi + 0x17], 0
jne 0x437cbc
mov esi, dword [edi + 0xc]
jmp 0x437cbe
mov esi, edi
test byte [esi + 0x15], 8
je 0x437ccb
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437ce4
test byte [esi + 0x15], 4
je 0x437cdf
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
jmp 0x437cf4
cmp al, 2
jne 0x437cef
call fcn.00401000
jmp 0x437cf4
mov eax, 0x4c5ff0
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x437d0a
mov esi, dword [edi + 0xc]
jmp 0x437d0c
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437d24
test byte [esi + 0x15], 8
je 0x437d1f
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437d29
mov eax, 0x4c6ecc
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x437d39
mov esi, dword [edi + 0xc]
jmp 0x437d3b
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437d53
test byte [esi + 0x15], 8
je 0x437d4e
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437d58
mov eax, 0x4c6ecc
test dword [eax], 0xfffffffe
jne 0x437e35
cmp byte [edi + 0x17], 0
jne 0x437d6f
mov esi, dword [edi + 0xc]
jmp 0x437d71
mov esi, edi
test byte [esi + 0x15], 8
je 0x437d7e
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437d9f
test byte [esi + 0x15], 4
je 0x437d92
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x437e35
cmp al, 2
jne 0x437db2
call fcn.00401000
xor ecx, ecx
mov word [eax], cx
jmp 0x437e35
mov eax, 0x4c5ff0
xor ecx, ecx
mov word [eax], cx
jmp 0x437e35
cmp byte [edi + 0x17], 0
jne 0x437dc9
mov esi, dword [edi + 0xc]
jmp 0x437dcb
mov esi, edi
test byte [esi + 0x15], 8
je 0x437dd8
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437df1
test byte [esi + 0x15], 4
je 0x437dec
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
jmp 0x437e01
cmp al, 2
jne 0x437dfc
call fcn.00401000
jmp 0x437e01
mov eax, 0x4c5ff0
xor edx, edx
mov word [eax], dx
cmp byte [edi + 0x17], dl
jne 0x437e10
mov esi, dword [edi + 0xc]
jmp 0x437e12
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437e2a
test byte [esi + 0x15], 8
je 0x437e25
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437e2f
mov eax, 0x4c6ecc
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x437e3e
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x437e5e
cmp dword [0x4c6b54], 0
je 0x437e5e
mov ecx, 0x4c6b48
call fcn.00403d90
pop edi
pop esi
pop ebp
pop ebx
ret 4
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x438c90
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.00496a40
push ebp
mov ebp, dword [0x4c3e88]
push esi
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp edi, 0x7fff
jb 0x438dba
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.00474e60
test eax, eax
jne 0x438ce0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
cmp byte [ebp + 0x17], 0
jne 0x438ceb
mov esi, dword [ebp + 0xc]
jmp 0x438ced
mov esi, ebp
test byte [esi + 0x15], 8
je 0x438cfa
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x438d13
test byte [esi + 0x15], 4
je 0x438d0e
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
jmp 0x438d23
cmp al, 2
jne 0x438d1e
call fcn.00401000
jmp 0x438d23
mov eax, 0x4c5ff0
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x438d77
cmp byte [ebp + 0x17], al
jne 0x438d3a
mov esi, dword [ebp + 0xc]
jmp 0x438d3c
mov esi, ebp
test byte [esi + 0x15], 8
je 0x438d49
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x438d62
test byte [esi + 0x15], 4
je 0x438d5d
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
jmp 0x438d72
cmp al, 2
jne 0x438d6d
call fcn.00401000
jmp 0x438d72
mov eax, 0x4c5ff0
xor edx, edx
mov word [eax], dx
cmp byte [ebp + 0x17], 0
jne 0x438d82
mov eax, dword [ebp + 0xc]
jmp 0x438d84
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x438da7
cmp dword [0x4c6b54], 0
je 0x438da7
mov ecx, 0x4c6b48
call fcn.00403d90
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [eax + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x438dc7
mov eax, 0x49e828
push 1
push 0
push edi
push eax
push ebp
call fcn.00474e60
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
Function at 0x43b600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push edi
xor edi, edi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
or ecx, 1
push ecx
push 0
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x43b640
xor edx, edx
mov word [esp + 0x18], dx
xor eax, eax
jmp 0x43b6a5
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.InstallDir
push edx
mov dword [esp + 0x28], 0x208
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43b6d3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43b6d3
shr eax, 1
dec eax
mov dword [esp + 0x10], eax
cmp word [esp + eax*2 + 0x18], si
jne 0x43b6b3
test eax, eax
je 0x43b6a5
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0
jne 0x43b69d
sub ecx, 2
dec eax
jne 0x43b691
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43b6dc
test edi, edi
jne 0x43b6dc
mov edi, 0x100
jmp 0x43b618
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43b6ca
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x43b6a5
xor edx, edx
mov word [esp + eax*2 + 0x18], dx
jmp 0x43b6a1
xor eax, eax
mov word [esp + 0x18], ax
jmp 0x43b6a5
mov esi, dword [esp + 0x224]
test esi, esi
je 0x43b6ff
lea ecx, [esp + 0x18]
mov edx, ecx
sub esi, edx
nop
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x43b6f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x43eee0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [0x4c3e88]
push esi
push edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [edi]
test cx, cx
je 0x43efc5
cmp word [edi + 2], 0
jne 0x43ef45
cmp ecx, 0xa
jne 0x43ef19
mov al, 0xd
jmp 0x43efbf
push eax
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43ef39
cmp cl, 0xff
jne 0x43ef39
xor al, al
jmp 0x43efbf
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43efbf
mov esi, ecx
test esi, 0xffffff80
jne 0x43ef61
push 2
push esi
call fcn.0048c65e
add esp, 8
test eax, eax
je 0x43ef61
and esi, 0xffffffdf
cmp si, 0x56
jne 0x43ef88
mov ax, word [edi + 2]
call fcn.00409110
cmp ax, 0x4b
jne 0x43ef88
push 0x10
lea ecx, [edi + 4]
push 0
push ecx
call fcn.0048ca3b
add esp, 0xc
jmp 0x43efbf
xor esi, esi
lea ebx, [ebx]
mov edx, dword [esi*8 + 0x4c11f8]
push edi
push edx
call fcn.0048b419
add esp, 8
test eax, eax
je 0x43eff8
inc esi
cmp esi, 0x6d
jl 0x43ef90
mov eax, edi
call fcn.00411be0
movzx ecx, ax
test cx, cx
je 0x43efc5
call fcn.00412360
mov bl, al
test bl, bl
jne 0x43f03e
push 0
lea ebx, [esp + 0x18]
mov eax, edi
call fcn.0044fa00
mov edi, eax
add esp, 4
test edi, edi
jne 0x43f001
push 1
push eax
push 0xffffffffffffffff
push 0x49e828
push ebp
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov bl, byte [esi*8 + 0x4c11fc]
jmp 0x43efc1
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.0044fcb0
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov edi, ebp
call fcn.00474850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov edx, dword [esp + 0x22c]
movzx esi, word [edx]
test esi, 0xffffff80
jne 0x43f062
push 2
push esi
call fcn.0048c65e
add esp, 8
test eax, eax
je 0x43f062
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x50
je 0x43f07a
xor ecx, ecx
cmp eax, 0x54
setne cl
lea eax, [ecx - 1]
and eax, 2
jmp 0x43f07f
mov eax, 1
push eax
call fcn.0044fc00
add esp, 4
test al, al
mov eax, 0x4a7c74
jne 0x43f096
mov eax, 0x4a7c78
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x43f0b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x238
push esi
mov esi, ecx
mov ecx, dword [0x4c3e88]
push edi
call fcn.00412b10
test esi, esi
je 0x43f231
cmp word [esi], 0
je 0x43f231
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0048dfc4
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x30]
mov word [esp + 0x238], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f101
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2e], 0x5c
je 0x43f138
lea edx, [eax + 1]
cmp edx, 0x105
jae 0x43f231
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 0x30], cx
mov word [esp + eax*2 + 0x32], dx
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x4c7798], 1
jne 0x43f16e
or dword [0x4c7798], 1
push str.GetDiskFreeSpaceExW
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c7794], eax
jmp 0x43f173
mov eax, dword [0x4c7794]
test eax, eax
je 0x43f1bf
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x43f231
test bl, bl
je 0x43f1ac
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43f1ff
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43f1ff
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43f231
mov eax, dword [esp + 0x14]
test bl, bl
jne 0x43f1ee
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 edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push edx
call fcn.00474e60
mov eax, dword [0x4c3e88]
push 0x18
push edi
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4c040c]
cmp byte [eax + 0x104], 0
jne 0x43f25e
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push ecx
call fcn.00474e60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x49e828
push 0
push 0x4a12dc
call fcn.0042f0f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4410f0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x218
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call ebp
test eax, eax
jne 0x44111d
cmp byte [0x4c6ae8], al
je 0x4411c9
call fcn.004091d0
pop ebp
add esp, 0x218
ret
cmp byte [0x4c6ae8], 0
push ebx
push esi
mov esi, 0x4c46f0
jne 0x441131
lea esi, [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push 0x104
call ebx
test eax, eax
je 0x44118f
cmp word [edi], 0
je 0x4411a7
cmp word [edi + 2], 0x3a
jne 0x4411a7
cmp word [edi + 4], 0
jne 0x4411a7
push esi
push edi
call fcn.0048b419
add esp, 8
test eax, eax
je 0x4411a7
push edi
lea ecx, [esp + 0x10]
push 0x4a8108
push ecx
call fcn.0048b823
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call ebp
test eax, eax
je 0x4411a7
push esi
push 0x104
call ebx
test eax, eax
jne 0x4411a7
push 0x103
push edi
push esi
call fcn.0048dfc4
add esp, 0xc
xor eax, eax
mov word [esi + 0x206], ax
cmp byte [0x4c6ae8], 0
pop esi
pop ebx
je 0x4411c9
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push ecx
call fcn.00474e60
pop ebp
add esp, 0x218
ret
Function at 0x441860
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
mov ebp, ecx
test edi, edi
je 0x441a08
cmp word [edi], 0
je 0x441a08
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4418bc
mov ecx, dword [0x4c040c]
shr eax, 4
not al
and al, 1
movzx edx, al
push edx
push ebp
mov dword [ecx + 0x30], 0xb7
call fcn.0042f1e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
push 0x5c
push edi
call fcn.0048ced4
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x4419cf
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4418d6
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x441943
mov eax, dword [0x4c040c]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0x104], cl
jne 0x441923
mov eax, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push eax
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov ecx, ebp
push 0x49e828
push 0
push 0x4a12dc
call fcn.0042f0f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov esi, ebx
sub esi, edi
sar esi, 1
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.0048dfc4
add esp, 0xc
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov ecx, ebp
mov word [esp + esi*2 + 0x1c], dx
call fcn.00441860
cmp word [ebx + 2], 0
je 0x4419bd
mov esi, dword [0x4c46ec]
cmp byte [esi + 0x17], 0
jne 0x441981
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x44198e
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4419a7
test byte [esi + 0x15], 4
je 0x4419a2
mov eax, esi
call fcn.0042fc10
mov eax, dword [esi + 8]
jmp 0x4419b7
cmp al, 2
jne 0x4419b2
call fcn.00401000
jmp 0x4419b7
mov eax, 0x4c5ff0
cmp word [eax], 0x31
jne 0x4419cf
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete cl
mov byte [esp + 0x14], cl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4c040c]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0042f1e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov eax, dword [0x4c040c]
cmp byte [eax + 0x104], 0
mov dword [eax + 0x30], 0x57
jne 0x441925
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push ecx
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x443030
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
mov ebx, edx
call fcn.0040ccb0
test al, al
je 0x443058
push 0x10
push 0
push edi
call fcn.0048ca3b
add esp, 0xc
jmp 0x443061
push edi
call fcn.0048c6a6
add esp, 4
cmp eax, 1
je 0x4430c6
call fcn.00454620
test al, al
je 0x4430c6
mov eax, dword [0x4c040c]
cmp byte [eax + 0x104], 0
jne 0x4430a1
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push ecx
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov ecx, dword [esp + 0x224]
push 0x49e828
push 0
push 0x4a12dc
call fcn.0042f0f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x443114
mov edx, dword [0x4c040c]
cmp byte [edx + 0x104], 0
jne 0x4430a1
push 1
push 0
push eax
mov eax, dword [0x4c46ec]
push 0x4a12dc
push eax
call fcn.00474e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443120
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x44313b
mov eax, 0x103
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.004935d0
lea eax, [esp + 0x24]
add esp, 0xc
push eax
call fcn.0048d5f1
add esp, 4
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4431aa
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4431aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4431aa
push 0
lea edx, [esp + 0x18]
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
jmp 0x4431ac
xor bl, bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x224]
test bl, bl
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042f1e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x4431e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [0x4c3e88]
sub esp, 0x100
push esi
mov esi, eax
call fcn.00412b10
test esi, esi
je 0x443296
cmp word [esi], 0
je 0x443296
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44324d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c040c]
cmp byte [ecx + 0x104], 0
mov dword [ecx + 0x30], eax
jne 0x4432ca
mov eax, dword [0x4c46ec]
push 1
push 0
push esi
push 0x4a12dc
push eax
call fcn.00474e60
pop esi
add esp, 0x100
ret
mov edx, dword [0x4c46ec]
mov ecx, dword [0x4c040c]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push edx
mov dword [ecx + 0x30], 0
call fcn.00474e60
mov edx, esi
lea eax, [esp + 4]
call fcn.00473250
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4c3e88]
push eax
call fcn.00474e60
pop esi
add esp, 0x100
ret
mov eax, dword [0x4c040c]
cmp byte [eax + 0x104], 0
mov dword [eax + 0x30], 0x57
jne 0x4432ca
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push ecx
call fcn.00474e60
pop esi
add esp, 0x100
ret
push 0x49e828
push 0
push 0x4a12dc
mov ecx, edi
call fcn.0042f0f0
pop esi
add esp, 0x100
ret
Function at 0x44fc00
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x44fc07
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x44fc2f
dec eax
je 0x44fc21
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 0x44fc3c
cmp bl, 3
jne 0x44fc43
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x44fc69
cmp dword [0x4c401c], 0
je 0x44fc59
movzx ecx, bl
mov al, byte [ecx + 0x4c3f08]
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 [0x4c4018], 0
je 0x44fc98
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00411630
test al, al
je 0x44fc8b
push 1
call fcn.00411460
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4c3f08]
shr al, 7
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret