Function at 0x45e320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x45e8d2
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.004680b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, ecx
and ecx, 0x1f
cmp ecx, 0x17
jne 0x45e84e
mov dword [esp + 0x94], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x90], edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00466ba0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45e83a
cmp eax, 1
je 0x45e826
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.00467d60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x51ed60]
cmp ecx, edx
jne 0x45e8b4
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x45e5fd
cmp edx, 4
je 0x45e57e
and ecx, 0x1f
cmp ecx, 0x18
je 0x45e4f9
mov dword [esp + 0x8c], eax
mov dword [esp], eax
call fcn.0040d260
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
lea ecx, [0x4f3160]
mov dword [esp], ecx
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x469f00]
mov dword [eax], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e4da
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 0xc]
lea ebx, [eax + 0x10]
test ecx, ecx
jne 0x45e4a0
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x84], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x88]
jmp 0x45e492
mov dword [esp], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x88]
jmp 0x45e46a
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax]
mov dword [esp + 0x50], eax
lea ebx, [0x4ea9e0]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469cf0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e55e
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x80], eax
mov dword [esp], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x80]
jmp 0x45e550
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea ebx, [0x4ea980]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469c60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e5e3
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x7c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x7c]
jmp 0x45e5d5
cmp edx, 2
ja 0x45e716
cmp edx, 1
je 0x45e697
cmp edx, 2
jne 0x45e41b
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
lea ebx, [0x4ea7a0]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469e60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e67d
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x78], eax
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x78]
jmp 0x45e66f
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
mov dword [esp + 0x64], eax
lea ebx, [0x4ea8c0]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469eb0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e6fc
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x74], eax
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x74]
jmp 0x45e6ee
cmp edx, 4
je 0x45e7a7
cmp edx, 8
jne 0x45e41b
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax]
mov dword [esp + 0x58], eax
lea ebx, [0x4ea860]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469da0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e78d
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x70], eax
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x70]
jmp 0x45e77f
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
lea ebx, [0x4ea800]
mov dword [esp], ebx
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x469e10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x45e80c
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x6c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x6c]
jmp 0x45e7fe
lea eax, [0x50ec20]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
lea eax, [0x50ec1c]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x48], ecx
lea eax, [0x4ee440]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 7
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x45e883
lea ecx, [0x505d73]
mov dword [eax], ecx
jmp 0x45e895
mov dword [esp], eax
lea ecx, [0x505d73]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], eax
lea eax, [0x4e94e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00425a80
ud2
mov dword [esp], ecx
lea eax, [0x501d60]
mov dword [esp + 4], eax
lea eax, [0x4fe580]
mov dword [esp + 8], eax
call fcn.0040a9c0
ud2
call fcn.004491a0
jmp fcn.0045e320