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

Disassembly:
push 0xffffffffffffffff
push 0x5206f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.t_filemapMessage::t_locker.0
mov dword [esp + 0x38], ebx
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0xc]
lea edi, [ebp + 4]
mov ecx, edi
call edx
test al, al
mov eax, dword [esp + 0x44]
jne 0x4842c1
push str.t_mutex::Lock
push eax
call fcn.004708d0
add esp, 8
cmp al, bl
je 0x4842cf
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0x228]
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 0x1234567
call fcn.004ae380
test al, al
je 0x4842a1
lea eax, [esp + 0x28]
push eax
mov eax, esi
call fcn.004ae3f0
test al, al
jne 0x4842d3
mov ecx, dword [esp + 0x44]
call fcn.00470820
push 0x56c368
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
xor bl, bl
jmp 0x4842e6
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
push eax
mov ecx, edi
call edx
test al, al
jmp 0x484252
xor al, al
jmp 0x4842f7
mov eax, dword [ebp + 0x238]
test eax, eax
je 0x4842e4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
mov ecx, edi
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b5a0
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8

Function at 0x4858f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00485330
mov eax, dword [esi + 0x20]
test eax, eax
je 0x48598c
cmp byte [eax + 0x202], 0
jne 0x485972
cmp dword [eax + 0x290], 1
je 0x485972
cmp dword [eax + 0x290], 2
jne 0x485928
mov dword [eax + 0x290], 0
mov esi, dword [eax + 0x294]
test esi, esi
je 0x48598c
mov eax, dword [esi + 4]
push 0x79
push eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48598c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xa4]
push 0
call edx
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi + 0x20]
call fcn.0044a910
pop esi
ret
Function at 0x488340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
jne 0x48836a
mov eax, dword [esi + 0x2a0]
mov eax, dword [eax + 8]
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x48836a
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
push edi
mov ecx, esi
call fcn.004499b0
mov ebx, eax
xor eax, eax
cmp edi, eax
je 0x4883df
cmp byte [esi + 0x224], al
je 0x4883df
cmp byte [esi + 0x2aa], al
je 0x4883df
cmp dword [esi + 0x290], 2
mov byte [esi + 0x2aa], al
jne 0x48839f
mov dword [esi + 0x290], eax
mov esi, dword [esi + 0x294]
cmp esi, eax
je 0x4883df
mov ecx, dword [esi + 4]
push 0x79
push ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4883df
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x489f30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
cmp ebx, edi
jg 0x489f46
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor al, al
add esp, 0x1c
ret
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 4]
push eax
push 2
push esi
mov dword [esp + 0x10], 0x1c
mov dword [esp + 0x14], 0x1f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov al, 1
add esp, 0x1c
ret
Function at 0x48ac00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x524277
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, fcn.004fdc99
mov ecx, fcn.004fca61
mov eax, fcn.004fdda1
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ecx
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], edx
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], edx
mov dword [esi + 0x110], ecx
mov dword [esi + 0x114], eax
lea eax, [esi + 0x118]
mov byte [esp + 0x18], 9
call fcn.0048ae10
lea eax, [esi + 0x360]
mov byte [esp + 0x18], 0xa
call fcn.00492f30
lea edi, [esi + 0x394]
call fcn.0048a330
lea ecx, [esi + 0x6cbc]
mov byte [esp + 0x18], 0xc
call fcn.004fb8e0
mov al, byte [esp + 0x24]
mov byte [esi + 0x6cf5], al
mov dword [esi + 0x6cfc], ebx
mov dword [esi + 0x6cec], ebx
mov dword [esi + 0x6cf0], ebx
mov byte [esi + 0x6cf4], bl
mov byte [esi + 0x6cf6], bl
mov byte [esi + 0x6cf7], bl
mov byte [esi + 0x6cf8], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x48f730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x1a0]
xor eax, eax
cmp ebx, eax
je 0x48f76f
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea esi, [esp + 0x10]
mov eax, edi
call fcn.004535f0
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, esi
push ecx
push edx
mov ecx, ebx
call eax
xor eax, eax
cmp byte [edi + 0x2aa], 0
je 0x48f7ce
cmp dword [edi + 0x290], 2
mov byte [edi + 0x2aa], 0
jne 0x48f78e
mov dword [edi + 0x290], eax
mov esi, dword [edi + 0x294]
cmp esi, eax
je 0x48f7ce
mov ecx, dword [esi + 4]
push 0x79
push ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48f7ce
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x497cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522d68
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
call fcn.0043d900
mov esi, dword [eax]
test esi, esi
je 0x497e01
push 2
push 0x568854
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x497e01
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x497e01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
cmp edi, ecx
je 0x497e01
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], cl
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], cl
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
call fcn.004476a0
add esp, 0xc
test al, al
jne 0x497d86
lea ecx, [esp + 0x14]
call fcn.00470c90
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x370]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x497dc6
lea ecx, [esp + 0x14]
call fcn.00470820
push 0x568868
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00470c90
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, edi
imul edx, ebx
add edx, edx
add edx, edx
push edx
call fcn.004fc111
add esp, 4
push esi
mov dword [esi + 0x364], eax
call fcn.00497b20
lea ecx, [esp + 0x14]
mov dword [esi + 0x368], ebx
mov dword [esi + 0x36c], edi
call fcn.004707c0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1f10
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0xeaa0
call fcn.00503810
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0xea9c], eax
mov eax, dword [esi + 0xeb00]
mov eax, dword [eax + 4]
push ebx
push edi
mov edi, 0x569c00
mov ebx, 0x15
mov dword [esp + 8], ecx
call fcn.004a20e0
test al, al
jne 0x4a1f61
pop edi
pop ebx
mov ecx, dword [esp + 0xea9c]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa0
ret
mov edx, dword [esi + 0xeb00]
mov eax, dword [edx + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x16
lea ecx, [esp + 0x1c]
push ecx
push eax
call ebp
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a1f82
sub eax, edx
sar eax, 1
mov edx, 0
je 0x4a1fcc
jmp 0x4a1fa0
movzx ecx, word [esp + edx*2 + 0x18]
cmp cx, 0x61
jb 0x4a1fb1
cmp cx, 0x7a
jbe 0x4a1fc5
cmp cx, 0x41
jb 0x4a2068
cmp cx, 0x5a
ja 0x4a2068
add edx, 1
cmp edx, eax
jb 0x4a1fa0
mov ecx, dword [esi + 0xeb04]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0xc]
mov edi, str._IN
mov ebx, 0x7530
call fcn.004a20e0
test al, al
je 0x4a2084
mov eax, dword [esi + 0xeb04]
mov ecx, dword [eax + 4]
push 0x7531
lea edx, [esp + 0x48]
push edx
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0x6c]
push 0x16
push eax
call fcn.004fe07f
push ebx
lea ecx, [esp + 0x54]
push ecx
lea edx, [esi + 0x98]
push 0x7531
push edx
call fcn.004fe994
mov eax, dword [esi + 0xeb08]
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x1c
push 0
push 0
push 0x147
push eax
call edi
test eax, eax
mov ecx, dword [esi + 0xeb08]
lea edx, [esp + 0x10]
jl 0x4a209e
push edx
push eax
mov eax, dword [ecx + 4]
push 0x148
push eax
call edi
jmp 0x4a20aa
mov ecx, dword [esp + 0xc]
call fcn.00470820
push 0x569e28
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
pop ebp
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xea9c]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa0
ret
mov eax, dword [ecx + 4]
push 0x104
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call fcn.004fe07a
mov ecx, dword [esp + 0xeaac]
add esp, 4
pop ebp
pop edi
pop ebx
mov dword [esi + 0xeafc], eax
xor ecx, esp
mov al, 1
call fcn.004fe05a
add esp, 0xeaa0
ret
Function at 0x4a64a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
xor esi, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x20], fcn.004fdc99
mov dword [esp + 0x24], fcn.004fca61
mov dword [esp + 0x28], fcn.004fdda1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x8000
mov dword [esp + 0x1c], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x34], esi
mov byte [esp + 0x38], 0
mov byte [esp + 0x60], 1
lea edx, [eax + 0x4b0]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xd48]
lea ecx, [eax + 0xaf0]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xd4c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xd50]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
nop
mov eax, dword [edi + 0x55ed04]
push eax
lea ecx, [esp + 0x20]
call fcn.0046d370
mov ecx, eax
call fcn.0046c460
mov ebp, dword [esp + esi + 0x4c]
test ebp, ebp
mov ebx, eax
jle 0x4a6593
mov esi, dword [esp + esi + 0x40]
lea edi, [esi + 0x1e]
push edi
push esi
push ebx
call fcn.0046c290
add esi, 0x28
add edi, 0x28
sub ebp, 1
jne 0x4a6578
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add edi, 8
add esi, 4
cmp edi, 0x18
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
jb 0x4a6550
cmp byte [esp + 0x188], 0
lea eax, [esp + 0x78]
jne 0x4a65b8
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x3c]
add eax, 4
push eax
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.0046cdf0
test al, al
mov ecx, esi
jne 0x4a664a
call fcn.00470820
push 0x56a63c
push 0x551604
push eax
call fcn.0046adf0
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4a6617
mov edi, edi
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4a6600
cmp byte [esp + 0x188], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], vtable.t_str.0
jne 0x4a6646
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
je 0x4a6646
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x4a66ac
call fcn.00470870
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4a667b
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4a6664
cmp byte [esp + 0x188], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], vtable.t_str.0
jne 0x4a66aa
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
je 0x4a66aa
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x128
Function at 0x4ab270
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4ab28d
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0xc]
push 0x208
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4ab2ad
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [edx + eax + 0x18]
jbe 0x4ab2f2
lea eax, [ecx + 0x10]
lea esp, [esp]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x4ab2de
mov edx, esi
cmp edi, ecx
jb 0x4ab2e8
add edx, ecx
cmp edi, edx
jbe 0x4ab2fc
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x4ab2d0
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
add ebx, 1
pop ebp
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [esp + 0x34]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x4ab4f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x5ba0c4]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004fe05a
add esp, 0x808
ret
Function at 0x4d02c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [ecx]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
movzx edx, word [eax]
mov eax, dword [esp + 0x14]
sub eax, ebx
cmp ebp, eax
mov dword [esp + 0x18], ebx
jbe 0x4d02e6
mov ebp, eax
xor eax, eax
test ebp, ebp
jbe 0x4d0328
sub ebx, esi
mov eax, ebp
mov dword [esp + 0x14], ebp
push edi
movzx edi, byte [ebx + esi]
mov ecx, edx
shr ecx, 8
xor ecx, edi
add edi, edx
imul edi, edi, 0x3193
mov edx, 0x58bf
sub edx, edi
mov byte [esi], cl
and edx, 0xffff
add esi, 1
sub eax, 1
jne 0x4d02f5
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop edi
mov ecx, dword [esp + 0x10]
add ebx, ebp
mov dword [ecx], ebx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov word [ecx], dx
pop ebx
ret
Function at 0x4f3d40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51ce70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.0046b310
mov dword [esp + 0x18], vtable.UserManager::t_lockerProc.0
mov esi, dword [esp + 0x30]
push 0x5b8800
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.0046b330
test al, al
je 0x4f3dd7
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.0046b310
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x5b8a30
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0046b330
test al, al
jne 0x4f3dff
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00401030
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401030
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x144]
call fcn.0046a5d0
test al, al
je 0x4f3dc9
push 0
push esi
lea ecx, [edi + 0x3fc]
call fcn.0046a5d0
test al, al
je 0x4f3dc9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004f3940
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.00401030
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401030
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4f3e80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51ce70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.0046b310
mov dword [esp + 0x18], vtable.UserManager::t_lockerProc.0
mov esi, dword [esp + 0x30]
push 0x5b8800
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.0046b330
test al, al
je 0x4f3f17
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.0046b310
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x5b8a30
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0046b330
test al, al
jne 0x4f3f3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00401030
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401030
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x144]
call fcn.0046a5d0
test al, al
je 0x4f3f09
push 0
push esi
lea ecx, [edi + 0x3fc]
call fcn.0046a5d0
test al, al
je 0x4f3f09
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004f3be0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.00401030
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401030
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4f9bf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51d548
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.0046b310
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
mov edi, dword [esp + 0x30]
push 0x5b8e60
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.0046b330
test al, al
mov ebx, dword [esp + 0x34]
je 0x4f9c9d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004f93a0
test eax, eax
je 0x4f9c7a
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f9c87
push ebx
push edi
mov ecx, esi
call fcn.004f9a00
test eax, eax
je 0x4f9c9d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
mov ecx, eax
call fcn.004f8fa0
test al, al
jne 0x4f9cde
push ebx
push str.UserEnv::MergeGet
push edi
call fcn.004708d0
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.00401030
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.00401030
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4fe05a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x589560]
jne 0x4fe064
repz ret
jmp fcn.0050910a