joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x602d88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], edi
jge 0x42cc33
jmp 0x42cbe0
lea eax, [esi + esi*8]
mov ecx, dword [ebp + eax*4]
mov edx, dword [ebp + eax*4 - 0x24]
lea eax, [ebp + eax*4]
cmp ecx, edx
jne 0x42cbf9
mov ecx, dword [eax + 4]
cmp ecx, dword [eax - 0x20]
setl al
test al, al
je 0x42cc01
dec esi
lea edx, [esi + esi*8]
lea eax, [ebp + edx*4]
mov edx, dword [eax]
lea ecx, [edi + edi*8]
lea ecx, [ebp + ecx*4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
push 0
add eax, 8
mov dword [ecx + 4], edx
push eax
add ecx, 8
call fcn.00402410
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebx
jl 0x42cbe0
jne 0x42cc62
lea eax, [ebx + ebx*8]
mov edx, dword [ebp + eax*4 - 0x24]
lea eax, [ebp + eax*4 - 0x24]
lea ecx, [edi + edi*8]
lea ecx, [ebp + ecx*4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
push 0
add eax, 8
mov dword [ecx + 4], edx
push eax
add ecx, 8
call fcn.00402410
lea edi, [ebx - 1]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], esp
mov dword [ecx + 4], eax
xor edx, edx
push 0xffffffffffffffff
add ecx, 8
push edx
lea eax, [esp + 0x70]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.00402410
mov ecx, dword [esp + 0x3c]
push ecx
push edi
push ebp
call fcn.0042b760
add esp, 0x34
cmp dword [esp + 0x58], 8
jb 0x42ccc4
mov edx, dword [esp + 0x44]
push edx
call fcn.005be738
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42cd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x602dd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea ecx, [esi + 8]
push ecx
lea ecx, [eax + 8]
mov dword [esp + 0x20], 0
mov dword [eax + 4], edx
call fcn.00402410
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push edx
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
lea ecx, [eax + 8]
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x60]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov word [ecx + 4], ax
call fcn.00402410
mov ecx, dword [esp + 0x48]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0
push esi
call fcn.0042cb90
add esp, 0x34
cmp dword [esp + 0x48], 8
jb 0x42ce42
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005be738
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x607813
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CPnzNetRmiTypes::CUsConnectionInfo.0
call fcn.00431030
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], ebx
mov byte [esi + 0x10], bl
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 1
call fcn.004310c0
lea ecx, [esi + 0x30]
call fcn.00431150
lea ecx, [esi + 0x34]
call fcn.004e2640
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x43ae40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x604738
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [eax]
mov edx, dword [edx]
push 0x22
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call edx
push eax
mov dword [esp + 0x30], 0
call fcn.00489810
add esp, 4
cmp dword [esp + 0x20], 0x10
mov esi, eax
jb 0x43aea8
mov eax, dword [esp + 0xc]
push eax
call fcn.005be738
add esp, 4
cmp esi, 1
jge 0x43aec3
mov eax, 3
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
cmp esi, 5
mov eax, 5
jg 0x43aecf
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x43aee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x604738
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [eax]
mov edx, dword [edx]
push 0x23
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call edx
push eax
mov dword [esp + 0x30], 0
call fcn.00489810
add esp, 4
cmp eax, 1
sete bl
cmp dword [esp + 0x20], 0x10
jb 0x43af4c
mov eax, dword [esp + 0xc]
push eax
call fcn.005be738
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret

Function at 0x441f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], vtable.SPnzDbResult.0
call fcn.004e2640
mov dword [esp + 0x30], 0
call fcn.004efa10
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00441940
test al, al
je 0x442057
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
sub eax, 0
je 0x44208a
sub eax, 1
je 0x44207e
call fcn.004895c0
test al, al
jne 0x442057
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x442057
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
mov esi, dword [edi]
sar eax, 2
push eax
add esi, 0xc
call fcn.004efa10
mov ecx, eax
call fcn.00494790
mov ecx, dword [esi]
push eax
push str.One_record_Select__s_received__i_records
push 2
push 0xf0
push str.e:pnzbspnzbstemp_fbcversion037_00_srcpnzcodeutilsPnzDbCache.h
push 2
push edi
call ecx
add esp, 0x20
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00440dc0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
mov eax, dword [ecx]
mov ecx, dword [esp + 0x38]
push eax
call sym.start.exe_public:_class_CPnzWeakPtr_class_CPnzRouterNode_____thiscall_CPnzWeakPtr_class_CPnzRouterNode_::operator_class_CPnzRouterNode__
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00440dc0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
Function at 0x48f3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60bbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 8]
mov dword [esp + 0x48], ebx
mov dword [esi], vtable.CPnzLog.0
call fcn.004e2640
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0x50], 1
call fcn.0048cb60
lea ecx, [esi + 0x40]
mov byte [esp + 0x48], 2
call fcn.004e2640
mov byte [esi + 0x58], bl
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov word [esi + 0x60], cx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
xor edx, edx
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], ebx
mov word [esi + 0x84], dx
lea eax, [esi + 0x9c]
push eax
mov byte [esp + 0x4c], 5
call fcn.005588a0
add esp, 4
mov byte [esp + 0x48], 6
xor edi, edi
mov ecx, dword [edi*4 + 0x72a3e0]
mov eax, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x48f470
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403490
mov eax, edi
cdq
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x4c], 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.0048ed50
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.004021a0
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x48], 6
jb 0x48f4c9
mov eax, dword [esp + 0x28]
push eax
call fcn.005be738
add esp, 4
inc edi
cmp edi, 0x30
jb 0x48f452
mov ecx, esi
call fcn.0048dd80
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x494640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60c136
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebp, ebp
mov dword [esi + 4], ebp
lea edi, [esi + 8]
mov dword [esi], vtable.CPnzMtSharedMemory.0
mov dword [esp + 0x24], ebp
mov dword [edi], ebp
lea eax, [esp + 0x13]
push eax
lea edx, [esp + 0x17]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.00493b80
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x28], 2
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call fcn.005588a0
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch__const__
mov eax, dword [esp + 0x14]
mov byte [esp + 0x24], 2
cmp eax, ebp
je 0x4946fd
mov dword [esp + 0x14], ebp
mov edi, dword [eax + 4]
lea ecx, [edi + 4]
call fcn.00489550
test eax, eax
jne 0x4946fd
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
lea ecx, [edi + 8]
call fcn.00489550
test eax, eax
jne 0x4946fd
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret

Function at 0x494f10
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x60c1c4
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x24]
lea ecx, [edi + 4]
mov dword [edi], vtable.CPnzMetaInfo.0
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov byte [ecx + 4], 0
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494f60
sub eax, ebp
push eax
push esi
call fcn.00403490
lea ecx, [edi + 0x24]
mov dword [esp + 0x1c], 0
call fcn.004e2640
test byte [0x730558], 1
mov byte [esp + 0x1c], 1
jne 0x494fa9
or dword [0x730558], 1
mov ecx, 0x730158
mov byte [esp + 0x1c], 2
call fcn.004a48b0
mov byte [esp + 0x1c], 1
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x494fb0
sub eax, edx
mov ecx, eax
mov eax, 0xffffffff
mov edx, esi
je 0x494fe1
movzx ebp, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, ebp
shr eax, 8
xor eax, dword [esi*4 + 0x730158]
dec ecx
inc edx
test ecx, ecx
jne 0x494fc4
not eax
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x494ff0
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
Function at 0x495b10
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x60c2f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [ebx + 4], esi
mov edi, dword [esp + 0x30]
mov dword [ebx], vtable.CPnzMtMutex.0
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x24], esi
jb 0x495b62
mov eax, dword [edi + 4]
lea ebp, [edi + 4]
mov dword [esp + 0x14], ebp
jmp 0x495b6b
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
mov ebp, eax
push eax
movzx eax, byte [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 8], eax
cmp eax, esi
jne 0x495bdd
call fcn.004895c0
test al, al
jne 0x495bdd
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495bdd
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0x18], 0x10
mov esi, eax
jb 0x495bb4
mov ebp, dword [ebp]
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x10]
push eax
push ebp
push str.Cant_create_mutex__s:__d
push 0x28
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzMtMutex.cpp
push 2
push esi
call ecx
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
add esp, 0x1c
mov esi, dword [esp + 0x34]
test esi, esi
je 0x495be8
mov byte [esi], 0
cmp byte [esp + 0x2c], 0
je 0x495cae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x495c57
call fcn.004895c0
test al, al
jne 0x495c50
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495c50
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0x18], 0x10
jb 0x495c34
mov ecx, dword [ebp]
jmp 0x495c36
mov ecx, ebp
mov edx, dword [eax]
push ecx
push str.Mutex__s_already_exists
push 0x30
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzMtMutex.cpp
push 2
push eax
mov eax, dword [edx + 0x10]
call eax
add esp, 0x18
test esi, esi
je 0x495c57
mov byte [esi], 1
mov ecx, dword [ebx + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x495cae
call fcn.004895c0
test al, al
jne 0x495cae
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x495cae
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str.__initialOwner__::WaitForSingleObject_m_mutex__0___WAIT_OBJECT_0
push str.PnzAssert:__s
push 0x34
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzMtMutex.cpp
push 2
push eax
call edx
add esp, 0x18
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4a1580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60d262
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], vtable.CPnzFileLogOutput.0
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov dword [esp + 0x18], ebx
mov word [esi + 0x14], cx
xor edx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], dx
mov dword [esi + 0x60], eax
xor eax, eax
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], ax
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
mov byte [esi + 0x64], bl
call fcn.004a5c20
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 4
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
call fcn.00497020
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 5
call fcn.004a1050
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x14

Function at 0x4a4770
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
xor eax, eax
test dl, 1
je 0x4a4783
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x4a478f
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x4a4799
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x4a47a3
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x4a47ad
or eax, 8
shr ecx, 1
test cl, 1
je 0x4a47b7
or eax, 4
shr ecx, 1
test cl, 1
je 0x4a47c1
or eax, 2
test cl, 2
je 0x4a47c9
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
mov edi, edi
test al, 1
je 0x4a488d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x4a4880
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x4a4777
pop edi
pop esi
pop ebx
ret
Function at 0x4a5bd0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x4a5be3
mov eax, dword [esi]
jmp 0x4a5be5
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x4a5bf9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
cmp eax, 1
je 0x4a5c1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4a5c1a
cmp eax, 3
je 0x4a5c1a
xor al, al
ret
mov al, 1
ret
Function at 0x553cd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x62ec43
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x768d7c
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x768d7c
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x68b01b
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00553160
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x558d50
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x62f101
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xe4]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x558e37
cmp dword [esp + 0x44], 2
jne 0x558e37
cmp dword [esp + 0x38], 6
jb 0x558e37
lea ecx, [esp + 0x10]
call fcn.004a6cb0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe0], 0
call fcn.00401a40
push 0
push 0x101
lea ecx, [esp + 0x20]
push ecx
push 3
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 1
call fcn.004a72d0
test al, al
sete bl
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xdc], 0
jb 0x558e1f
mov edx, dword [esp + 0x1c]
push edx
call fcn.005be738
add esp, 4
test bl, bl
je 0x558e5f
lea ecx, [esp + 0x10]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004a6d30
xor al, al
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.005cd251
add esp, 0xd4
ret
push str.EnableLUA
lea ecx, [esp + 0x1c]
call fcn.00401a40
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 2
call fcn.004a7c00
test al, al
lea ecx, [esp + 0x18]
sete bl
call fcn.00401ac0
test bl, bl
je 0x558ea9
mov dword [esp + 0xc], 1
mov byte [esi], 1
jmp 0x558eb8
cmp dword [esp + 0xc], 0
je 0x558eb5
mov byte [esi], 1
jmp 0x558eb8
mov byte [esi], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004a6d30
mov al, 1
jmp 0x558e39
Function at 0x55c210
Capabilities:
Create pipe

Disassembly:
sub esp, 8
xor edx, edx
push esi
mov esi, ecx
cmp byte [esp + 0x14], dl
je 0x55c22b
cmp byte [esp + 0x18], dl
setne dl
lea edx, [edx + edx + 1]
jmp 0x55c236
cmp byte [esp + 0x18], dl
je 0x55c236
mov edx, 2
cmp byte [esp + 0x1c], 0
je 0x55c243
or edx, 0x80000
movzx ecx, byte [esp + 0x20]
or edx, 0x40000000
neg ecx
sbb ecx, ecx
and ecx, 4
cmp byte [esp + 0x24], 0
je 0x55c25f
or ecx, 2
fld dword [esp + 0x34]
push 0
fmul qword [0x697590]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x38]
fldcw word [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x55c306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004895c0
test al, al
jne 0x55c2fd
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x55c2fd
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push esi
push str.CreateNamedPipe___has_failed__error:__i
push 0x42
push 0x6ac450
push 2
push eax
call edx
add esp, 0x18
xor al, al
pop esi
add esp, 8
ret 0x28
mov al, 1
pop esi
add esp, 8
ret 0x28