Function at 0x4512d0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x4515c8
sub esp, 0x120
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x4515b1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test edx, edx
je 0x45159b
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
sub ecx, edx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x128]
sub esi, ecx
mov dword [esp + 0x40], esi
mov ecx, 0
sbb ecx, 0
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x38], eax
mov ebx, dword [ebx + 0x58]
mov dword [esp], ebx
call fcn.0044c320
lea eax, [0x6106e0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00422600
mov eax, dword [esp + 0x128]
mov dword [esp], eax
call fcn.00450440
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.00468b2c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], ecx
sub edx, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
mov ebp, ecx
sub ecx, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x124]
movzx esi, byte [edx + 0x6c]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x45141c
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x44]
cmp esi, edi
jae 0x451406
lea eax, [edx + 0x6d]
mov dword [esp], eax
call fcn.00402330
movzx eax, byte [esp + 4]
test al, al
jne 0x451585
mov edx, dword [esp + 0x124]
mov dword [esp], edx
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00451110
mov ecx, dword [esp + 0x2c]
jmp 0x451460
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00451160
mov eax, dword [esp + 0xc]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x50]
mov dword [esp + 8], edx
call fcn.004511c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ebx, dword [esp + 0x4c]
sub ebx, ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00469250
mov eax, dword [esp + 0x124]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00450fa0
mov eax, dword [esp + 0x124]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00450fe0
mov eax, dword [esp + 0x124]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004510d0
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4514d9
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x124]
mov dword [ecx], eax
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
add eax, 0xba0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
sub edx, eax
mov dword [ecx + 0x1c], edx
mov eax, dword [esp + 0x58]
add dword [ecx + 0x40], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00454960
mov eax, dword [esp + 4]
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x7fffffff
lea ecx, [0x517b10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.0045c3d0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00450790
add esp, 0x120
ret
lea eax, [0x516260]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.0043b160
lea eax, [0x50cce4]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043b160
lea eax, [0x514f46]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.004512d0