Function at 0x432030
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59c6fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
xor edi, edi
cmp ebx, eax
mov dword [esp + 0x20], edi
jl 0x432233
inc ebx
cmp ebx, edi
jne 0x4320a1
mov esi, dword [ebp + 4]
cmp esi, edi
je 0x432096
mov ecx, eax
dec eax
test ecx, ecx
je 0x432087
lea ebx, [eax + 1]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
add esi, 0x60
dec ebx
jne 0x432079
mov eax, dword [ebp + 4]
push eax
call fcn.00571134
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x432233
mov edx, dword [ebp + 4]
cmp edx, edi
jne 0x432104
lea edi, [ebx + ebx*2]
shl edi, 5
push edi
call fcn.0057110b
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x4320ea
mov ecx, esi
call fcn.004315e0
add esi, 0x60
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], esi
jne 0x4320d6
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x432233
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x432193
cmp eax, ebx
jge 0x432178
mov ecx, ebx
lea esi, [eax + eax*2]
sub ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
lea ecx, [ecx + ecx*2]
shl esi, 5
shl ecx, 5
add esi, edx
mov edx, ecx
mov edi, esi
mov dword [esp + 0x14], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x43218b
lea edi, [eax + 1]
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x20], 2
je 0x432161
mov ecx, esi
call fcn.004315e0
add esi, 0x60
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x14], esi
jne 0x43214d
mov dword [ebp + 8], ebx
jmp 0x432233
jle 0x43218b
sub eax, ebx
push eax
lea eax, [ebx + ebx*2]
shl eax, 5
add eax, edx
push eax
call fcn.00432310
mov dword [ebp + 8], ebx
jmp 0x432233
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
jne 0x4321be
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4321b1
mov ecx, 4
jmp 0x4321be
cmp ecx, 0x400
jle 0x4321be
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebx, eax
jge 0x4321cb
mov dword [esp + 0x10], eax
jmp 0x4321d1
mov dword [esp + 0x10], ebx
mov eax, ebx
lea ecx, [eax + eax*2]
shl ecx, 5
push ecx
call fcn.0057110b
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x14], eax
shl ecx, 5
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub edx, ecx
lea ecx, [ecx + ecx*2]
push edx
shl ecx, 5
add ecx, eax
push ecx
call fcn.00432340
mov eax, dword [ebp + 4]
push eax
call fcn.00571134
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], edx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], eax
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x34]
lea esi, [esi + esi*2]
shl esi, 5
add esi, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
call fcn.00575c21
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + 0x14]
call fcn.00575c21
lea edx, [esp + 0x44]
lea ecx, [esi + 0x18]
push edx
call fcn.00575c21
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x7c]
lea ecx, [esi + 0x50]
push eax
mov dword [esi + 0x4c], edx
call fcn.00432430
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 4], ecx
lea ecx, [esp + 0x2c]
call fcn.00431720
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x64