joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ecf40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566348
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5e9844]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.0045f4a0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
mov dword [esp + 0x14], 6
call fcn.004ece80
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.004ec620
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0xc

Function at 0x4ed0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566348
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5e9844]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], 0x42
call fcn.0045f4a0
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
jle 0x4ed136
or dword [esp + 0x10], 0x20
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004ed010
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.004ec620
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x4eddc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x566348
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5e9844]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x54]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
call fcn.0045f4a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
mov dword [esp + 0x10], 2
mov dword [esp + 0x18], ecx
jle 0x4ede6d
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 6
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004edc70
lea ecx, [esp + 8]
movzx esi, al
mov dword [esp + 0x44], 0xffffffff
call fcn.004ec620
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x4f4f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x566d73
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004c01e0
lea ecx, [esi + 0x34]
push 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.wxTextValidator.0
call fcn.0045ece0
push 0
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 1
call fcn.0045ece0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x4f7990
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5672a3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x576324]
push eax
push 0
push 0x5839e8
lea ecx, [esp + 0x1c]
call fcn.0045fb60
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push 0x5ebc78
push eax
push ecx
or ebp, 0xffffffff
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x4c], 0
call fcn.004bc870
mov ecx, dword [esp + 0x10]
test al, al
mov eax, dword [ecx - 0xc]
sete byte [esp + 0x50]
add ecx, 0xfffffff4
mov dword [esp + 0x30], ebp
cmp eax, ebp
je 0x4f7a23
add eax, ebp
mov dword [ecx], eax
jne 0x4f7a23
call fcn.0045ea90
cmp byte [esp + 0x50], 0
je 0x4f7a41
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0x20
push 0x64
call fcn.005047e7
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], 1
test eax, eax
je 0x4f7a68
push 8
mov ecx, eax
call fcn.004bbc20
mov edi, eax
jmp 0x4f7a6a
xor edi, edi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x20f0
mov dword [esp + 0x2c], 0xf
call fcn.004bdee0
push eax
mov ecx, edi
call fcn.004bd0e0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov ebp, dword [esp + 0x44]
mov edx, dword [edx + 0x314]
push eax
push ecx
push ebp
mov ecx, esi
call edx
mov dword [esi + 0x1a0], eax
test ebp, ebp
jle 0x4f7ad3
lea ecx, [eax + 0x150]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push 0
call edx
mov ecx, dword [esi + 0x1a0]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x2030
mov dword [esp + 0x2c], 0xf
call fcn.004bd060
mov edx, dword [esp + 0x4c]
and edx, 0x809e
push edx
mov ecx, esi
call fcn.004bdff0
test eax, eax
je 0x4f7b39
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x20f0
mov dword [esp + 0x2c], 0xa
call fcn.004bd0e0
push 1
push edi
mov ecx, esi
call fcn.004a88b0
push esi
mov ecx, edi
call fcn.004bc460
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.004bc420
test byte [esp + 0x4c], 1
je 0x4f7b6d
mov eax, dword [esi]
mov edx, dword [eax + 0x234]
push 0xc
mov ecx, esi
call edx
mov ecx, dword [esi + 0x1a0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0x20
Function at 0x4f8170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x567316
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00489640
mov dword [esi], vtable.wxSingleChoiceDialog.0
mov eax, dword [0x5e9844]
mov dword [esp + 0x14], 0
mov dword [esi + 0x1a8], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 0x5ebc80
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.004f7d40
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
Function at 0x4fabc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56770d
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x5f168c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, dword [esp + 0x128]
xor ebx, ebx
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x120], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
call fcn.00461400
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
mov ebp, 1
mov ecx, esi
mov dword [esp + 0x124], ebx
mov dword [esp + 0x24], ebp
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, 0xdc
mov word [esp + 0x7c], cx
lea ecx, [esp + 0x38]
push ecx
push ebx
xor edx, edx
push eax
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x30], eax
mov word [esp + 0x8a], dx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
test eax, eax
je 0x4fad1e
mov esi, dword [esp + 0x12c]
mov ecx, dword [esp + 0xf0]
mov edi, dword [esp + 0xe8]
mov ebp, dword [esp + 0xe0]
mov edx, 1
cmp edx, ecx
mov edx, dword [esp + 0xe4]
sbb eax, eax
and eax, ecx
mov ecx, dword [esi]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
cmp ecx, ebx
je 0x4facc7
cmp edx, ecx
jne 0x4facf8
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4facd2
cmp edi, ecx
jne 0x4facf8
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4facdd
cmp ebp, ecx
jne 0x4facf8
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4face8
cmp eax, ecx
jl 0x4facf8
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x2c]
push eax
call fcn.004e6dd0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
test eax, eax
jne 0x4fac86
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x120], bl
cmp eax, 0xffffffff
je 0x4fad40
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4fad40
call fcn.0045ea90
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0050a9d0
add esp, 0x110
ret 8
Function at 0x4fb680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x567851
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x28]
push esi
call fcn.004955c0
mov dword [edi], vtable.wxNotifyEvent.0
movzx eax, byte [esi + 0x38]
mov byte [edi + 0x38], al
mov dword [edi], vtable.wxTreeEvent.0
mov ecx, dword [0x5f9694]
lea ebx, [edi + 0x3c]
push ecx
xor ebp, ebp
mov ecx, ebx
mov dword [esp + 0x24], ebp
call fcn.00495480
mov dword [edi + 0x7c], ebp
mov dword [edi + 0x80], ebp
mov dword [edi + 0x84], ebp
mov dword [edi + 0x88], ebp
mov edx, dword [0x5e9844]
lea ecx, [edi + 0x8c]
mov dword [ecx], edx
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x24], eax
mov edx, dword [esi + 0x64]
mov dword [ebx + 0x28], edx
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x2c], eax
movzx edx, byte [esi + 0x6c]
mov byte [ebx + 0x30], dl
movzx eax, byte [esi + 0x6d]
mov byte [ebx + 0x31], al
movzx edx, byte [esi + 0x6e]
mov byte [ebx + 0x32], dl
movzx eax, byte [esi + 0x6f]
mov byte [ebx + 0x33], al
movzx edx, byte [esi + 0x70]
mov byte [ebx + 0x34], dl
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x38], eax
mov edx, dword [esi + 0x78]
mov dword [ebx + 0x3c], edx
mov ax, word [esi + 0x72]
mov word [ebx + 0x36], ax
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x7c], edx
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov edx, dword [esi + 0x84]
mov dword [edi + 0x84], edx
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x8c]
push edx
mov byte [esp + 0x24], 2
mov dword [edi + 0x88], eax
call fcn.0045f4a0
movzx eax, byte [esi + 0x90]
mov byte [edi + 0x90], al
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x4fb840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55c1f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.wxDragImage.0
call fcn.004cb490
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov ecx, esi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.004fb830
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4fbec0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56654b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0xc]
call fcn.004a7390
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x114], 0
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 8]
mov dword [esp + 0x110], 0xffffffff
call fcn.004a7060
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10c
ret 4
Function at 0x4fd320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x567968
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00465760
xor ecx, ecx
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi], vtable.wxTimerBase.0
mov dword [esi + 0x30], ecx
mov byte [esi + 0x34], cl
mov dword [esi + 0x28], esi
mov eax, dword [0x5ebf48]
dec eax
mov dword [0x5ebf48], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esi], vtable.wxTimer.0
call fcn.00503920
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x504da5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x504dd6
call fcn.0050bbb2
mov dword [eax], esi
call fcn.0050bb9f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00504cc6
add esp, 0x14
push 0x16
pop eax
jmp 0x504e2b
test dword [ebp + 0xc], 0xfffffff9
jne 0x504db2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x504e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050bbc5
pop ecx
call fcn.0050bb9f
mov eax, dword [eax]
jmp 0x504e2b
test al, 0x10
jne 0x504e29
test al, 1
je 0x504e29
test byte [ebp + 0xc], 2
je 0x504e29
call fcn.0050bbb2
mov dword [eax], 5
call fcn.0050bb9f
mov dword [eax], 0xd
jmp 0x504dfa
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x508faf
call fcn.0050bbb2
mov dword [eax], esi
call fcn.0050bb9f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00504cc6
add esp, 0x14
push 0x16
pop eax
jmp 0x509004
test dword [ebp + 0xc], 0xfffffff9
jne 0x508f8b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x508fdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050bbc5
pop ecx
call fcn.0050bb9f
mov eax, dword [eax]
jmp 0x509004
test al, 0x10
jne 0x509002
test al, 1
je 0x509002
test byte [ebp + 0xc], 2
je 0x509002
call fcn.0050bbb2
mov dword [eax], 5
call fcn.0050bb9f
mov dword [eax], 0xd
jmp 0x508fd3
xor eax, eax
pop esi
pop ebp
ret

Function at 0x50a9d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f168c]
jne 0x50a9da
repz ret
jmp fcn.0051c87c
Function at 0x526ce2
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.00514521
and dword [ebp - 4], 0
cmp dword [0x61f380], 0
mov ebx, eax
jne 0x526d93
push 0x5a2b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x526e44
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a2b08
push edi
call esi
test eax, eax
je 0x526e44
push eax
call fcn.005144af
mov dword [esp], 0x5a2af8
push edi
mov dword [0x61f380], eax
call esi
push eax
call fcn.005144af
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x61f384], eax
call esi
push eax
call fcn.005144af
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x61f388], eax
call esi
push eax
call fcn.005144af
pop ecx
mov dword [0x61f390], eax
test eax, eax
je 0x526d93
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005144af
pop ecx
mov dword [0x61f38c], eax
mov eax, dword [0x61f38c]
cmp eax, ebx
je 0x526deb
cmp dword [0x61f390], ebx
je 0x526deb
push eax
call fcn.0051452a
push dword [0x61f390]
mov esi, eax
call fcn.0051452a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x526deb
test edi, edi
je 0x526deb
call esi
test eax, eax
je 0x526de2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x526de2
test byte [ebp - 0xc], 1
jne 0x526deb
or dword [ebp + 0x10], 0x200000
jmp 0x526e24
mov eax, dword [0x61f384]
cmp eax, ebx
je 0x526e24
push eax
call fcn.0051452a
pop ecx
test eax, eax
je 0x526e24
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x526e24
mov eax, dword [0x61f388]
cmp eax, ebx
je 0x526e24
push eax
call fcn.0051452a
pop ecx
test eax, eax
je 0x526e24
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x61f380]
call fcn.0051452a
pop ecx
test eax, eax
je 0x526e44
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x526e46
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x52c2e5
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.00514521
and dword [ebp - 4], 0
cmp dword [0x61f404], 0
mov ebx, eax
jne 0x52c396
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x52c447
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a35c4
push edi
call esi
test eax, eax
je 0x52c447
push eax
call fcn.005144af
mov dword [esp], 0x5a2af8
push edi
mov dword [0x61f404], eax
call esi
push eax
call fcn.005144af
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x61f408], eax
call esi
push eax
call fcn.005144af
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x61f40c], eax
call esi
push eax
call fcn.005144af
pop ecx
mov dword [0x61f414], eax
test eax, eax
je 0x52c396
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005144af
pop ecx
mov dword [0x61f410], eax
mov eax, dword [0x61f410]
cmp eax, ebx
je 0x52c3ee
cmp dword [0x61f414], ebx
je 0x52c3ee
push eax
call fcn.0051452a
push dword [0x61f414]
mov esi, eax
call fcn.0051452a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52c3ee
test edi, edi
je 0x52c3ee
call esi
test eax, eax
je 0x52c3e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x52c3e5
test byte [ebp - 0xc], 1
jne 0x52c3ee
or dword [ebp + 0x10], 0x200000
jmp 0x52c427
mov eax, dword [0x61f408]
cmp eax, ebx
je 0x52c427
push eax
call fcn.0051452a
pop ecx
test eax, eax
je 0x52c427
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x52c427
mov eax, dword [0x61f40c]
cmp eax, ebx
je 0x52c427
push eax
call fcn.0051452a
pop ecx
test eax, eax
je 0x52c427
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x61f404]
call fcn.0051452a
pop ecx
test eax, eax
je 0x52c447
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x52c449
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x532b80
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x5683d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.EL_TPointerSingleton_class_EL_Environment_.0
mov dword [0x6227c8], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 8]
push edx
mov dword [esp + 0x20], 0
mov dword [esi + 4], vtable.EL_TStringTable_wchar_t__32_.0
call fcn.005326c0
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], 0
mov word [esi + 0x54], cx
xor edx, edx
lea ecx, [esi + 0x90]
mov dword [esi], vtable.EL_Environment.1.0
mov dword [esi + 4], vtable.EL_Environment.0
push edx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], 0
push 0x5bb970
mov byte [esp + 0x20], 1
mov word [ecx + 4], dx
call fcn.00402756
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x532d90
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5f168c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [0x5f2bec]
push ebx
push esi
push edi
jle 0x532dc4
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050a9d0
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test eax, eax
jl 0x532de8
mov eax, dword [0x61fc38]
test eax, eax
je 0x532e0d
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x532e0d
mov eax, dword [0x61fc3c]
test eax, eax
je 0x532e03
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ebx, [edi*4]
lea eax, [ebx + 8]
cmp eax, 0x400
ja 0x532e34
call fcn.005190d0
mov esi, esp
test esi, esi
je 0x532e4c
mov dword [esi], 0xcccc
add esi, 8
jmp 0x532e4c
push eax
call fcn.0050513d
add esp, 4
test eax, eax
je 0x532e4a
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push ecx
call fcn.0041ea80
add esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x532e7e
mov ecx, dword [0x61f434]
test ecx, ecx
je 0x532e7e
push ecx
push 1
push eax
push esi
call fcn.005099d3
mov edx, dword [0x61f434]
push edx
jmp 0x532e98
mov ecx, dword [0x61f430]
test ecx, ecx
je 0x532ea0
push ecx
push 1
push eax
push esi
call fcn.005099d3
mov eax, dword [0x61f430]
push eax
call fcn.00509d90
add esp, 0x14
test esi, esi
je 0x532eb9
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x532eb9
push eax
call fcn.005053fb
add esp, 4
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050a9d0
mov esp, ebp
pop ebp
ret