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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x49ac00
sub esp, 0xa4
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp], eax
call fcn.00401320
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
cmp al, 0x14
je 0x49a685
jmp 0x49a811
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
test byte [eax], al
mov eax, dword [eax + 0x28]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x38], eax
jae 0x49abe7
jmp 0x49a6d2
mov edx, dword [esp + 0x54]
test byte [edx], al
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0x38]
cmp ecx, eax
ja 0x49a6eb
jmp 0x49abe2
lea eax, [edx + eax*8]
mov dword [esp + 0x64], eax
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00498010
mov eax, dword [esp + 8]
mov dword [esp + 0x98], eax
mov dword [esp], eax
call fcn.00401c50
movzx eax, byte [esp + 4]
mov byte [esp + 0x26], al
test al, al
jne 0x49a72f
jmp 0x49ab5d
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x68]
test byte [edx], al
mov edx, dword [edx]
test edx, edx
jne 0x49a74b
jmp 0x49aadb
mov edx, dword [esp + 0x68]
test byte [edx], al
mov edx, dword [edx]
test byte [edx], al
mov edx, dword [edx + 4]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x68]
test byte [edx], al
mov edx, dword [edx]
test byte [edx], al
add edx, 0xc
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x48], edx
test edx, edx
jl 0x49aad6
jmp 0x49a783
mov dword [esp + 0x3c], edx
mov eax, 4
mul edx
mov dword [esp + 0x44], eax
mov eax, 4
mov edx, dword [esp + 0x3c]
mul edx
seto dl
mov byte [esp + 0x25], dl
jo 0x49aad4
jmp 0x49a7ac
mov edx, dword [esp + 0x78]
neg edx
cmp dword [esp + 0x44], edx
ja 0x49aabe
jmp 0x49a7be
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jb 0x49a7d3
jmp 0x49aab9
lea eax, [edx + eax*4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x64]
test byte [eax], al
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00498130
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc4], eax
jmp 0x49aa17
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp], eax
call fcn.00401780
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x38], ecx
jae 0x49aaa1
jmp 0x49a8a1
mov edx, dword [esp + 0x38]
cmp edx, ecx
jb 0x49a8ae
jmp 0x49aa9a
shl edx, 4
add eax, edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00498070
mov eax, dword [esp + 8]
mov dword [esp + 0x98], eax
mov dword [esp], eax
call fcn.00401c50
movzx eax, byte [esp + 4]
mov byte [esp + 0x26], al
test al, al
jne 0x49a933
jmp 0x49aa1e
lea eax, [0x511a20]
mov dword [esp], eax
call fcn.0040dc80
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00498410
mov eax, dword [0x5efdd0]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 8]
test eax, eax
je 0x49a9a3
jmp 0x49a9a5
jmp 0x49a9b3
call fcn.004757c0
mov dword [edi], edx
mov eax, dword [ecx]
mov dword [edi + 4], eax
jmp 0x49a9b3
mov dword [ecx], edx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004980d0
mov eax, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0xc4], eax
jmp 0x49aa17
add esp, 0xa4
ret
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp], 0
lea edx, [0x5274f8]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x52a6dc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.004559d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046bbc0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
lea ecx, [0x5115e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
mov eax, edx
call fcn.00475830
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a9a8]
mov dword [esp + 4], eax
call fcn.0046fd20
call fcn.00475830
jmp 0x49aac0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x49aaca
jmp 0x49aacf
call fcn.00467fd0
call fcn.00468060
jmp 0x49aac0
call fcn.00467fd0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp], 0
lea edx, [0x5274f8]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x52dfc5]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x21
call fcn.004559d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046bbc0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
lea ecx, [0x5115e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp], 0
lea edx, [0x5274f8]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x52a6dc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.004559d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046bbc0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
lea ecx, [0x5115e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
call fcn.00475830
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a9a8]
mov dword [esp + 4], eax
call fcn.0046fd20
nop
call fcn.004743b0
jmp fcn.0049a5f0