Function at 0x450900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8458
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x639e38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x30]
call fcn.00452cb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1ac]
add eax, 0x30
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x10]
sub eax, dword [edx + 0xc]
sar eax, 3
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
test ecx, ecx
jne 0x4509a4
mov dword [ebp - 0x3c], 0xfffffffe
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004540e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.0055b99c
add esp, 4
mov eax, dword [ebp - 0x3c]
jmp 0x450cab
cmp dword [ebp + 0x10], 0
jne 0x4509e1
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004540e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.0055b99c
add esp, 4
mov eax, dword [ebp - 0x40]
jmp 0x450cab
push 1
mov ecx, dword [ebp + 0x10]
call fcn.004e0520
sub eax, dword [ebp + 0xc]
sub eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004e0a50
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [0x63a814]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0044c4e0
add esp, 8
movzx edx, al
test edx, edx
jne 0x450a57
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.004540e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0055b99c
add esp, 4
mov eax, dword [ebp - 0x48]
jmp 0x450cab
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x30
call fcn.004532f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
sar edx, 3
neg edx
sbb edx, edx
add edx, 1
movzx eax, dl
test eax, eax
je 0x450a96
cmp dword [ebp - 0x18], 0
je 0x450c73
cmp dword [ebp - 0x18], 0
jne 0x450b0e
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x30]
call fcn.00453260
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
lea ecx, [ebp - 0x30]
call fcn.00453400
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x1ac]
call fcn.0041e6c0
movzx ecx, al
test ecx, ecx
jne 0x450b02
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x30
call fcn.004532f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x18], 0
je 0x450c6e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
jmp 0x450b31
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 4
jge 0x450c42
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 3
ja case.default.0x450b53
mov ecx, dword [ebp - 0x1b0]
jmp dword [ecx*4 + 0x450cbc]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp + 0xc], eax
jmp case.default.0x450b53
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp + 0xc], edx
jmp case.default.0x450b53
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
jmp case.default.0x450b53
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
push 1
mov ecx, dword [ebp + 0x10]
call fcn.004e0520
sub eax, dword [ebp + 0xc]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004e0a50
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x63a814]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0044c4e0
add esp, 8
movzx eax, al
test eax, eax
je 0x450c3d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0x1ac]
call fcn.0041e6c0
movzx edx, al
test edx, edx
jne 0x450c3d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jle 0x450c2b
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004532f0
jmp 0x450c3d
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x30
call fcn.004532f0
jmp 0x450b28
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x30
call fcn.00453260
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x30
call fcn.00453260
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x450b0e
jmp 0x450a75
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004540e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.0055b99c
add esp, 4
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc