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

Disassembly:
push 0xffffffffffffffff
push 0x4b7139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x4f7dc8
push edi
mov dword [esp + 0x28], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebp, [esi + 0x10]
mov dword [esp + 0x60], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov ecx, 0x529985
mov byte [esp + 0x60], 5
call fcn.00409200
mov ecx, dword [0x5297c4]
call fcn.0048abd0
mov ecx, eax
call fcn.00418c60
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x6c]
mov edi, eax
cmp ebp, edi
mov byte [esp + 0x60], 6
je 0x435f2e
mov ecx, ebp
call fcn.00410730
push edi
mov ecx, ebp
call fcn.0042b300
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x60], 5
je 0x435f64
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x435f64
cmp byte [ecx + 8], bl
je 0x435f55
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x435f64
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, ebp
call fcn.00403010
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 0x44
call fcn.00494d02
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x60], 7
je 0x435fb3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
push 1
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
mov ecx, eax
call fcn.0042bb20
jmp 0x435fb5
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 5
call fcn.00436a50
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 8
call fcn.00403010
mov edx, dword [eax]
push 0x80000000
mov ecx, eax
call dword [edx + 0x50]
lea ecx, [esp + 0x38]
call fcn.00403010
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x4c]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x436010
push 0x4ffd3c
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x4f19e8
call fcn.00494fe2
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x436023
mov edi, dword [ecx + 0x10]
mov edx, dword [esp + 0x3c]
cmp edx, edi
jb 0x43603a
push 0x4ffd2c
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x4f19ec
call fcn.00494fe2
mov edi, dword [ecx + 0xc]
imul edi, edx
mov ecx, ebp
add edi, eax
call fcn.00403010
mov ebp, eax
mov eax, dword [ebp]
lea edx, [esp + 0x2c]
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [edi]
push ecx
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], eax
call dword [edx + 0x64]
push eax
mov eax, dword [esp + 0x30]
push 0xa
mov ecx, ebp
call dword [eax + 4]
push 0x44
call fcn.00494d02
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x60], 9
je 0x4360c1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov dword [esp + 0x38], edx
call fcn.0042bb20
jmp 0x4360c3
xor eax, eax
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x64], 8
call fcn.00416750
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov byte [esp + 0x60], 5
je 0x436107
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x436107
cmp byte [ecx + 8], bl
je 0x4360f8
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x436107
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0xd0
call fcn.00494da6
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x60], 0xa
je 0x436140
push fcn.00416250
push fcn.004160f0
push 3
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], 3
call fcn.0049602b
jmp 0x436142
xor edi, edi
push ebx
push 3
lea ebp, [esi + 0x28]
push edi
mov ecx, ebp
mov byte [esp + 0x6c], 5
call fcn.004166f0
mov dword [esp + 0x10], ebx
lea esp, [esp]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x43616b
xor eax, eax
jmp 0x43616e
mov eax, dword [eax + 0x10]
cmp dword [esp + 0x10], eax
jge 0x436208
mov edx, dword [ebp]
cmp edx, ebx
je 0x4361da
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x43618a
xor ecx, ecx
jmp 0x43618d
mov ecx, dword [eax + 0x10]
mov edi, dword [ebp + 4]
cmp edi, ecx
jae 0x4361f1
cmp eax, ebx
je 0x43619d
mov eax, dword [eax + 0xc]
jmp 0x43619f
xor eax, eax
mov ecx, dword [esp + 0x10]
add edi, ecx
imul edi, eax
mov ecx, 0x529985
add edi, edx
call fcn.00409200
mov edx, dword [esp + 0x10]
mov eax, dword [edx*4 + 0x522080]
mov ecx, dword [0x5297c4]
push eax
push edi
call fcn.0041c570
test eax, eax
je 0x436449
inc dword [esp + 0x10]
jmp 0x436160
push 0x4ffd3c
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0x4f19ec
call fcn.00494fe2
push ebx
mov ecx, ebp
call fcn.00410900
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov edx, dword [esp + 0x18]
add edx, 8
mov ecx, 0x529985
mov dword [esi + 0x64], edx
call fcn.00409200
mov ecx, dword [0x5297c4]
push 2
call fcn.00419c30
mov ecx, 0x529985
call fcn.00409200
mov ecx, dword [0x5297c4]
push 4
call fcn.00419da0
mov ecx, 0x529985
call fcn.00409200
mov ecx, dword [0x5297c4]
push ebx
add ecx, 0x48
call fcn.00410900
mov eax, dword [eax + 8]
add eax, 2
lea edi, [eax + eax*2]
mov ecx, 0x529985
shl edi, 3
call fcn.00409200
mov ecx, dword [0x5297c4]
push ebx
add ecx, 0x48
call fcn.00410900
mov ebp, dword [eax + 8]
push 0x44
imul ebp, ebp, 0x16
call fcn.00494d02
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x60], 0xb
je 0x4362d0
push 1
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
call fcn.0042bb20
mov dword [esp + 0x10], eax
jmp 0x4362d4
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
mov byte [esp + 0x60], 5
je 0x436302
dec dword [ecx + 4]
jne 0x4362fc
cmp byte [ecx + 8], bl
je 0x4362ee
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x4362fc
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
cmp dword [esp + 0x10], ebx
je 0x436360
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x436316
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push 0x18
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], eax
call fcn.00494d02
add esp, 4
cmp eax, ebx
je 0x43633d
mov ecx, dword [esp + 0x10]
mov dword [eax], 0x4f5224
mov dword [eax + 0x14], ecx
jmp 0x43633f
xor eax, eax
mov dword [esi + 0x24], eax
mov ecx, 1
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x24]
mov byte [eax + 8], cl
mov eax, dword [esi + 0x24]
mov dword [eax + 0xc], 0x44
mov eax, dword [esi + 0x24]
mov dword [eax + 0x10], ecx
push 0x16
lea ecx, [esi + 0x44]
call fcn.00436a80
mov ecx, dword [esi + 0x64]
mov eax, 0x2e8ba2e9
imul ebp
sar edx, 2
add ecx, edi
mov eax, edx
shr eax, 0x1f
lea edi, [esi + 0x54]
add eax, edx
mov ebp, edi
mov dword [ebp], ebx
xor edx, edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], ecx
mov ecx, 0x5299c8
mov dword [ebp + 0xc], eax
call fcn.00403800
mov ecx, dword [0x529788]
push ebx
add ecx, 0x1c
call fcn.00410900
push ebx
lea ecx, [eax + 0x14]
call fcn.00410900
mov ecx, eax
call fcn.0044d780
dec eax
push 0x64
mov dword [esi + 0x50], eax
call fcn.00494d02
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
cmp ebp, ebx
mov byte [esp + 0x60], 0xd
je 0x436413
mov ecx, dword [edi]
mov eax, dword [edi + 8]
sub eax, ecx
push ebx
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, 0x521124
call fcn.00422a10
mov ecx, dword [esi + 0x50]
mov edx, dword [edi + 0xc]
push 1
push 0x16
push ecx
sub edx, dword [edi + 4]
mov ecx, dword [eax + 4]
imul edx, edx, 0x16
push edx
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.00436e00
jmp 0x436415
xor eax, eax
lea edi, [esi + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x64], 5
call fcn.00436c80
push ebx
mov ecx, edi
call fcn.00410900
mov eax, dword [eax + 0x54]
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.00436a10
mov ecx, esi
call fcn.00437820
push ebx
mov ecx, esi
call fcn.004365d0
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret