Function at 0x452480
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452709
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
mov ebp, dword [edx + 4]
mov dword [esp + 0x1c], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x50]
mov esi, dword [edi]
mov dword [esp + 0x38], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x4524f9
mov eax, dword [esp + 0x20]
add eax, 8
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, esi
jae 0x45251c
mov ecx, dword [edi + 4]
mov dword [esp], ecx
shr eax, 3
mov dword [esp + 4], eax
call fcn.00412400
mov eax, dword [esp + 8]
movzx eax, byte [eax]
jmp 0x452525
add esp, 0x48
ret
movzx eax, byte [esp + 0x12]
test al, al
je 0x4524d6
mov byte [esp + 0x12], al
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
bsf edx, eax
lea ebx, [eax - 1]
mov byte [esp + 0x13], bl
mov ebp, dword [esp + 0x20]
add edx, ebp
shl edx, 2
mov dword [esp + 4], edx
call fcn.00470a20
movzx eax, byte [esp + 0x12]
movzx ecx, byte [esp + 0x13]
and eax, ecx
mov byte [esp + 0x12], al
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
jmp 0x4525a4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
jmp 0x452520
mov esi, dword [esp + 0x24]
add eax, esi
mov edi, dword [esp + 0x44]
mov dword [edi], eax
jmp 0x452520
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
jmp 0x452520
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
call fcn.004570e0
movzx eax, byte [esp + 8]
test al, al
je 0x4525e2
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfff
jae 0x4525e6
mov ecx, dword [0x588028]
test ecx, ecx
je 0x4525e6
jmp 0x452634
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x45258e
mov edx, dword [esp + 0x1c]
cmp eax, edx
jae 0x452592
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jbe 0x452580
mov ecx, eax
mov edx, dword [esp + 0x24]
add ecx, edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00479b90
movzx eax, byte [esp + 0xc]
test al, al
je 0x4525a0
jmp 0x45256a
mov eax, dword [0x587cec]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x95], 2
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.004578c0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
call fcn.0043d390
lea eax, [0x4dd57e]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0043dbf0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0043dbf0
lea eax, [0x4d6f50]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043dbf0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0043db70
lea eax, [0x4d6d50]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043dbf0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
call fcn.0043d590
call fcn.0043d3f0
lea eax, [0x4dd59c]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0046f470
nop
call fcn.004736a0
jmp fcn.00452480