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

Disassembly:
push 0xffffffffffffffff
push 0x5cf178
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [section..data]
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.004cecf0
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.0055c770
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0055bf10
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0xc

Function at 0x55c990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf178
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [section..data]
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.004cecf0
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
jle 0x55ca26
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.0055c900
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0055bf10
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x55d6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf178
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [section..data]
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.004cecf0
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 0x55d75d
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 6
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0055d560
lea ecx, [esp + 8]
movzx esi, al
mov dword [esp + 0x44], 0xffffffff
call fcn.0055bf10
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x564780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5cc063
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0052fb30
lea ecx, [esi + 0x34]
push 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.wxTextValidator.0
call fcn.004ce530
push 0
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004ce530
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 0x567180
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d00c3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5f09fc]
push eax
push 0
push 0x5fe0d8
lea ecx, [esp + 0x1c]
call fcn.004cf3b0
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 0x67a43c
push eax
push ecx
or ebp, 0xffffffff
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x4c], 0
call fcn.0052c180
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 0x567213
add eax, ebp
mov dword [ecx], eax
jne 0x567213
call fcn.004ce2e0
cmp byte [esp + 0x50], 0
je 0x567231
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.005740d0
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], 1
test eax, eax
je 0x567258
push 8
mov ecx, eax
call fcn.0052b540
mov edi, eax
jmp 0x56725a
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.0052d820
push eax
mov ecx, edi
call fcn.0052ca00
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 0x5672c3
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.0052c980
mov edx, dword [esp + 0x4c]
and edx, 0x809e
push edx
mov ecx, esi
call fcn.0052d930
test eax, eax
je 0x567329
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.0052ca00
push 1
push edi
mov ecx, esi
call fcn.005182d0
push esi
mov ecx, edi
call fcn.0052bd70
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0052bd30
test byte [esp + 0x4c], 1
je 0x56735d
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 0x567960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0136
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004f9f10
mov dword [esi], vtable.wxSingleChoiceDialog.0
mov eax, dword [section..data]
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 0x67a444
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.00567530
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
Function at 0x56a460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d055d
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x67ff88]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
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.004d0c00
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 0x56a5be
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 0x56a567
cmp edx, ecx
jne 0x56a598
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x56a572
cmp edi, ecx
jne 0x56a598
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x56a57d
cmp ebp, ecx
jne 0x56a598
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x56a588
cmp eax, ecx
jl 0x56a598
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x2c]
push eax
call fcn.00556770
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 0x56a526
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 0x56a5e0
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x56a5e0
call fcn.004ce2e0
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.0057ac48
add esp, 0x110
ret 8
Function at 0x56af20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d06a1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
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.00504ed0
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 [0x68ccc8]
lea ebx, [edi + 0x3c]
push ecx
xor ebp, ebp
mov ecx, ebx
mov dword [esp + 0x24], ebp
call fcn.00504d90
mov dword [edi + 0x7c], ebp
mov dword [edi + 0x80], ebp
mov dword [edi + 0x84], ebp
mov dword [edi + 0x88], ebp
mov edx, dword [section..data]
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.004cecf0
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 0x56b0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c4fd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67ff88]
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.0053adc0
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.0056b0d0
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 0x56b760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5cf37b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push esi
mov eax, dword [0x67ff88]
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.00516d20
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.005169f0
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10c
ret 4
Function at 0x56cbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d07b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004d5040
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 [0x67a708]
dec eax
mov dword [0x67a708], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esi], vtable.wxTimer.0
call fcn.005731c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x57479d
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 0x5747ce
call fcn.00579a82
mov dword [eax], esi
call fcn.00579a6f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005749a7
add esp, 0x14
push 0x16
pop eax
jmp 0x574823
test dword [ebp + 0xc], 0xfffffff9
jne 0x5747aa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5747fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00579a95
pop ecx
call fcn.00579a6f
mov eax, dword [eax]
jmp 0x574823
test al, 0x10
jne 0x574821
test al, 1
je 0x574821
test byte [ebp + 0xc], 2
je 0x574821
call fcn.00579a82
mov dword [eax], 5
call fcn.00579a6f
mov dword [eax], 0xd
jmp 0x5747f2
xor eax, eax
pop esi
pop ebp
ret

Function at 0x57ac48
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x67ff88]
jne 0x57ac52
repz ret
jmp fcn.0058c5ec

Function at 0x580a1e
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 0x580a4f
call fcn.00579a82
mov dword [eax], esi
call fcn.00579a6f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005749a7
add esp, 0x14
push 0x16
pop eax
jmp 0x580aa4
test dword [ebp + 0xc], 0xfffffff9
jne 0x580a2b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x580a7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00579a95
pop ecx
call fcn.00579a6f
mov eax, dword [eax]
jmp 0x580aa4
test al, 0x10
jne 0x580aa2
test al, 1
je 0x580aa2
test byte [ebp + 0xc], 2
je 0x580aa2
call fcn.00579a82
mov dword [eax], 5
call fcn.00579a6f
mov dword [eax], 0xd
jmp 0x580a73
xor eax, eax
pop esi
pop ebp
ret
Function at 0x595772
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.00583a02
and dword [ebp - 4], 0
cmp dword [0x6b28a8], 0
mov ebx, eax
jne 0x595823
push 0x61d1b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x5958d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x61d1a8
push edi
call esi
test eax, eax
je 0x5958d4
push eax
call fcn.00583990
mov dword [esp], 0x61d198
push edi
mov dword [0x6b28a8], eax
call esi
push eax
call fcn.00583990
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6b28ac], eax
call esi
push eax
call fcn.00583990
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x6b28b0], eax
call esi
push eax
call fcn.00583990
pop ecx
mov dword [0x6b28b8], eax
test eax, eax
je 0x595823
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00583990
pop ecx
mov dword [0x6b28b4], eax
mov eax, dword [0x6b28b4]
cmp eax, ebx
je 0x59587b
cmp dword [0x6b28b8], ebx
je 0x59587b
push eax
call fcn.00583a0b
push dword [0x6b28b8]
mov esi, eax
call fcn.00583a0b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59587b
test edi, edi
je 0x59587b
call esi
test eax, eax
je 0x595872
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x595872
test byte [ebp - 0xc], 1
jne 0x59587b
or dword [ebp + 0x10], 0x200000
jmp 0x5958b4
mov eax, dword [0x6b28ac]
cmp eax, ebx
je 0x5958b4
push eax
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5958b4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5958b4
mov eax, dword [0x6b28b0]
cmp eax, ebx
je 0x5958b4
push eax
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5958b4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6b28a8]
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5958d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5958d6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x596088
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.00583a02
and dword [ebp - 4], 0
cmp dword [0x6b28f8], 0
mov ebx, eax
jne 0x596139
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5961ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x61d8ec
push edi
call esi
test eax, eax
je 0x5961ea
push eax
call fcn.00583990
mov dword [esp], 0x61d198
push edi
mov dword [0x6b28f8], eax
call esi
push eax
call fcn.00583990
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6b28fc], eax
call esi
push eax
call fcn.00583990
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6b2900], eax
call esi
push eax
call fcn.00583990
pop ecx
mov dword [0x6b2908], eax
test eax, eax
je 0x596139
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00583990
pop ecx
mov dword [0x6b2904], eax
mov eax, dword [0x6b2904]
cmp eax, ebx
je 0x596191
cmp dword [0x6b2908], ebx
je 0x596191
push eax
call fcn.00583a0b
push dword [0x6b2908]
mov esi, eax
call fcn.00583a0b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x596191
test edi, edi
je 0x596191
call esi
test eax, eax
je 0x596188
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x596188
test byte [ebp - 0xc], 1
jne 0x596191
or dword [ebp + 0x10], 0x200000
jmp 0x5961ca
mov eax, dword [0x6b28fc]
cmp eax, ebx
je 0x5961ca
push eax
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5961ca
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5961ca
mov eax, dword [0x6b2900]
cmp eax, ebx
je 0x5961ca
push eax
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5961ca
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6b28f8]
call fcn.00583a0b
pop ecx
test eax, eax
je 0x5961ea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5961ec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x59d6f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d1223
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x67ff88]
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 [0x6b4000], 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.0059d230
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 0x63141c
mov byte [esp + 0x20], 1
mov word [ecx + 4], dx
call fcn.0040240d
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 0x59d900
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x67ff88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [0x6813ac]
push ebx
push esi
push edi
jle 0x59d934
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ac48
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test eax, eax
jl 0x59d958
mov eax, dword [0x6b3130]
test eax, eax
je 0x59d97d
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 0x59d97d
mov eax, dword [0x6b3134]
test eax, eax
je 0x59d973
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 0x59d9a4
call fcn.00589660
mov esi, esp
test esi, esi
je 0x59d9bc
mov dword [esi], 0xcccc
add esi, 8
jmp 0x59d9bc
push eax
call fcn.00574d4a
add esp, 4
test eax, eax
je 0x59d9ba
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.0041f480
add esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x59d9ee
mov ecx, dword [0x6b292c]
test ecx, ecx
je 0x59d9ee
push ecx
push 1
push eax
push esi
call fcn.00578d2f
mov edx, dword [0x6b292c]
push edx
jmp 0x59da08
mov ecx, dword [0x6b2928]
test ecx, ecx
je 0x59da10
push ecx
push 1
push eax
push esi
call fcn.00578d2f
mov eax, dword [0x6b2928]
push eax
call fcn.005790ec
add esp, 0x14
test esi, esi
je 0x59da29
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x59da29
push eax
call fcn.00574f18
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.0057ac48
mov esp, ebp
pop ebp
ret