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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x409c14
sub esp, 0xbc
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00471ff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004581f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045e450
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call fcn.00403bb0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409bd1
lea ecx, [eax - 1]
mov edx, dword [esp + 0x60]
cmp edx, ecx
jb 0x409bcc
lea ebx, [eax + 2]
cmp edx, ebx
jg 0x409986
mov dword [esp], 0
lea eax, [0x530d6b]
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.00455930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
jb 0x409bc5
cmp ebx, ecx
jb 0x409bbc
mov ebp, dword [esp + 0x68]
lea esi, [eax + ebp - 1]
cmp word [esi], 0x282e
jne 0x409948
lea esi, [eax + ebp + 1]
cmp byte [esi], 0x2a
jne 0x409948
mov dword [esp + 0x5c], ecx
sub edx, eax
mov dword [esp + 0x64], edx
lea eax, [edx - 2]
mov dword [esp + 0x60], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x29
call fcn.00403bb0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409b7a
lea ecx, [eax + 2]
mov edx, dword [esp + 0x60]
cmp ecx, edx
jl 0x409a32
mov dword [esp], 0
lea eax, [0x53057d]
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.00455930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
ja 0x409b75
cmp eax, ecx
ja 0x409b70
mov ebx, dword [esp + 0x70]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x4099f4
mov edx, dword [esp + 0x64]
sub edx, eax
add edx, 0xfffffffc
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
lea ecx, [ebx + edx]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x74]
mov edx, eax
xor eax, eax
call fcn.004759fe
mov dword [esp + 0x78], 0xd
lea ecx, [0x528388]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 1
lea ecx, [0x526ab6]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], ebp
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0x13
lea ecx, [0x529ce5]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb8], 8
lea ecx, [0x52735f]
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.00455720
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046bbc0
mov ecx, dword [esp + 8]
lea edx, [0x515320]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0046fd20
call fcn.00475890
call fcn.00475850
lea eax, [esp + 0x1c]
mov dword [esp], eax
lea eax, [0x529cd2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00455930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
mov eax, ecx
mov ecx, ebx
call fcn.00475890
mov ecx, ebx
call fcn.00475850
call fcn.00475850
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [0x529cbf]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00455930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
nop
call fcn.004743b0
jmp fcn.004098b0