Function at 0x5ab040
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cbf70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [0x6102e4]
push edi
lea eax, [esp + 0x88]
mov ebx, ecx
mov ecx, dword [0x692c68]
push eax
push ecx
call esi
mov eax, dword [ebx + 4]
lea edx, [esp + 0x78]
push edx
push eax
call esi
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
push 1
sub eax, esi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
push esi
sub eax, edx
push ecx
mov ecx, dword [ebx + 4]
sar edi, 1
add edi, dword [esp + 0x98]
sar eax, 1
add eax, dword [esp + 0x94]
push edi
push eax
push ecx
call dword [0x610300]
push 0xd
xor edi, edi
push str.IDC_LIST_FONT
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.00401430
lea eax, [esp + 0x28]
mov dword [esp + 0x114], edi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 8]
push eax
lea esi, [ebx + 0xc]
push 0x3fc
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x114], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x5ab154
mov eax, dword [esp + 0x28]
push eax
call fcn.0048f06d
add esp, 4
mov eax, dword [ebx + 0x14]
push edi
push edi
mov edi, dword [0x6102b4]
push 0x1037
push eax
call edi
mov ecx, dword [esi + 8]
push 0xfffffffffffffffc
push ecx
mov dword [esp + 0x18], eax
call dword [0x6102fc]
mov edx, dword [esi + 8]
push 0x4d9b50
push 0xfffffffffffffffc
push edx
mov dword [esi + 4], eax
call dword [0x6103c0]
mov eax, dword [esi + 8]
push esi
push 0x62ff5c
push eax
call dword [0x610370]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x14]
and eax, 0xfffffefe
push eax
push 0
push 0x1036
push ecx
call edi
push 0
push 0x626907
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00401430
xor eax, eax
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 8]
push 0x101b
push eax
mov dword [esp + 0x54], 2
mov dword [esp + 0x5c], 0x64
call edi
mov edx, dword [esi + 8]
xor ecx, ecx
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x98], 5
jae 0x5ab278
lea ecx, [esp + 0x28]
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0x98]
push ecx
push eax
push 0x101a
push edx
call edi
cmp dword [esp + 0x3c], 0x10
jb 0x5ab2a4
mov edx, dword [esp + 0x28]
push edx
call fcn.0048f06d
add esp, 4
mov ecx, dword [ebx + 0x14]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [0x6103e4]
mov edx, dword [ebx + 0x14]
xor eax, eax
mov dword [esp + 0x44], eax
push 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], 2
call dword [0x6102c8]
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
lea edx, [esp + 0x44]
push edx
push 0
sub ecx, eax
mov eax, dword [esp + 0x1c]
push 0x101a
push eax
mov dword [esp + 0x5c], ecx
call edi
cmp dword [0x6a4c8c], 0x10
mov eax, dword [0x6a4c78]
jae 0x5ab323
mov eax, 0x6a4c78
push eax
push 0
mov ecx, dword [0x6a5b28]
push 2
push 0
push 7
push 0x80
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push ecx
call dword [0x610060]
mov edx, dword [ebx + 0x14]
push 0
push eax
push 0x30
push edx
mov dword [esp + 0x20], eax
call edi
mov eax, dword [esp + 0x10]
push eax
call dword [0x610070]
mov ecx, dword [0x6a7424]
sub ecx, dword [0x6a7420]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x18], 0
je 0x5ab587
mov dword [esp + 0x1c], 0
push 0x34
lea edx, [esp + 0x9c]
push 0
push edx
call fcn.00493600
mov eax, dword [esi + 8]
add esp, 0xc
push 0
push 0
push 0x1004
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0x98]
push ecx
push 0
push 0x1007
push edx
mov dword [esp + 0xac], eax
call edi
mov ecx, dword [esp + 0x1c]
add ecx, dword [0x6a7420]
push 0x34
lea edx, [esp + 0x48]
push 0
push edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x1c], ecx
call fcn.00493600
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], 0
jb 0x5ab438
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
jmp 0x5ab43c
mov dword [esp + 0x58], eax
mov eax, dword [esi + 8]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1006
push eax
call edi
mov ecx, dword [0x6a7420]
add ecx, dword [esp + 0x1c]
mov eax, 0x694058
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5ab464
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x10]
mov edx, eax
mov dword [esp + 0x20], eax
cmp edx, eax
jae 0x5ab484
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
cmp eax, edx
jb 0x5ab48e
mov eax, edx
cmp dword [ecx + 0x14], 0x10
jb 0x5ab498
mov edx, dword [ecx]
jmp 0x5ab49a
mov edx, ecx
push eax
mov ecx, 0x694058
call fcn.00401700
add esp, 4
test eax, eax
jne 0x5ab4f8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x5ab4f8
xor edx, edx
cmp eax, ecx
setne dl
mov eax, edx
test eax, eax
jne 0x5ab4f8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x14]
mov ecx, 3
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xd4]
push ecx
push edx
push 0x102b
push eax
call edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [0x6a7424]
sub ecx, dword [0x6a7420]
inc dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jb 0x5ab3a6
cmp dword [esp + 0x24], 0
jl 0x5ab587
mov edx, dword [esi + 8]
push 0
push 0
push 0x1004
push edx
call edi
push 0
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
push 0x102f
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push 0
push 0x1028
push ecx
call edi
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
lea eax, [eax + edx - 1]
cmp eax, ecx
jl 0x5ab579
lea eax, [ecx - 1]
push 0
push eax
mov eax, dword [esi + 8]
push 0x1013
push eax
call edi
mov ecx, dword [ebx + 0x14]
push ecx
call dword [0x610324]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret