joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b79c
Capabilities:
Get number of processors

Disassembly:
add esp, 4
pop edx
cmp dword [ebp - 0xd78], 0
jne 0x41b7b8
mov dword [ebp - 0x33c], 0
jmp 0x41ba03
mov ecx, dword [ebp - 0xd78]
mov dword [ebp - 0x554], ecx
push edx
push edx
add esp, 4
and edx, 0x70f2
pop edx
push edx
push eax
add esp, 4
jmp 0x41b7db
pop edx
push edi
add edi, 0xe891
xor edi, 0x1b07
or edi, 0x10221
and edi, 0x16caa
pop edi
lea edx, [ebp - 0x1844]
mov dword [ebp - 0xd74], edx
mov eax, dword [ebp - 0x554]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd70], ecx
xor edx, edx
mov word [ebp - 0x234], dx
xor eax, eax
mov word [ebp - 0x38], ax
push eax
push edi
add esp, 4
and eax, 0xeea6
and eax, 0xb9dd
jmp 0x41b837
add eax, 0x7ae4
pop eax
push ebx
and ebx, 0xece6
add ebx, 0x8802
add ebx, 0x11684
pop ebx
mov ecx, dword [ebp - 0xd70]
mov dx, word [ecx]
mov word [ebp - 0x111e], dx
mov eax, dword [ebp - 0xd70]
add eax, 2
mov dword [ebp - 0xd70], eax
mov cx, word [ebp - 0x111e]
mov word [ebp - 0x234], cx
mov edx, dword [ebp - 0xd74]
mov ax, word [edx]
mov word [ebp - 0x1120], ax
mov ecx, dword [ebp - 0xd74]
add ecx, 2
mov dword [ebp - 0xd74], ecx
mov dx, word [ebp - 0x1120]
mov word [ebp - 0x38], dx
push edi
push ebx
add esp, 4
call 0x41b8bc
add byte [edi + 0x40], al
inc ebx
aaa
dec ebx
xor dh, byte [ebx]
push eax
add esp, 4
jmp 0x41b8c8
pop edi
push ebx
push esi
add esp, 4
and ebx, 0x74c8
sub ebx, 0x63fb
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x41b8f8
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1718], ecx
jmp 0x41b952
movzx eax, word [ebp - 0x234]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x41b820
movzx edx, word [ebp - 0x234]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x41b820
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x41b93c
mov dword [ebp - 0x1714], 0xffffffff
jmp 0x41b946
mov dword [ebp - 0x1714], 1
mov eax, dword [ebp - 0x1714]
mov dword [ebp - 0x1718], eax
cmp dword [ebp - 0x1718], 0
jne 0x41b99b
push eax
push ecx
add esp, 4
or eax, 0x7eb7
pop eax
push esi
push ecx
add esp, 4
or esi, 0x161e2
or esi, 0xbbda
or esi, 0x264d
pop esi
push ecx
xor ecx, 0x152bc
and ecx, 0x552b
pop ecx
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x33c], ecx
jmp 0x41ba03
push esi
sub esi, 0x17ed6
jmp 0x41b9a8
and esi, 0x4265
pop esi
push ebx
push ebx
add esp, 4
and ebx, 0x24ca
add ebx, 0x103a3
sub ebx, 0x12f04
sub ebx, 0x1773d
pop ebx
mov edx, dword [ebp - 0x554]
mov eax, dword [edx]
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
cmp ecx, dword [ebp - 0xd78]
je 0x41b9f9
mov edx, dword [ebp - 0x554]
cmp dword [edx + 0x30], 0
jne 0x41b7c4
mov dword [ebp - 0x33c], 0
Function at 0x41b8bc
Capabilities:
Get number of processors

Disassembly:
add esp, 4
pop edx
cmp dword [ebp - 0xd78], 0
jne 0x41b7b8
mov dword [ebp - 0x33c], 0
jmp 0x41ba03
mov ecx, dword [ebp - 0xd78]
mov dword [ebp - 0x554], ecx
push edx
push edx
add esp, 4
and edx, 0x70f2
pop edx
push edx
push eax
add esp, 4
jmp 0x41b7db
pop edx
push edi
add edi, 0xe891
xor edi, 0x1b07
or edi, 0x10221
and edi, 0x16caa
pop edi
lea edx, [ebp - 0x1844]
mov dword [ebp - 0xd74], edx
mov eax, dword [ebp - 0x554]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd70], ecx
xor edx, edx
mov word [ebp - 0x234], dx
xor eax, eax
mov word [ebp - 0x38], ax
push eax
push edi
add esp, 4
and eax, 0xeea6
and eax, 0xb9dd
jmp 0x41b837
add eax, 0x7ae4
pop eax
push ebx
and ebx, 0xece6
add ebx, 0x8802
add ebx, 0x11684
pop ebx
mov ecx, dword [ebp - 0xd70]
mov dx, word [ecx]
mov word [ebp - 0x111e], dx
mov eax, dword [ebp - 0xd70]
add eax, 2
mov dword [ebp - 0xd70], eax
mov cx, word [ebp - 0x111e]
mov word [ebp - 0x234], cx
mov edx, dword [ebp - 0xd74]
mov ax, word [edx]
mov word [ebp - 0x1120], ax
mov ecx, dword [ebp - 0xd74]
add ecx, 2
mov dword [ebp - 0xd74], ecx
mov dx, word [ebp - 0x1120]
mov word [ebp - 0x38], dx
push edi
push ebx
add esp, 4
call 0x41b8bc
add byte [edi + 0x40], al
inc ebx
aaa
dec ebx
xor dh, byte [ebx]
push eax
add esp, 4
jmp 0x41b8c8
pop edi
push ebx
push esi
add esp, 4
and ebx, 0x74c8
sub ebx, 0x63fb
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x41b8f8
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1718], ecx
jmp 0x41b952
movzx eax, word [ebp - 0x234]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x41b820
movzx edx, word [ebp - 0x234]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x41b820
movzx ecx, word [ebp - 0x234]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x41b93c
mov dword [ebp - 0x1714], 0xffffffff
jmp 0x41b946
mov dword [ebp - 0x1714], 1
mov eax, dword [ebp - 0x1714]
mov dword [ebp - 0x1718], eax
cmp dword [ebp - 0x1718], 0
jne 0x41b99b
push eax
push ecx
add esp, 4
or eax, 0x7eb7
pop eax
push esi
push ecx
add esp, 4
or esi, 0x161e2
or esi, 0xbbda
or esi, 0x264d
pop esi
push ecx
xor ecx, 0x152bc
and ecx, 0x552b
pop ecx
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x33c], ecx
jmp 0x41ba03
push esi
sub esi, 0x17ed6
jmp 0x41b9a8
and esi, 0x4265
pop esi
push ebx
push ebx
add esp, 4
and ebx, 0x24ca
add ebx, 0x103a3
sub ebx, 0x12f04
sub ebx, 0x1773d
pop ebx
mov edx, dword [ebp - 0x554]
mov eax, dword [edx]
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
cmp ecx, dword [ebp - 0xd78]
je 0x41b9f9
mov edx, dword [ebp - 0x554]
cmp dword [edx + 0x30], 0
jne 0x41b7c4
mov dword [ebp - 0x33c], 0
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 0x442300
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.004fa990
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 0x4423e7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
sub eax, 0
je 0x44241a
sub eax, 1
je 0x44240e
call fcn.004895c0
test al, al
jne 0x4423e7
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4423e7
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.004fa990
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 0x466290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6088c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
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 eax, eax
mov dword [esi + 4], eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CPnzRpcArgs::CUsTransferUnit.0
call fcn.00425750
mov ecx, dword [edi + 0x28]
add edi, 0x30
mov dword [esi + 0x28], ecx
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00425750
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x466610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x608923
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, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CPnzRpcArgs::CUsTransferUnit.0
call fcn.00465910
lea ecx, [esi + 0xc]
call fcn.004e2640
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 1
call fcn.004659a0
lea ecx, [esi + 0x2c]
call fcn.00465a30
lea ecx, [esi + 0x30]
call fcn.004e2640
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x479120
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60a170
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea edi, [esi + 8]
mov dword [esi], vtable.CPnzUpdClientP2PPeer.0
mov dword [esp + 0x1c], ebx
mov dword [edi], ebx
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
fldz
lea ecx, [esi + 0x4c]
fstp dword [esi + 0x34]
mov byte [esp + 0x1c], 4
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
call fcn.004e2640
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x28]
lea ecx, [esi + 0x64]
push edx
mov byte [esp + 0x24], 5
call fcn.00476830
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 6
call fcn.004e2640
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x20], 7
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], ecx
call fcn.005588a0
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x20], 8
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 + 0x24]
mov byte [esp + 0x1c], 7
cmp eax, ebx
je 0x479230
mov dword [esp + 0x24], ebx
mov edi, dword [eax + 4]
lea ecx, [edi + 4]
call fcn.00489550
test eax, eax
jne 0x479230
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
lea ecx, [edi + 8]
call fcn.00489550
test eax, eax
jne 0x479230
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
call fcn.004895c0
test al, al
jne 0x479274
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x479274
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 + 0xc]
push esi
push str.Constructed__this:__p
push 0x24
push 0x2d
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzUpdUtilsClientPnzUpdClientP2PPeer.cpp
push ebx
push eax
call edx
add esp, 0x1c
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 8
Function at 0x47a120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x60a2f8
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 eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea esi, [ebx + ebx + 2]
cmp esi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], ebx
jge 0x47a1c9
lea ecx, [esi + esi*2]
shl ecx, 4
lea eax, [ecx + ebp]
lea edx, [eax - 0x30]
push edx
push eax
call dword [esp + 0x1c]
add esp, 8
test al, al
je 0x47a189
dec esi
lea ebx, [ebx + ebx*2]
lea edi, [esi + esi*2]
push 0xffffffffffffffff
shl edi, 4
shl ebx, 4
push 0
add edi, ebp
add ebx, ebp
push edi
mov ecx, ebx
call fcn.00402410
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [ebx + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [ebx + 0x28], edx
mov ebx, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x47a16f
mov edi, dword [esp + 0x34]
cmp esi, edi
jne 0x47a1fe
lea ebx, [ebx + ebx*2]
lea eax, [edi + edi*2]
push 0xffffffffffffffff
shl eax, 4
shl ebx, 4
lea esi, [eax + ebp - 0x30]
add ebx, ebp
push 0
push esi
mov ecx, ebx
call fcn.00402410
mov ecx, dword [esi + 0x20]
mov dword [ebx + 0x20], ecx
mov edx, dword [esi + 0x24]
mov dword [ebx + 0x24], edx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
lea ebx, [edi - 1]
mov ecx, dword [esp + 0x14]
push ecx
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x48], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x74]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00402410
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
push ecx
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x98]
push ebx
push ebp
mov dword [esi + 0x28], eax
call fcn.00479e30
add esp, 0x40
cmp dword [esp + 0x50], 8
jb 0x47a270
mov edx, dword [esp + 0x3c]
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 0x486f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60b233
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, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.CPnzBuildInfoUpdatingFile.0
xor ecx, ecx
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], eax
mov dword [esp + 0x14], eax
mov word [esi + 0xc], cx
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call fcn.004e2640
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x48a9d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60b690
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [esp + 0x6c]
mov eax, dword [edi + 0x10]
mov ebx, dword [esp + 0x68]
xor esi, esi
sub eax, dword [edi + 0xc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
jne 0x48aa2e
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], esi
mov byte [ebx + 4], al
jmp 0x48ab90
add eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0044ee00
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x60], esi
jle 0x48aaf7
cmp ebp, eax
jb 0x48aa57
call fcn.005cdc9b
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + ebp]
mov bl, al
movzx eax, al
shr bl, 4
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x48aa71
dec eax
or eax, 0xfffffff0
inc eax
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
mov byte [esp + 0x17], al
cmp bl, 0xa
jb 0x48aa94
cmp esi, edx
jb 0x48aa8f
call fcn.005cdc9b
mov al, byte [esp + 0x17]
add bl, 0x37
jmp 0x48aaa4
cmp esi, edx
jb 0x48aaa1
call fcn.005cdc9b
mov al, byte [esp + 0x17]
add bl, 0x30
mov ecx, dword [esp + 0x24]
mov byte [esi + ecx], bl
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
cmp al, 0xa
jb 0x48aac8
cmp esi, edx
jb 0x48aac4
call fcn.005cdc9b
mov al, byte [esp + 0x17]
add al, 0x37
jmp 0x48aad7
cmp esi, edx
jb 0x48aad5
call fcn.005cdc9b
mov al, byte [esp + 0x17]
add al, 0x30
mov ecx, dword [esp + 0x24]
mov byte [esi + ecx + 1], al
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebp
add esi, 2
cmp ebp, eax
jl 0x48aa50
mov ebx, dword [esp + 0x30]
xor esi, esi
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x24]
jne 0x48ab06
call fcn.005cdc9b
mov edx, dword [esp + 0x24]
push edi
mov ebp, 0xf
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
call fcn.00403490
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], esi
push eax
mov ecx, ebx
mov byte [esp + 0x6c], 1
mov byte [ebx + 4], 0
call fcn.004021a0
cmp dword [esp + 0x50], 0x10
jb 0x48ab59
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005be738
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
cmp eax, esi
je 0x48ab77
push eax
call fcn.005be738
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.005be738
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005cd251
add esp, 0x50
ret
Function at 0x48c470
Capabilities:
Get disk size
Get memory capacity

Disassembly:
sub esp, 0x174
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x18], esi
xor ebp, ebp
call fcn.004895a0
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x48c4e0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
shrd eax, ebx, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
shrd eax, ebp, 0x14
shr ebx, 0x14
mov dword [esp + 0x18], eax
shr ebp, 0x14
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x48c521
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
shrd eax, esi, 0x14
shr esi, 0x14
shrd ecx, edi, 0x14
shr edi, 0x14
jmp 0x48c529
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push ebp
push edx
push ebx
push eax
push str.Disk_available_free_total__mb_:__I64i_I64i__phys_mem_avail_total__mb_:__I64i_I64i
lea ecx, [esp + 0xa4]
push 0x100
push ecx
call fcn.005d1bab
add esp, 0x2c
call fcn.004895c0
pop edi
pop esi
pop ebp
pop ebx
test al, al
jne 0x48c59c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x48c59c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push 0x251
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzLog.cpp
push 0
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x14
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.005cd251
add esp, 0x174
ret
Function at 0x48f890
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
mov edi, ecx
call fcn.005cddf0
add esp, 0xc
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x1c], 0x44
je 0x48f8e0
or dword [esp + 0x48], 0x100
push 0xfffffffffffffff6
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
jmp 0x48f8e4
mov bl, byte [esp + 0x70]
xor esi, esi
cmp byte [esp + 0x74], 0
je 0x48f8f2
mov esi, 0x10
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [eax + 8]
cmp dword [ecx + 0x14], eax
je 0x48f921
cmp dword [ecx + 0x18], edx
jb 0x48f91e
mov eax, dword [ecx + 4]
jmp 0x48f921
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x64]
cmp dword [ecx + 0x18], edx
jb 0x48f92f
mov ecx, dword [ecx + 4]
jmp 0x48f932
add ecx, 4
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x20]
push edx
push eax
push 0
push esi
movzx eax, bl
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48f9b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x58], eax
call fcn.004895c0
test al, al
jne 0x48f9a7
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x48f9a7
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [edi + 0x58]
mov ecx, dword [eax]
push edx
push str.New_process_cannot_be_started__i
push 0x23e
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzMtProcess.cpp
push 2
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x18
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret 0x1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x54
ret 0x1c