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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4094cb
sub esp, 0xbc
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.0046e150
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00455050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045ad70
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call fcn.00403950
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409488
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp edx, ecx
jg 0x40926b
mov dword [esp], 0
lea eax, [0x4da7c3]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00452940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
mov ebx, dword [esp + 0x68]
lea ebp, [eax + ebx - 1]
cmp word [ebp], 0x282e
jne 0x40922d
lea ebp, [eax + ebx + 1]
cmp byte [ebp], 0x2a
jne 0x40922d
mov dword [esp + 0x60], eax
sub edx, eax
mov dword [esp + 0x64], edx
lea ebp, [edx - 2]
mov dword [esp + 0x5c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebp + ebx]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov byte [esp + 8], 0x29
call fcn.00403950
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409446
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp ecx, edx
jl 0x409311
mov dword [esp], 0
lea eax, [0x4da155]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00452940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
mov ebx, dword [esp + 0x70]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x4092d3
mov edx, dword [esp + 0x60]
dec edx
mov ebp, dword [esp + 0x64]
sub ebp, eax
add ebp, 0xfffffffc
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebx + ebp]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x74]
mov ebp, eax
xor eax, eax
call fcn.004719ae
mov dword [esp + 0x78], 0xd
lea ecx, [0x4d2402]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 1
lea ecx, [0x4d0b76]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], esi
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0x13
lea ecx, [0x4d3b69]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb8], 8
lea ecx, [0x4d139b]
mov dword [esp + 0xb4], ecx
mov dword [esp], 0
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
call fcn.00452770
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00467fb0
mov ecx, dword [esp + 8]
lea edx, [0x4c13a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0046c0c0
lea eax, [esp + 0x1c]
mov dword [esp], eax
lea eax, [0x4d3b56]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call fcn.00452940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [0x4d3b43]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call fcn.00452940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
nop
call fcn.004704c0
jmp fcn.004091a0