Function at 0x45bc30
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45c017
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 0x45c000
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x45bfea
mov eax, dword [esp + 0x30]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.004037a0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp eax, 3
ja 0x45bcf1
cmp eax, 1
jbe 0x45bceb
cmp eax, 2
je 0x45bd50
call fcn.00451100
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.004037e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bdb0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00451120
jmp 0x45bc78
test eax, eax
je 0x45bcfb
jmp 0x45bd64
cmp eax, 5
ja 0x45bd41
cmp eax, 4
je 0x45bd50
call fcn.00451100
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.004037e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bde3
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00451120
jmp 0x45bc78
cmp eax, 6
je 0x45bda6
cmp eax, 8
jbe 0x45bd64
cmp eax, 9
jne 0x45bd5a
call fcn.0043c4a0
jmp 0x45bc78
call fcn.0045d530
jmp 0x45bc78
call fcn.00451100
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.004037e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bdf0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00451120
jmp 0x45bc78
call fcn.0043c4a0
jmp 0x45bc78
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.004511f0
mov eax, dword [esp + 4]
test byte [eax], al
add eax, 0x11bc
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00403880
xor eax, eax
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x45bdfb
mov eax, 1
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x45bdfb
xor eax, eax
mov ecx, dword [esp + 0x20]
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 [0x591668]
test ebx, ebx
jne 0x45be25
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
jmp 0x45be43
call fcn.0046d7a0
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 + 0x20], 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 0x45bf30
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 esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x45be9b
mov ebx, 7
jmp 0x45bea0
mov ebx, 8
mov dword [esp + 0x18], ebx
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.004511f0
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x45bed8
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.0045cfe0
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.004037e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45befe
call fcn.0045d530
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00451120
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x45bfdd
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00447a70
jmp 0x45bfdd
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [ebp + 8], ecx
mov edx, dword [0x5915c4]
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.004511f0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
test byte [eax], al
lea ecx, [eax + 0x11a8]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.0040c9b0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0045b580
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0040cbd0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.004037e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bfbd
call fcn.0045d530
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00451120
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00447a70
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x54], al
add esp, 0x2c
ret
lea eax, [0x4d012b]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0043e340
lea eax, [0x4ce790]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.0045bc30