Function at 0x4518e0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x56847c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x451db6
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 ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x451d9f
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x451d89
mov eax, dword [esp + 0x30]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.00402a30
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x4519e3
cmp eax, 1
jbe 0x4519da
cmp eax, 2
je 0x451a80
mov eax, dword [0x56847c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 6
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451b28
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x56847c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x45192a
movzx eax, byte [ebx + 0x65]
test al, al
je 0x45192a
mov dword [ebx + 8], 0xfffffade
jmp 0x45192a
test eax, eax
je 0x4519f5
jmp 0x451a9d
cmp eax, 5
ja 0x451a6d
cmp eax, 4
je 0x451a80
mov ecx, dword [0x56847c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x56847c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x45192a
movzx eax, byte [ebx + 0x65]
test al, al
je 0x45192a
mov dword [ebx + 8], 0xfffffade
jmp 0x45192a
cmp eax, 6
je 0x451b15
cmp eax, 8
jbe 0x451a9d
cmp eax, 9
jne 0x451a93
lea eax, [0x4a7754]
mov dword [esp], eax
call fcn.00460c50
jmp 0x45192a
call fcn.00453380
jmp 0x45192a
mov ecx, dword [0x56847c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451b5d
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x56847c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x45192a
movzx eax, byte [ebx + 0x65]
test al, al
je 0x45192a
mov dword [ebx + 8], 0xfffffade
jmp 0x45192a
lea eax, [0x4a7758]
mov dword [esp], eax
call fcn.00460c50
jmp 0x45192a
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
test byte [ecx], al
add ecx, 0x11bc
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00402ba0
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x451b68
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x451b68
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, 1
mov byte [esp + 0x13], dl
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0x568518]
test ebx, ebx
jne 0x451b92
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
jmp 0x451bb0
call fcn.00462170
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [edi + 8], esi
mov edx, dword [ebp + 0x1c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x14], ebx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], esi
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x20], edx
test al, al
jne 0x451cb7
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x24], eax
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x28], edx
mov ebx, dword [ebp + 8]
cmp edx, ebx
sete bl
xchg esi, ebx
setl bl
xchg esi, ebx
cmp dword [ebp + 4], eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x451c08
mov ebx, 7
jmp 0x451c0d
mov ebx, 8
mov dword [esp + 0x14], ebx
cmp ebx, 7
jne 0x451c2d
mov ecx, dword [ebp]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00452d80
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], ebx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451c53
call fcn.00453380
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
mov ebx, dword [0x56847c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x451c91
movzx eax, byte [ebx + 0x65]
test al, al
je 0x451c88
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x451c98
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x451c98
mov eax, dword [esp + 0x14]
cmp eax, 7
jne 0x451d7c
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0043eca0
jmp 0x451d7c
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [ebp + 8], ecx
mov edx, dword [0x56847c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp + 0x24], edx
test byte [edx], al
lea ebx, [edx + 0x11a8]
mov dword [esp + 0x20], ebx
nop
mov dword [esp], ebx
call fcn.0040a3f0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00451110
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040a610
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x451d3b
call fcn.00453380
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x56847c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x451d68
movzx eax, byte [ebx + 0x65]
test al, al
je 0x451d68
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0043eca0
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x54], al
add esp, 0x2c
ret
lea eax, [0x4a429a]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.004354c0
lea eax, [0x4a2ed1]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004354c0
nop
call fcn.00460d40
jmp fcn.004518e0