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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x370]
cmp eax, dword [ecx + 8]
jbe 0x49a6c0
sub esp, 0x3f0
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.004984c0
movzx eax, byte [esp + 0x14]
movsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x10]
test al, al
jne 0x49a67e
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.00498930
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x14]
movzx ebp, byte [esp + 0x15]
xchg ebp, eax
mov byte [esp + 0x2e], al
xchg ebp, eax
movzx esi, byte [esp + 0x16]
movzx edi, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x49a57b
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a170
mov esi, dword [esp + 0x3f8]
cmp esi, ecx
jb 0x49a6b8
mov esi, dword [esp + 0x3f4]
mov dword [esp], esi
mov dword [esp + 4], ecx
lea esi, [0x78d468]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
movzx eax, byte [esp + 0x2e]
mov byte [esp + 0x19], al
call fcn.004999a0
movsd xmm0, qword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], ecx
add esp, 0x3f0
ret
movzx esi, byte [0x78d2e1]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a2ea
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2f], bl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
movzx esi, byte [esp + 0x2e]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x49a1d4
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.004997e0
movzx eax, byte [esp + 0x14]
movss xmm0, dword [esp + 0x10]
test al, al
jne 0x49a2b9
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [esp + 0x2f]
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.0049d8a0
movss xmm0, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
test al, al
je 0x49a2b3
movzx eax, byte [esp + 0x2e]
test al, al
je 0x49a282
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x40]
add eax, 1
mov ecx, dword [esp + 0x44]
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0xc], al
call fcn.0049d8a0
movzx eax, byte [esp + 0x14]
movss xmm0, dword [esp + 0x10]
test al, al
je 0x49a2b3
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm0
jne 0x49a2b3
jp 0x49a2b3
movss dword [esp + 0x3fc], xmm1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
movss dword [esp + 0x3fc], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
mov ecx, dword [esp + 0x54]
jmp 0x49a2ea
movss dword [esp + 0x3fc], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
lea edi, [esp + 0xb8]
xor eax, eax
mov edx, ecx
mov ecx, 0xcb
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x3f8]
cmp ebx, edx
jb 0x49a6af
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004986d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49a47b
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x78d468]
mov dword [esp + 4], eax
call fcn.004991b0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
movss xmm0, dword [esp + 0x50]
test al, al
jne 0x49a36f
xor eax, eax
xor ecx, ecx
jmp 0x49a452
movss dword [esp + 0x3c], xmm0
nop
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044f100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6041e0]
mov dword [esp], edx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x61c281]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x49a405
mov ecx, dword [esp + 0x3e4]
mov dword [eax + 8], ecx
jmp 0x49a418
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e4]
call fcn.00464380
mov eax, ecx
mov ecx, dword [0x7d39c4]
mov edx, dword [0x7d39c0]
mov dword [eax + 0x10], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x49a436
mov dword [eax + 0x14], ecx
jmp 0x49a444
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00464380
mov eax, edx
movss xmm0, dword [esp + 0x3c]
mov ecx, eax
lea eax, [0x66e81c]
movss dword [esp + 0x3fc], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], ecx
add esp, 0x3f0
ret
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044f100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x6041e0]
mov dword [esp], edx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x61c281]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x49a50a
mov ecx, dword [esp + 0x3e8]
mov dword [eax + 8], ecx
jmp 0x49a51d
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e8]
call fcn.00464380
mov eax, ecx
mov ecx, dword [0x7d39cc]
mov edx, dword [0x7d39c8]
mov dword [eax + 0x10], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x49a53b
mov dword [eax + 0x14], ecx
jmp 0x49a549
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00464380
mov eax, edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x66e81c]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], eax
add esp, 0x3f0
ret
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3f8]
mov dword [esp + 8], eax
call fcn.0044f100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3ec], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x6041e0]
mov dword [esp], edx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x61c281]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x49a60d
mov ecx, dword [esp + 0x3ec]
mov dword [eax + 8], ecx
jmp 0x49a620
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3ec]
call fcn.00464380
mov eax, ecx
mov ecx, dword [0x7d39cc]
mov edx, dword [0x7d39c8]
mov dword [eax + 0x10], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x49a63e
mov dword [eax + 0x14], ecx
jmp 0x49a64c
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00464380
mov eax, edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x66e81c]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], eax
add esp, 0x3f0
ret
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov dword [esp + 0x400], ecx
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
mov ecx, edx
mov edx, ebx
call fcn.00464420
mov edx, esi
call fcn.00464420
nop
call fcn.00462f70
jmp fcn.0049a040