Function at 0x4711e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4c2f01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
lea ebp, [esi + 0xc]
lea eax, [esp + 0x13]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x34], ebx
call fcn.00441c50
lea ecx, [esp + 0x13]
push ebx
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x38], 3
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.00446b10
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.00471680
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
mov dword [esp + 0x20], ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4713e5
mov dword [esp + 0x18], ebx
jmp 0x471269
xor ebx, ebx
push 0x22c
call fcn.00489cc9
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x30], 6
je 0x47128c
mov ecx, eax
call fcn.0041e260
mov ebx, eax
mov ecx, dword [ebp]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov byte [esp + 0x40], 5
lea eax, [edx + ecx]
mov edx, esp
lea ecx, [eax + 0x2c]
fild dword [eax + 0x20]
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov ecx, dword [ecx + 0xc]
push ecx
mov dword [edx + 0xc], ecx
mov edx, dword [eax + 0x44]
fstp dword [esp]
fild dword [eax + 0x1c]
mov eax, dword [eax + 0x40]
push ecx
mov ecx, ebx
fstp dword [esp]
push edx
push eax
call fcn.0041e410
mov ecx, dword [ebp]
mov edi, dword [esp + 0x18]
mov edx, dword [edi + ecx]
mov ecx, ebx
push edx
call fcn.0041e790
mov eax, dword [ebp]
mov ecx, dword [edi + eax + 0x48]
push ecx
mov ecx, ebx
call fcn.0041e3e0
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp edi, eax
je 0x471310
test edi, edi
je 0x471307
mov dword [edi], ebx
add dword [esi + 0x1c], 4
jmp 0x4713ac
mov ecx, dword [esi + 0x18]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x1c], 1
sar eax, 2
cmp eax, 1
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
jb 0x471333
lea ecx, [esp + 0x14]
mov edx, dword [ecx]
add edx, eax
mov dword [esp + 0x1c], edx
je 0x471355
shl edx, 2
push edx
call fcn.00489cc9
mov edx, dword [esp + 0x20]
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
jmp 0x471361
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
cmp edi, eax
jne 0x47136c
mov eax, ecx
jmp 0x471383
sub edi, eax
push edi
push eax
push ecx
call fcn.0048a210
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esp, 0xc
add eax, edi
mov dword [eax], ebx
lea edi, [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4713a0
push eax
call fcn.00489cbe
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
lea eax, [ecx + edx*4]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
add ecx, 0x5c
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 4]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
inc edi
sar edx, 6
mov ecx, edx
mov dword [esp + 0x20], edi
shr ecx, 0x1f
add edx, ecx
cmp edi, edx
jb 0x471267
xor ebx, ebx
mov ecx, dword [0x4f9640]
mov edx, dword [ecx]
call dword [edx + 0x40]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x3c]
push ebx
mov ecx, esi
call fcn.00471650
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret