joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bce10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x55fd00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
push esi
call fcn.004ba280
add esp, 4
test eax, eax
je 0x4bce72
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push ebp
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4bcea2
push esi
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4bcea2
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call fcn.0049eff0
mov edi, vtable.cLongName.0
mov dword [esp + 0x24], edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.0049eff0
mov dword [esp + 0x14], edi
mov byte [esp + 0x3c], 1
test esi, esi
jne 0x4bcede
xor edi, edi
jmp 0x4bcefd
push esi
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4bceef
mov edi, esi
jmp 0x4bcefd
push esi
lea ecx, [esp + 0x28]
call fcn.004b5390
mov edi, dword [esp + 0x28]
test ebp, ebp
jne 0x4bcf05
xor eax, eax
jmp 0x4bcf24
push ebp
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4bcf16
mov eax, ebp
jmp 0x4bcf24
push ebp
lea ecx, [esp + 0x18]
call fcn.004b5390
mov eax, dword [esp + 0x18]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x14], edi
call fcn.0049ee80
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.0049ee80
push esi
call fcn.004ba280
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x4bdc30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x414]
push ebp
mov ebp, dword [esp + 0x414]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], esi
push 0x3ff
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.00519500
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push ebp
call edi
test eax, eax
je 0x4bdcaf
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bdcd5
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00419730
cmp dword [esp + 0x10], 0
jne 0x4bdc62
cmp dword [ebx + 4], 0
jne 0x4bdcd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x4bdcd5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
inc esi
cmp ecx, 0x80
jbe 0x4bdc62
mov ecx, dword [esp + 0x414]
pop edi
xor eax, eax
cmp dword [ebx + 4], eax
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0051916c
add esp, 0x408
ret
Function at 0x4bfce0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x56025e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
or esi, 0xffffffff
test byte [0x5bdcdc], 1
jne 0x4bfd41
or dword [0x5bdcdc], 1
push 0x56a6c0
mov dword [0x5bdcd4], 0
mov dword [0x5bdcd0], 0
mov byte [0x5bdcd8], 0
call fcn.005194de
add esp, 4
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea esp, [esp]
inc esi
cmp word [edi + esi*2], 0
jne 0x4bfd50
lea eax, [esi + 1]
push eax
mov ecx, 0x5bdcd0
call fcn.0042daa0
mov eax, esi
test esi, esi
je 0x4bfd84
lea esp, [esp]
mov cx, word [edi + eax*2 - 2]
mov edx, dword [0x5bdcd4]
sub eax, 1
mov word [edx + eax*2], cx
jne 0x4bfd70
mov eax, dword [0x5bdcd4]
test eax, eax
je 0x4bfdf3
cmp byte [esp + 0x1c], 0
je 0x4bfdf8
cmp word [eax], 0x22
mov edx, 0x20
jne 0x4bfda7
mov edx, 0x22
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x4bfdc0
nop
add eax, 2
cmp cx, dx
je 0x4bfdc0
movzx ecx, word [eax]
test cx, cx
jne 0x4bfdb0
movzx ecx, word [eax]
cmp cx, 0x20
jne 0x4bfdf8
lea esp, [esp]
add eax, 2
test cx, cx
je 0x4bfdf3
movzx ecx, word [eax]
cmp cx, 0x20
je 0x4bfdd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, 0x57bcd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4c0670
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call esi
cmp dword [esp + 0x14], 2
je 0x4c06b9
xor al, al
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0051916c
add esp, 0x120
ret
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x4c06a1
jbe 0x4c06dc
mov al, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0051916c
add esp, 0x120
ret
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
cmp dword [esp + 0xc], 0
mov ecx, dword [esp + 0x120]
setne al
pop esi
xor ecx, esp
call fcn.0051916c
add esp, 0x120
ret

Function at 0x4c09a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
push 0x57a1c4
push 0x17
push 0
push 0x58e934
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4c0a07
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4c09cd
mov ecx, str.rootSecurityCenter
mov eax, dword [esi]
mov edx, dword [eax]
add edi, 8
push edi
push 0
push 0
push 0x80
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
test edi, edi
jge 0x4c0a05
mov eax, dword [esi]
test eax, eax
je 0x4c0a05
mov dword [esi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x4c10e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x560458
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov dword [esp + 0x18], vtable.cWCSF.0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push 1
push 0
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edx, [esp + 0x2c]
push 0x56cab8
push edx
mov dword [esp + 0x4c], 0
call fcn.00403e80
add esp, 0x10
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea ecx, [esp + 0x18]
setne bl
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x18], vtable.cWCS.0
call fcn.0049ee80
test bl, bl
je 0x4c1189
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x56e024
push edx
call fcn.004b42b0
add esp, 0x18
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
je 0x4c11f3
cmp dword [esp + 0x14], 1
jne 0x4c11c5
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x40]
jbe 0x4c11c9
xor esi, esi
jmp 0x4c11f3
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x56e024
push ecx
call fcn.004b42b0
add esp, 0x18
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x4c25f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56058b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4c2817
cmp byte [esi], 0
je 0x4c2817
push 0xffffffffffffffff
push str.NO_STATUS
push esi
call fcn.00434f50
add esp, 0xc
test al, al
jne 0x4c2817
mov eax, dword [str.ASSIGNED]
mov ecx, dword [str.MODIFIED]
mov edx, dword [str.DELETED]
mov dword [esp + 0x14], eax
mov eax, dword [str.STARTED]
mov dword [esp + 0x1c], ecx
mov ecx, dword [str.FINISHED]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [str.RESUMED]
mov eax, str.Cancelled
mov dword [esp + 0x24], edx
mov edx, dword [str.STOPPED]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [str.PAUSED]
mov dword [esp + 0x54], ecx
mov ecx, dword [str.DETAILS]
mov dword [esp + 0x3c], edx
mov edx, dword [str.TERMINATED]
mov dword [esp + 0x4c], eax
mov eax, dword [str.ERROR]
mov dword [esp + 0x6c], ecx
mov ecx, dword [str.SKIPPED]
mov dword [esp + 0x5c], edx
mov edx, dword [str.ARRIVED]
mov dword [esp + 0x64], eax
mov eax, dword [str.UPDATING]
mov dword [esp + 0x84], ecx
mov ecx, dword [str.QUEUED_ASAP]
mov dword [esp + 0x74], edx
mov edx, dword [str.QUEUED]
mov dword [esp + 0x7c], eax
mov eax, str.Queued
ret
push edi
add byte [edx - 1], ch
mov dword [esp + 0x98], ecx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], str.Assigned
mov dword [esp + 0x28], str.Modified
mov dword [esp + 0x30], str.Deleted
mov dword [esp + 0x38], str.Started
mov dword [esp + 0x40], str.Finished
mov dword [esp + 0x58], str.Paused
mov dword [esp + 0x60], str.Resumed
mov dword [esp + 0x68], 0x57c2e8
mov dword [esp + 0x70], str.Failed
mov dword [esp + 0x78], str.Details
mov dword [esp + 0x80], str.Arrived
mov dword [esp + 0x88], str.Updating
mov dword [esp + 0x90], 0x57c2bc
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
call fcn.0049b4e0
mov dword [esp + 0xa4], 0
mov esi, 0x11
nop
mov edx, dword [esp + esi*8 + 0xc]
dec esi
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x10]
call fcn.0049b150
test al, al
jne 0x4c27e6
test esi, esi
jne 0x4c27a0
lea ecx, [esp + 8]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0049ac30
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xa0
ret
mov esi, dword [esp + esi*8 + 0x18]
lea ecx, [esp + 8]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0049ac30
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xa0
ret
mov eax, str.No_status
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xa0
ret
Function at 0x4c3240
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x5606d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004c1850
xor ebx, ebx
mov dword [edi], vtable.cGlobalThreadBlock.0
ret
push edi
add byte [ecx - 0x76e3dba4], cl
pop edi
mov dword fs:[edi + 0x68], ebx
mov byte [edi + 0x6c], 1
lea esi, [edi + 0x70]
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00464650
or eax, 0xffffffff
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
lea esi, [edi + 0x178]
mov dword [esi + 0x18], 0xbcdd
mov byte [esi + 0x1c], bl
push esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], 0xbcaa
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4c5f80
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x560cc1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebp, [esi + 8]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov byte [ebp + 0xc], bl
mov dword [ebp + 4], ebx
lea edi, [esi + 0x20]
mov dword [esi], vtable.cMessageManager_class_cAppliedUserItem_.0
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [esp + 0x24], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
lea edi, [esi + 0x51]
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
mov eax, dword [esp + 0x30]
push ebx
push 0xffffffffffffffff
push eax
mov byte [esp + 0x2c], 2
call fcn.00402e30
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ebx
push ebx
push 0x64
mov dword [esi + 0x90], ecx
push ebx
mov ecx, ebp
mov dword [esi + 0x94], eax
mov dword [esi + 0x84], 0xffffffff
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
call fcn.0049bb20
push ebx
call fcn.005199c5
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x8c], edx
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
mov byte [esi + 0xb0], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa4]
mov dword [eax], ebx
cmp ecx, ebx
jne 0x4c60d1
push eax
push ebx
push esi
push 0x4c5e00
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
jmp 0x4c60e6
push 0xffffffffffffffff
lea edx, [esi + 0x1c]
push edx
push ecx
push esi
push 0x4c5e00
call fcn.004b4fd0
add esp, 0x14
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4c6d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x560f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi], 0x627470
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call fcn.00402e30
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 1
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00421370
mov dword [esi + 0x14], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x4c75b0
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x561071
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebp, [esi + 8]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov byte [ebp + 0xc], bl
mov dword [ebp + 4], ebx
lea edi, [esi + 0x20]
mov dword [esi], vtable.cMessageManager_class_cJsonMessage_.0
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [esp + 0x24], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
lea edi, [esi + 0x51]
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
mov eax, dword [esp + 0x30]
push ebx
push 0xffffffffffffffff
push eax
mov byte [esp + 0x2c], 2
call fcn.00402e30
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ebx
push ebx
push 0x64
mov dword [esi + 0x90], ecx
push ebx
mov ecx, ebp
mov dword [esi + 0x94], eax
mov dword [esi + 0x84], 0xffffffff
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
call fcn.0049bb20
push ebx
call fcn.005199c5
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x8c], edx
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
mov byte [esi + 0xb0], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa4]
mov dword [eax], ebx
cmp ecx, ebx
jne 0x4c7701
push eax
push ebx
push esi
push 0x4c7430
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
jmp 0x4c7716
push 0xffffffffffffffff
lea edx, [esi + 0x1c]
push edx
push ecx
push esi
push 0x4c7430
call fcn.004b4fd0
add esp, 0x14
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4c9890
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x561421
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebp, [esi + 8]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov byte [ebp + 0xc], bl
mov dword [ebp + 4], ebx
lea edi, [esi + 0x20]
mov dword [esi], vtable.cMessageManager_class_cTaskLogMessage_.0
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [esp + 0x24], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
lea edi, [esi + 0x51]
mov dword [edi + 0x18], 0xbcdd
mov byte [edi + 0x1c], bl
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
mov eax, dword [esp + 0x30]
push ebx
push 0xffffffffffffffff
push eax
mov byte [esp + 0x2c], 2
call fcn.00402e30
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ebx
push ebx
push 0x64
mov dword [esi + 0x90], ecx
push ebx
mov ecx, ebp
mov dword [esi + 0x94], eax
mov dword [esi + 0x84], 0xffffffff
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
call fcn.0049bb20
push ebx
call fcn.005199c5
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x8c], edx
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
mov byte [esi + 0xb0], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa4]
mov dword [eax], ebx
cmp ecx, ebx
jne 0x4c99e1
push eax
push ebx
push esi
push 0x4c94e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
jmp 0x4c99f6
push 0xffffffffffffffff
lea edx, [esi + 0x1c]
push edx
push ecx
push esi
push 0x4c94e0
call fcn.004b4fd0
add esp, 0x14
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4cb440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x561720
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
mov ecx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], cl
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xbc00
mov byte [esp + 0x14], al
mov byte [esp + 0x38], cl
mov dword [esp + 0x24], ecx
or esi, 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.cCurrentUsers.0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.004cb420
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x40], esi
call fcn.004ca480
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
call fcn.004357a0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x56198b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov dword [esi], vtable.cBCPipe.0
mov dword [edi + 0x18], 0xbcdd
xor ebx, ebx
mov byte [edi + 0x1c], bl
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0xffffffff
mov byte [edi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x18], 0xbcaa
mov eax, dword [esp + 0x24]
push ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
call fcn.00402e30
mov cl, byte [esp + 0x34]
mov dl, byte [esp + 0x38]
push ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x50], ebx
mov byte [esi + 0x44], cl
mov byte [esi + 0x45], dl
mov dword [esi + 0x40], ebx
call fcn.00402e30
add esp, 0x18
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4ce4b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x561b78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xe8]
push 0xffffffffffffffff
push str.pipeIsCreated
push eax
call fcn.00434f50
add esp, 0xc
test al, al
je 0x4ce505
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
cmp byte [esp + 0x28], 0
je 0x4ce57b
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4ce57b
cmp word [eax], 0
je 0x4ce57b
cmp dword [esi + 0x80], 0
jne 0x4ce57b
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10]
call fcn.004013c0
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.004cd8e0
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x104]
push 0
push 1
push 0
push edx
push 0
push eax
call fcn.0042e480
add esp, 0x18
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 8], vtable.cWCS.0
call fcn.0049ee80
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
mov eax, dword [esi + 0xe0]
push ecx
mov ecx, dword [esi + 0xdc]
push edx
mov edx, dword [esi + 0xd8]
push eax
mov eax, dword [esi + 0xb8]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov edx, dword [esi + 0xa4]
push eax
mov eax, dword [esi + 0xa0]
push ecx
mov ecx, dword [esi + 0x80]
push edx
mov edx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [esi + 0x68]
push edx
mov edx, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 0x100]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.004ce120
add esp, 0x58
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4