joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f8f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
mov eax, 0x4db740
call fcn.004c9c18
lea edx, [ebp - 0x34]
push edx
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
je 0x40f96c
mov word [ebp - 0x20], 8
mov edx, 0x4d73d5
lea eax, [ebp - 4]
call fcn.004d443c
inc dword [ebp - 0x14]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x14
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40fa1f
lea ecx, [ebp - 0x13c]
push ecx
push dword [ebp - 0x34]
call sub.shell32.dll_SHGetPathFromIDList
test eax, eax
jne 0x40f9d0
mov word [ebp - 0x20], 0x20
mov edx, 0x4d73d7
lea eax, [ebp - 8]
call fcn.004d443c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x2c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40fa1f
mov word [ebp - 0x20], 0x38
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0xc]
call fcn.004d443c
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004d45cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x44
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d459c
pop eax
mov word [ebp - 0x20], 0x38
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x41145c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov byte [ebp - 8], dl
test dl, dl
jle 0x41146e
call fcn.004d4bbc
mov byte [ebp - 0x2a], cl
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x4dc8f4
call fcn.004c9c18
mov dword [ebp - 0xc], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004d4474
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
mov cl, byte [ebp - 0x2a]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004387f0
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
add edx, 0x30
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ecx], eax
inc dword [ebp - 0xc]
lea edx, [ebp + 8]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004d45cc
dec dword [ebp - 0xc]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004d459c
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x4114fc
call fcn.004d4bc9
mov esp, ebp
pop ebp
ret 4
Function at 0x418330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, 0x4df0c8
call fcn.004c9c18
mov word [ebp - 0x30], 0x14
mov edx, 0x4deceb
lea eax, [ebp - 4]
call fcn.004d443c
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 8
mov word [ebp - 0x30], 0x20
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x24]
mov eax, dword [0x4e76c8]
mov eax, dword [eax]
call fcn.0048a544
lea eax, [ebp - 8]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x24]
call fcn.0043e9b8
lea eax, [ebp - 0xc]
push eax
mov edx, 0x4decec
lea eax, [ebp - 0x10]
call fcn.004d443c
inc dword [ebp - 0x24]
lea edx, [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x24]
pop eax
call fcn.004d45f4
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004d45cc
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d459c
mov eax, dword [ebp - 4]
call fcn.0043e73c
test al, al
jne 0x418468
push 0x30
mov word [ebp - 0x30], 0x2c
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x24]
mov eax, dword [0x4e76c8]
mov eax, dword [eax]
call fcn.00489a94
cmp dword [ebp - 0x18], 0
je 0x41843d
mov edx, dword [ebp - 0x18]
jmp 0x418442
mov edx, 0x4ded2f
push edx
push 0x4decf5
mov eax, dword [ebp - 0x44]
call fcn.0049beec
push eax
call sub.user32.dll_MessageBoxA
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004d459c
jmp 0x4184c6
mov word [ebp - 0x30], 0x38
mov edx, str.::_settings.html
lea eax, [ebp - 0x1c]
call fcn.004d443c
inc dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004d45e0
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004d459c
push 1
push 0
cmp dword [ebp - 4], 0
je 0x4184a8
mov ecx, dword [ebp - 4]
jmp 0x4184ad
mov ecx, 0x4ded4d
push ecx
push 0x4ded46
push 0x4ded41
mov eax, dword [ebp - 0x44]
call fcn.0049beec
push eax
call sub.shell32.dll_ShellExecuteA
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4190b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, 0x4df8d4
call fcn.004c9c18
mov word [ebp - 0x30], 0x14
mov edx, 0x4df640
lea eax, [ebp - 4]
call fcn.004d443c
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 8
mov word [ebp - 0x30], 0x20
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x24]
mov eax, dword [0x4e76c8]
mov eax, dword [eax]
call fcn.0048a544
lea eax, [ebp - 8]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x24]
call fcn.0043e9b8
lea eax, [ebp - 0xc]
push eax
mov edx, 0x4df641
lea eax, [ebp - 0x10]
call fcn.004d443c
inc dword [ebp - 0x24]
lea edx, [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x24]
pop eax
call fcn.004d45f4
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004d45cc
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d459c
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d459c
mov eax, dword [ebp - 4]
call fcn.0043e73c
test al, al
jne 0x4191f0
push 0x30
mov word [ebp - 0x30], 0x2c
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x24]
mov eax, dword [0x4e76c8]
mov eax, dword [eax]
call fcn.00489a94
cmp dword [ebp - 0x18], 0
je 0x4191c5
mov edx, dword [ebp - 0x18]
jmp 0x4191ca
mov edx, 0x4df684
push edx
push 0x4df64a
mov eax, dword [ebp - 0x44]
call fcn.0049beec
push eax
call sub.user32.dll_MessageBoxA
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004d459c
jmp 0x41924e
mov word [ebp - 0x30], 0x38
mov edx, 0x4df685
lea eax, [ebp - 0x1c]
call fcn.004d443c
inc dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004d45e0
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004d459c
push 1
push 0
cmp dword [ebp - 4], 0
je 0x419230
mov ecx, dword [ebp - 4]
jmp 0x419235
mov ecx, 0x4df6a2
push ecx
push 0x4df69b
push 0x4df696
mov eax, dword [ebp - 0x44]
call fcn.0049beec
push eax
call sub.shell32.dll_ShellExecuteA
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d459c
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x438b2c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004389b0
dec esi
jne 0x438b4e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43a298
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e7c74
cmp dword [edi], 0
jne 0x43a314
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e7c70]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e2840
mov ecx, 2
call fcn.0044f6c4
mov edx, 0x43a270
lea eax, [esi + 5]
call fcn.0043a290
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a290
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43a2e9
mov dword [0x4e7c70], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43b6dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0043b41c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004519d0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43b73a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e74b4]
mov dl, 1
mov eax, dword [0x43b340]
call fcn.00441d84
call fcn.00450f9c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004519d0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43e765
test al, 0x10
jne 0x43e769
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x43e770
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004519d0
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x43e792
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4414e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x441519
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00451610
jmp 0x441522
mov eax, ebx
mov edx, esi
call fcn.00451574
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44152c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x44154d
mov al, byte [esp]
jmp 0x44154f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x442a24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x442a88
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00451788
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0043e39c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442a8f
lea eax, [ebp - 0xc]
call fcn.00451520
ret

Function at 0x44f7f0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00451520
test esi, esi
jne 0x44f826
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00451610
jmp 0x44f844
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0044f704
mov edi, eax
test esi, esi
je 0x44f844
cmp dword [ebx], 0
je 0x44f844
dec esi
jmp 0x44f82d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x450640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e2d80]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4506d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4506b8
xor eax, eax
push ebp
push 0x4506b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4506f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4506b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e2d80]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e2d80], ax
mov esp, ebp
pop ebp
ret

Function at 0x451300
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e7ff4], 0
je 0x451361
cmp word [0x4e81c8], 0xd7b2
jne 0x451329
cmp dword [0x4e81d0], 0
jbe 0x451329
mov eax, 0x4e81c4
call dword [0x4e81e0]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x451388
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e2d90], 0
jne 0x45137d
push 0
push 0x4e2e08
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4514d4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0044f454
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e7ff5], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x45149c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x452e8c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push RegCreateKeyExA
push 0
push 0x4530bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x452f0f
lea eax, [ebp - 8]
push eax
push RegCreateKeyExA
push 0
push 0x4530bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x452f0f
lea eax, [ebp - 8]
push eax
push RegCreateKeyExA
push 0
push 0x4530d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x452f98
xor eax, eax
push ebp
push 0x452f91
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00452cd4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x452f76
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4530f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x452f76
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f98
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyn
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4530b2
cmp byte [ebp - 0xd], 0
jne 0x452fdf
cmp byte [ebp - 0x12], 0
je 0x4530b2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x452ff8
dec ebx
cmp byte [ebx], 0x2e
je 0x453007
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x452ff7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4530b2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x453044
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4530b2
cmp byte [ebp - 0xd], 0
je 0x4530b2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4530b2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453830
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4e8568], 1
jae 0x4538b6
mov byte [0x4e2d7c], 2
mov dword [0x4e7fb8], 0x4d4dfa
mov dword [0x4e7fbc], 0x4d4e12
mov byte [0x4e7ff6], 2
mov dword [0x4e7fa4], 0x4524bc
call fcn.00450610
test al, al
je 0x453873
call fcn.00450640
call fcn.00450704
mov word [0x4e7ffc], 0xd7b0
mov word [0x4e81c8], 0xd7b0
mov word [0x4e8394], 0xd7b0
call fcn.0045239c
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4e7fe8], eax
call fcn.0044e0f0
mov dword [0x4e7fe4], eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x4e7fdc], eax
ret

Function at 0x4542cc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x454218
call sub.user32.dll_EnumWindows
ret

Function at 0x4543f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45446d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00453e3c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x454415
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00453a94
cmp dword [ebp - 4], 0
je 0x454457
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004519d0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454474
lea eax, [ebp - 4]
call fcn.00451520
ret
Function at 0x462aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x462c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0049af1c
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x462c45
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x462b03
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00451520
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x462bd4
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x4e76a8]
and eax, 0xff
bt dword [edx], eax
jae 0x462b96
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0049beec
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x462c14
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00451700
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00451700
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00451898
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x462c14
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00451700
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004517e0
jmp 0x462c14
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004517d8
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00451a70
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004517d8
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00442530
cmp al, 2
je 0x462bb4
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004517d8
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00451a70
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004517d8
test eax, eax
jle 0x462c2e
push ebp
call fcn.004629b8
pop ecx
jmp 0x462c45
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004509cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c67
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00451544
ret

Function at 0x464ffc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00451520
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46504b
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00451788
pop ebx
mov esp, ebp
pop ebp
ret