Function at 0x4139b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4549b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0xc0]
sub esi, dword [ebx + 0xbc]
push edi
mov dword [esp + 0x10], esi
je 0x413cf0
mov edi, dword [ebx + 0x70]
mov dword [esp + 0x14], edi
test edi, edi
je 0x413cf0
mov eax, dword [edi]
push dword [edi + 0x14]
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
cmp byte [ebx + 0xb4], 0
mov dword [esp + 0xc], eax
je 0x413a8f
mov eax, dword [edi]
push dword [edi + 0x14]
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0xb8]
imul eax, dword [edi + 0xc]
cdq
idiv esi
movq xmm0, qword [ebx + 0x30]
lea ecx, [esp + 0x40]
push ecx
movq qword [esp + 0x54], xmm0
movq xmm0, qword [ebx + 0x38]
lea ecx, [esp + 0x54]
push ecx
push dword [ebp + 8]
movq qword [esp + 0x64], xmm0
mov ecx, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebx + 0xa4]
push eax
lea edx, [ebx + 0x94]
push edx
lea esi, [ebx + 0x84]
push esi
lea ecx, [ebx + 0x30]
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.00413e40
cmp dword [ebx + 0xb8], 0
je 0x413cf0
mov eax, dword [esi]
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x90]
movq xmm0, qword [ebx + 0x30]
add ecx, eax
sub esi, eax
mov dword [esp + 0x30], ecx
lea eax, [esi + ecx]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
sub edx, ecx
movq qword [esp + 0x20], xmm0
movq xmm0, qword [ebx + 0x38]
add edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
movq qword [esp + 0x2c], xmm0
add eax, esi
lea ecx, [esp + 0x24]
push ecx
push dword [ebp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0x30]
cdq
mov esi, eax
mov eax, dword [ebx + 0xb8]
push edx
cdq
push esi
push edx
push eax
call fcn.0044d9c0
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
call fcn.00445950
mov esi, dword [ebx + 0x8c]
movq xmm0, qword [ebx + 0x30]
mov edi, dword [ebx + 0x84]
movq qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
movq xmm0, qword [ebx + 0x38]
mov ecx, esi
sub ecx, edi
add edx, ecx
mov ecx, dword [ebx + 0x38]
sub ecx, dword [ebx + 0xac]
sub edi, esi
add edi, eax
mov eax, dword [ebx + 0xa4]
add eax, ecx
add edi, edx
cmp edi, eax
cmovg edi, eax
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0x98]
mov dword [esp + 0x20], edx
add eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
add edx, dword [ebx + 0x94]
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edx
sub eax, dword [ebx + 0x94]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x30]
push ecx
add eax, edx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x40], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [ebx + 0xb8]
cmp eax, dword [ebx + 0xc0]
jl 0x413c6d
mov ecx, dword [ebx + 0xa4]
movq xmm0, qword [ebx + 0x30]
mov edx, dword [ebx + 0xac]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [ebx + 0x38]
mov eax, ecx
sub eax, edx
movq qword [esp + 0x28], xmm0
add eax, dword [esp + 0x28]
sub edx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xb0]
sub eax, dword [ebx + 0xa8]
add eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
add eax, ecx
lea ecx, [esp + 0x30]
push ecx
add edx, eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
cmp dword [ebx + 0xc4], 0
je 0x413cf0
mov eax, dword [ebx + 0xb8]
push 0
cdq
push 0x64
push edx
push eax
call fcn.0044d9c0
push dword [esp + 0x10]
push dword [esp + 0x1c]
push edx
push eax
call fcn.00445950
mov dword [esp + 0x1c], edx
mov edx, dword [section..data]
mov ecx, section..data
mov esi, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push esi
lea eax, [esp + 0x10]
push str._d__
push eax
mov dword [esp + 0x78], 0
call fcn.004012e0
add esp, 0xc
lea eax, [ebx + 0x30]
push 0x225
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [esp + 0xc]
call fcn.004018c0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc