Function at 0x4570f0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4574e9
sub esp, 0x2c
mov eax, dword [esp + 0x38]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 0x34]
test ebx, ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
jne 0x4574d2
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x4574bc
mov eax, dword [esp + 0x30]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.004033d0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp eax, 3
ja 0x4571b1
cmp eax, 1
jbe 0x4571ab
cmp eax, 2
je 0x457210
call fcn.0044c740
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 6
call fcn.00403410
movzx eax, byte [esp + 0xc]
test al, al
jne 0x457270
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044c760
jmp 0x457138
test eax, eax
je 0x4571bb
jmp 0x457224
cmp eax, 5
ja 0x457201
cmp eax, 4
je 0x457210
call fcn.0044c740
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.00403410
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4572a3
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044c760
jmp 0x457138
cmp eax, 6
je 0x457266
cmp eax, 8
jbe 0x457224
cmp eax, 9
jne 0x45721a
call fcn.00439410
jmp 0x457138
call fcn.00458a10
jmp 0x457138
call fcn.0044c740
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.00403410
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4572b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044c760
jmp 0x457138
call fcn.00439410
jmp 0x457138
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.0044c830
mov eax, dword [esp + 4]
test byte [eax], al
add eax, 0x119c
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.004034b0
xor eax, eax
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x4572bb
mov eax, 1
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x4572bb
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, 1
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ebx
mov ebx, dword [0x53adf0]
test ebx, ebx
jne 0x4572dd
mov ebx, dword [esp + 0x44]
jmp 0x4572ee
call fcn.00467120
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x48]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x53adf0]
test ebx, ebx
jne 0x457308
mov ebx, dword [esp + 0x4c]
jmp 0x457319
call fcn.00467120
mov ebx, dword [esp + 0x4c]
mov dword [edi], ebx
mov esi, dword [ebp + 0x1c]
mov dword [edi + 4], esi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], dl
mov dword [ebp + 0x1c], ebx
mov ebx, dword [esp + 0x50]
mov dword [ebp + 0x20], ebx
test al, al
jne 0x457402
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x28], eax
mov ebx, dword [esp + 0x34]
mov dword [ebp + 0x24], ebx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x38]
cmp edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
cmp dword [ebp + 4], ebx
seta dl
and edx, esi
or edx, edi
test dl, dl
je 0x45736d
mov edx, 7
jmp 0x457372
mov edx, 8
mov dword [esp + 0x18], edx
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.0044c830
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x4573aa
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.004584c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 6
mov dword [esp + 8], eax
call fcn.00403410
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4573d0
call fcn.00458a10
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044c760
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x4574af
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00443f30
jmp 0x4574af
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [ebp + 4], ecx
mov edx, dword [0x53ad04]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp], edx
call fcn.0044c830
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
test byte [eax], al
lea ecx, [eax + 0x1188]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.0040ab10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00456a40
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0040ad10
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.00403410
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45748f
call fcn.00458a10
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044c760
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00443f30
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x54], al
add esp, 0x2c
ret
lea eax, [0x4b1e24]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0043b5b0
lea eax, [0x4b0698]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0043b5b0
nop
call fcn.00465d00
jmp fcn.004570f0