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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543d38
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x579aa4]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.004070e0
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.0040a840
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0050b4cd
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x409d27
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.0050b1b4
mov eax, dword [edi + 4]
test eax, eax
jbe 0x409d05
cmp eax, 0xffffffff
jae 0x409d05
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.0050b1dc
test esi, esi
je 0x409d27
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x409d35
lea ecx, [ebp + 0xc]
call fcn.0040c840
cmp byte [ebp + 0x18], 0
jne 0x409d43
lea ecx, [ebp + 0x14]
call fcn.0040c840
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x409d77
cmp dword [ebp + 0x14], ecx
je 0x409d7d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x409d86
cmp dword [esp + 0x10], 0
jne 0x409d86
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x409d89
cmp dword [ebp + 0x14], 0
je 0x409d4f
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x409d53
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 0x20
Function at 0x409dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543d08
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x579aa4]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.004070e0
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x10]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.0040a840
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0050b5aa
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x409eb7
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.0050b1b4
mov eax, dword [edi + 4]
test eax, eax
jbe 0x409e95
cmp eax, 0xffffffff
jae 0x409e95
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x2c]
and esi, edi
call fcn.0050b1dc
test esi, esi
je 0x409eb7
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x409ec5
lea ecx, [ebp + 0xc]
call fcn.0040c840
cmp byte [ebp + 0x18], 0
jne 0x409ed3
lea ecx, [ebp + 0x14]
call fcn.0040c840
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x409f07
cmp dword [ebp + 0x14], ecx
je 0x409f0d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x409f16
cmp dword [esp + 0x10], 0
jne 0x409f16
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x409f19
cmp dword [ebp + 0x14], 0
je 0x409edf
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x409ee3
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 0x20
Function at 0x40a660
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5410db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0050b053
push 4
mov dword [esp + 0x24], 0
call fcn.0050cb21
mov edi, eax
add esp, 4
test edi, edi
je 0x40a6e2
call fcn.0050bb77
mov dword [edi], eax
call fcn.0050b97b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0050b1b4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40a6d7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0050b1dc
jmp 0x40a6e4
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40f360
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x548640
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x224], 0
jne 0x40f4bd
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00405ab0
push str.360TSCommon.dll
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x34], 0
call fcn.00404ee0
add esp, 0x14
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f3e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
mov ecx, esi
call fcn.0040f500
test al, al
je 0x40f49c
push 0
push edi
mov ecx, 0x57fba0
call fcn.00453ed0
test eax, eax
je 0x40f49c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x40f431
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
jmp 0x40f4af
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenLinkLowPermission
push eax
call edi
mov ecx, dword [esi]
push str.GetEdition
push ecx
mov dword [esi + 0x20c], eax
call edi
mov edx, dword [esi]
push str.UpdateTrialInfo
push edx
mov dword [esi + 0x210], eax
call edi
mov dword [esi + 0x214], eax
mov eax, dword [esi]
push str.GetThemeName
push eax
call edi
mov ecx, dword [esi]
push str.ValidateTheme
push ecx
mov dword [esi + 0x218], eax
call edi
mov edx, dword [esi]
push str.GetMachineSpec
push edx
mov dword [esi + 0x21c], eax
call edi
mov dword [esi + 0x220], eax
mov byte [esi + 0x224], 1
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40f4bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40f850
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.0050c860
mov eax, dword [0x579aa4]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x201c]
cmp esi, ebx
je 0x40f90c
push 0x1fff
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call fcn.0050c770
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x40f90c
cmp eax, 0x1fff
ja 0x40f90c
lea edx, [esp + 0x14]
push edx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40f8f3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x55c9e4
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f8f3
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp], edx
mov bl, 1
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.0050c75f
add esp, 0x2010
ret
mov ecx, dword [esp + 0x2014]
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0050c75f
add esp, 0x2010
ret
Function at 0x410890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x546f69
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x579aa4]
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], vtable.CSiteHelper.0
mov dword [esi + 8], ebx
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x20], ebx
call fcn.00418b60
lea eax, [esi + 0x2c]
push eax
mov byte [esp + 0x20], 1
call fcn.00419090
lea eax, [esi + 0x54]
mov byte [esp + 0x1c], 2
push eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
call fcn.00416b10
lea ecx, [esi + 0x6c]
push ecx
mov byte [esp + 0x20], 3
call fcn.00416c70
push 0x4100f0
push 0x4100e0
push 2
push 0x1c
lea edx, [esi + 0x84]
push edx
mov byte [esp + 0x30], 4
call fcn.00514be3
push 0x416080
push fcn.00416020
push 2
push 0x18
lea eax, [esi + 0xbc]
push eax
mov byte [esp + 0x30], 5
call fcn.00514be3
lea eax, [esi + 0xec]
mov byte [esp + 0x1c], 6
push eax
mov byte [esp + 0x13], bl
call fcn.00419e40
lea eax, [esi + 0x10c]
mov byte [esp + 0x1c], 7
push eax
mov byte [esp + 0x13], bl
call fcn.00419e40
lea ecx, [esi + 0x130]
mov byte [esp + 0x1c], 8
push ecx
mov dword [esi + 0x12c], ebx
call fcn.004173f0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x412b70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x541058
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x30], 0
cmp dword [esp + 0x38], 0
je 0x412ce2
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, 1
cmp eax, ecx
je 0x412cca
test byte [0x57ec18], cl
jne 0x412bee
or dword [0x57ec18], ecx
mov ecx, 0x57ec1c
call fcn.00401620
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [0x57ec1c]
sub esi, eax
cmp byte [0x57ec28], 0
je 0x412c68
cmp ecx, 0x64
je 0x412c2a
push 0x64
push ecx
push eax
call edi
mov ecx, dword [0x57ec1c]
mov dword [esp + 0x18], eax
cmp byte [0x57ec28], 0
je 0x412c68
cmp ecx, 0x64
je 0x412c4c
mov eax, dword [esp + 0x1c]
push 0x64
push ecx
push eax
call edi
mov ecx, dword [0x57ec1c]
mov dword [esp + 0x1c], eax
cmp byte [0x57ec28], 0
je 0x412c68
cmp ecx, 0x64
je 0x412c68
push 0x64
push ecx
push esi
call edi
mov ecx, dword [0x57ec1c]
jmp 0x412c6a
mov eax, esi
mov edx, dword [esp + 0x18]
add eax, edx
cmp byte [0x57ec28], 0
mov dword [esp + 0x20], eax
je 0x412c8a
cmp ecx, 0x64
je 0x412c8a
push 0x64
push ecx
push ebx
call edi
jmp 0x412c8c
mov eax, ebx
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
add dword [esp + 0x20], eax
push 0
lea edx, [esp + 0x1c]
push edx
call fcn.0042b0a0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
test eax, eax
je 0x412ce2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x416de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5480aa
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov ecx, dword [0x57f2b4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, ecx
jne 0x416e34
mov edx, dword [ebp]
nop
cmp dword [eax + 0xc], edx
jae 0x416e2a
mov eax, dword [eax + 8]
jmp 0x416e2e
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x416e20
mov edi, dword [0x57f29c]
mov esi, ecx
test edi, edi
je 0x416e44
cmp edi, edi
je 0x416e49
call fcn.0050dcae
cmp ebx, esi
je 0x416e55
mov eax, dword [ebp]
cmp eax, dword [ebx + 0xc]
jae 0x416ec8
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x78], 0
call fcn.00419e40
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], 0
mov edx, dword [ebp]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x44], edx
call fcn.004171f0
push ebx
push edi
lea edx, [esp + 0x44]
push edx
lea ebx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.00419b20
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
call fcn.00417f10
lea esi, [esp + 0x1c]
mov dword [esp + 0x6c], 2
call fcn.0041a3a0
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050c4ec
add esp, 4
test edi, edi
jne 0x416ef4
call fcn.0050dcae
cmp ebx, dword [edi + 0x18]
jne 0x416edb
call fcn.0050dcae
lea eax, [ebx + 0x10]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
mov edi, dword [edi]
jmp 0x416ed1
Function at 0x4253b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54312b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x24], 0
call eax
mov esi, dword [esp + 0x1c]
push 0xc
call fcn.0050cb21
add esp, 4
test eax, eax
je 0x425417
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax], esi
jmp 0x425419
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [ebx], eax
test eax, eax
jne 0x425431
push 0x8007000e
call fcn.0050a1f0
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x42a9d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5464c0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CFontIcon.0
mov eax, dword [0x57d4ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x57d4ac
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x14], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x57d4ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x57d4ac
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x14], 2
mov eax, dword [0x57d4ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x57d4ac
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x14], 3
mov eax, dword [0x57d4ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x57d4ac
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x14], 4
xor eax, eax
mov word [esi + 0x64], ax
mov dword [esi + 0x98], ebx
mov byte [esi + 0xbc], 0xff
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], 3
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov edx, dword [0x57d4ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x57d4ac
call eax
add eax, 0x10
mov dword [esi + 0xd8], eax
mov byte [esp + 0x14], 5
mov edx, dword [0x57d4ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x57d4ac
call eax
add eax, 0x10
mov dword [esi + 0xdc], eax
mov byte [esp + 0x14], 6
mov eax, 1
lea ecx, [esi + 0xec]
mov dword [esi + 0xe0], eax
mov byte [esi + 0xe4], bl
mov byte [esi + 0xe5], bl
mov dword [esi + 0xe8], eax
call fcn.00416020
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
or eax, 0xffffffff
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbd], ebx
mov dword [esi + 0x9c], 9
mov dword [esi + 0xa0], 0x190
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x42b0a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x540df0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.004100a0
mov dword [esp + 0x38], 0
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x42b0f7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [esp + 0x18]
call fcn.00421f70
test eax, eax
jge 0x42b111
cmp eax, 0x80004002
je 0x42b111
push eax
call fcn.0050a1f0
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42b126
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x14]
test esi, esi
je 0x42b235
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
je 0x42b226
test byte [0x57ec18], 1
jne 0x42b17e
or dword [0x57ec18], 1
mov ecx, 0x57ec1c
call fcn.00401620
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
sub ecx, edx
cmp byte [0x57ec28], 0
mov edi, ecx
mov ecx, dword [0x57ec1c]
mov ebp, eax
je 0x42b1f4
cmp ecx, 0x64
je 0x42b1b6
push 0x64
push ecx
push edx
call esi
mov ecx, dword [0x57ec1c]
mov dword [esp + 0x20], eax
cmp byte [0x57ec28], 0
je 0x42b1f4
cmp ecx, 0x64
je 0x42b1d8
mov eax, dword [esp + 0x24]
push 0x64
push ecx
push eax
call esi
mov ecx, dword [0x57ec1c]
mov dword [esp + 0x24], eax
cmp byte [0x57ec28], 0
je 0x42b1f4
cmp ecx, 0x64
je 0x42b1f4
push 0x64
push ecx
push edi
call esi
mov ecx, dword [0x57ec1c]
jmp 0x42b1f6
mov eax, edi
mov edx, dword [esp + 0x20]
add eax, edx
cmp byte [0x57ec28], 0
mov dword [esp + 0x28], eax
je 0x42b216
cmp ecx, 0x64
je 0x42b216
push 0x64
push ecx
push ebp
call esi
jmp 0x42b218
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x24]
push eax
push esi
call ecx
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x42b249
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 8
Function at 0x42e770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x549140
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.00405520
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x18]
call fcn.00430560
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [0x57f2d4]
test edi, edi
je 0x42e7ed
cmp edi, dword [0x57f2bc]
je 0x42e7f2
call fcn.0050dcae
cmp ebp, ebx
je 0x42e825
test edi, edi
jne 0x42e821
call fcn.0050dcae
cmp ebp, dword [edi + 0x18]
jne 0x42e809
call fcn.0050dcae
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov edi, dword [edi]
jmp 0x42e7ff
mov ecx, dword [esp + 0x40]
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044ee70
add esp, 0xc
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x18]
call fcn.00470fe0
mov ebx, 1
mov ebp, eax
cmp byte [esp + 0x44], bl
jne 0x42e8bf
push ebp
call fcn.00427540
mov edi, eax
add esp, 4
test edi, edi
je 0x42e8af
push esi
lea ecx, [esp + 0x20]
call fcn.00405520
mov dword [esp + 0x20], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x40], bl
call fcn.004303e0
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e8ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10], edi
test ebp, ebp
je 0x42e8c3
mov edx, dword [ebp]
mov eax, dword [edx]
push ebx
mov ecx, ebp
call eax
jmp 0x42e8c3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e8eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 8