joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14d00
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x16128
push 0x15590
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [0x17284]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0x1f4
mov dword [ebp - 0x20], 0x1f4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xc0000004
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0xc0000004
jne 0x14dd3
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [0x17510]
push edx
push sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0x15ca0
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x18
mov eax, dword [ebp - 0x20]
add eax, 0xc8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x2c], eax
jmp 0x14d67
cmp dword [ebp - 0x2c], 0
je 0x14e90
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x14e6c
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 1
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x38
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
movzx edx, al
test edx, edx
je 0x14e46
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x44]
push edx
push 0x15c80
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x30]
jmp 0x14ebd
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0
jne 0x14e5d
push 0x15c70
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x14e6a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x14dff
jmp 0x14e7d
mov edx, dword [ebp - 0x20]
push edx
push 0x15c60
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x14ea9
cmp dword [ebp - 0x2c], 0
je 0x14ebb
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x14ee0
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x17a1c
call fcn.00014b10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x14f11
mov eax, dword [ebp - 0x14]
jmp 0x14f9c
push 0x15cd0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00014d00
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x14f3d
mov eax, 0xc0000001
jmp 0x14f9c
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x14f59
mov eax, dword [ebp - 0x14]
jmp 0x14f9c
mov ecx, dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, dword [ebp + 8]
push edx
call fcn.00014c50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x17a1c]
push ecx
call fcn.00014bc0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
add eax, dword [0x17280]
mov ecx, dword [eax]
push ecx
call fcn.00014bc0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4

Function at 0x15000
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 4]
je 0x1508f
mov edx, dword [ebp - 8]
cmp dword [edx + 0x28], 0
je 0x15085
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push 0
mov edx, dword [ebp - 8]
add edx, 0x2c
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x15085
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, 1
jmp 0x15091
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x15017
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x1843e
Capabilities:
Check os version
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00018405
pop ebp
jmp fcn.00012e00
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d9952d1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x55725269
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4029fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x471008], 0x8088405
inc edx
mov dword [ebx + 0x471008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402e24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x471024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ebc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e9c
xor eax, eax
push ebp
push 0x402e95
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 0x402ed8
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 0x402e9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x471024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x471024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403b30
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47a044], 0
je 0x403b91
cmp word [0x47a218], 0xd7b2
jne 0x403b59
cmp dword [0x47a220], 0
jbe 0x403b59
mov eax, 0x47a214
call dword [0x47a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x471070
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 0x403bb8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x471034], 0
jne 0x403bad
push 0
push 0x471068
push 0x471070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4058b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405916
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403f1c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402a18
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405900
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40591d
lea eax, [ebp - 0x10]
call fcn.00403cac
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040416c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407615
test al, 0x10
jne 0x407619
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409efc
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409f35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d9c
jmp 0x409f3e
mov eax, ebx
mov edx, esi
call fcn.00403d00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409f48
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_1
test eax, eax
jle 0x409f69
mov al, byte [esp]
jmp 0x409f6b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a5f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a468
mov eax, dword [0x479afc]
cmp byte [eax], 0
je 0x40a66c
mov eax, dword [0x47994c]
call fcn.00402908
call fcn.00402744
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407774
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a6b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a6a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4798f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47a660]
call fcn.00404df4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b350
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 0x40b3b4
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_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403f1c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040727c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b3bb
lea eax, [ebp - 0xc]
call fcn.00403cac
ret
Function at 0x413e38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, eax
lea eax, [ebx + 4]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebx + 4]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_ScreenToClient
mov eax, 1
call fcn.00413e24
mov byte [ebx + 0x12c], al
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], eax
lea edx, [ebx + 4]
mov eax, ebx
call fcn.004141ac
mov esi, eax
mov dword [ebx + 0x14], esi
mov edi, dword [ebx + 0x10]
cmp esi, edi
je 0x413ea0
test edi, edi
je 0x413e92
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x18]
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413ea0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [ebx + 0x12c], 0
je 0x413ef0
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413ec1
cmp byte [esi + 0x2a], 0
jne 0x413ec1
mov byte [esi + 0x2a], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x413f13
lea ecx, [esp + 0x100]
mov edx, dword [ebx + 8]
sub edx, dword [ebx + 0x20]
mov eax, dword [ebx + 4]
sub eax, dword [ebx + 0x1c]
call fcn.00405c34
lea edx, [esp + 0x100]
mov eax, esi
call fcn.00413cbc
jmp 0x413f13
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413f08
cmp byte [esi + 0x2a], 0
je 0x413f08
mov byte [esi + 0x2a], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
cmp dword [ebx + 0x18], 0
je 0x413f13
xor eax, eax
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413f21
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413f69
cmp byte [ebx + 0x12c], 0
je 0x413f69
lea edx, [ebx + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
test al, al
jne 0x413f69
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x413f66
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
sub edx, dword [eax + 0x14]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
sub edx, dword [eax + 0x10]
mov dword [ebx + 0x20], edx
jmp 0x413f69
cmp eax, dword [ebx + 0x14]
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x413fb9
cmp byte [eax + 0x2a], 0
jne 0x413fb9
lea esi, [ebx + 0x2c]
mov edi, esp
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x2c]
push eax
call sub.user32.dll_GetKeyboardState
xor esi, esi
mov eax, esp
test byte [eax], 0x80
jne 0x413faf
test byte [ebx + esi + 0x2c], 0x80
je 0x413faf
mov edx, esi
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x413fb9
inc esi
inc eax
cmp esi, 0x100
jne 0x413f97
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x416a58
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
pushal
mov eax, dword [ebp + 0xc]
mov edx, eax
add edx, 0x5c
push edx
mov edx, dword [ebp + 8]
push edx
add eax, dword [ebp + 0x10]
mov ecx, eax
call dword [0x47154c]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret 0xc
Function at 0x4281fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_VirtualProtect
lea eax, [esp + 0xc]
push eax
push 0x40
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [esp + 4]
dec edx
test edx, edx
jl 0x42824f
inc edx
xor eax, eax
mov ecx, dword [esp]
add ecx, eax
mov esi, edi
add esi, eax
mov cl, byte [ecx]
mov byte [esi], cl
inc eax
dec edx
jne 0x42823e
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_VirtualProtect
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
add esp, 0x10
pop edi
pop esi
ret
Function at 0x4282a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov byte [ebp - 1], 0
mov byte [ebp - 0x15], 0xe9
xor esi, esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0xc
push ebx
call sub.kernel32.dll_VirtualProtect
mov eax, ebx
call fcn.004280b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_VirtualProtect
add ebx, dword [ebp - 8]
add esi, dword [ebp - 8]
cmp esi, 5
jl 0x4282b9
sub ebx, esi
lea eax, [esi + 5]
call fcn.00402650
mov dword [edi], eax
cmp dword [edi], 0
je 0x42844d
lea eax, [ebp - 0xc]
push eax
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x42844d
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [esi + 5]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x42844d
mov eax, dword [edi]
mov ecx, esi
mov edx, ebx
call fcn.004281fc
mov eax, dword [edi]
mov al, byte [eax]
cmp al, 0xe8
je 0x428349
cmp al, 0xe9
jne 0x428365
mov eax, dword [edi]
inc eax
mov eax, dword [eax]
add eax, ebx
add eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov edx, dword [ebp - 0x10]
call fcn.00428284
mov edx, dword [edi]
inc edx
mov dword [edx], eax
mov eax, dword [edi]
cmp word [eax], 0x840f
jne 0x42838e
mov eax, dword [edi]
add eax, 2
mov eax, dword [eax]
add eax, ebx
add eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov edx, dword [ebp - 0x10]
call fcn.00428284
mov edx, dword [edi]
add edx, 2
mov dword [edx], eax
mov eax, dword [edi]
mov edx, eax
inc edx
cmp word [edx], 0x15ff
jne 0x4283bc
mov edx, ebx
inc edx
add eax, 2
inc eax
add edx, dword [eax]
add edx, 5
mov dword [ebp - 0x10], edx
mov eax, dword [edi]
inc eax
mov edx, dword [ebp - 0x10]
call fcn.00428284
mov edx, dword [edi]
add edx, 2
inc edx
mov dword [edx], eax
mov eax, dword [edi]
mov edx, eax
inc edx
cmp word [edx], 0x850f
jne 0x4283ea
mov edx, ebx
inc edx
add eax, 2
inc eax
add edx, dword [eax]
add edx, 5
mov dword [ebp - 0x10], edx
mov eax, dword [edi]
inc eax
mov edx, dword [ebp - 0x10]
call fcn.00428284
mov edx, dword [edi]
add edx, 2
inc edx
mov dword [edx], eax
mov edx, ebx
add edx, esi
mov eax, dword [edi]
add eax, esi
sub edx, eax
sub edx, 5
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x15]
mov ecx, 5
call fcn.004281fc
mov eax, dword [ebp + 0xc]
sub eax, ebx
sub eax, 5
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x15]
mov ecx, 5
mov eax, ebx
call fcn.004281fc
mov eax, ebx
cmp byte [eax], 0xe9
jne 0x42842c
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
add esi, 5
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4305b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x430636
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x430614
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403f1c
lea eax, [ebp - 4]
mov edx, 2
call fcn.004042a8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403d00
jmp 0x430620
mov eax, ebx
mov edx, 0x43064c
call fcn.00403d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43063d
lea eax, [ebp - 4]
call fcn.00403cac
ret
Function at 0x4700d0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x4701c4
push 0xffffffffffffffff
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x479818], eax
cmp dword [0x479818], 0
je 0x470105
mov eax, dword [0x479b44]
mov byte [eax], 1
mov eax, dword [0x479818]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x47010d
mov eax, dword [0x479b44]
mov byte [eax], 0
push 0x4701dc
push 0xffffffffffffffff
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x47981c], eax
cmp dword [0x47981c], 0
je 0x470141
mov eax, dword [0x479bec]
mov byte [eax], 1
mov eax, dword [0x47981c]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x470149
mov eax, dword [0x479bec]
mov byte [eax], 0
push 0x4701ec
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov edx, dword [0x4798a4]
mov dword [edx], eax
mov eax, dword [0x4798a4]
cmp dword [eax], 0
je 0x4701a6
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4798a4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [0x479b7c]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x40fbcc]
call fcn.00402f54
mov edx, dword [0x479874]
mov dword [edx], eax
push esp
push 0
push 0
push 0x42b6f0
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle
pop edx
ret
Function at 0x4034d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x413020]
jne 0x4034dd
repz ret
jmp fcn.00403ebc

Function at 0x4083ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404034
and dword [ebp - 4], 0
cmp dword [0x414b68], 0
mov ebx, eax
jne 0x40845d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40850e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40850e
push eax
call fcn.00403fc2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414b68], eax
call esi
push eax
call fcn.00403fc2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414b6c], eax
call esi
push eax
call fcn.00403fc2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x414b70], eax
call esi
push eax
call fcn.00403fc2
pop ecx
mov dword [0x414b78], eax
test eax, eax
je 0x40845d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403fc2
pop ecx
mov dword [0x414b74], eax
mov eax, dword [0x414b74]
cmp eax, ebx
je 0x4084b5
cmp dword [0x414b78], ebx
je 0x4084b5
push eax
call fcn.0040403d
push dword [0x414b78]
mov esi, eax
call fcn.0040403d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4084b5
test edi, edi
je 0x4084b5
call esi
test eax, eax
je 0x4084ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4084ac
test byte [ebp - 0xc], 1
jne 0x4084b5
or dword [ebp + 0x10], 0x200000
jmp 0x4084ee
mov eax, dword [0x414b6c]
cmp eax, ebx
je 0x4084ee
push eax
call fcn.0040403d
pop ecx
test eax, eax
je 0x4084ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4084ee
mov eax, dword [0x414b70]
cmp eax, ebx
je 0x4084ee
push eax
call fcn.0040403d
pop ecx
test eax, eax
je 0x4084ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x414b68]
call fcn.0040403d
pop ecx
test eax, eax
je 0x40850e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408510
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret