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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x370]
cmp eax, dword [ecx + 8]
jbe 0x476434
sub esp, 0x3f0
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.004743a0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4763e8
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.00474820
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
test al, al
je 0x4762f3
movzx ebx, byte [esp + 0x16]
mov ebp, dword [esp + 0x10]
movzx esi, byte [esp + 0x14]
movzx eax, byte [esp + 0x15]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 8]
test bl, bl
je 0x475f03
mov ebx, dword [esp + 0x3f8]
cmp ebx, ecx
jb 0x47642c
mov ebx, dword [esp + 0x3f4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ebx, [0x8263c0]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebp
xchg esi, eax
mov byte [esp + 0x18], al
xchg esi, eax
mov byte [esp + 0x19], al
call fcn.004757c0
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 ebx, byte [0x8261e3]
test bl, bl
je 0x47607e
mov dword [esp + 0x4c], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov byte [esp + 0x2e], al
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
test al, al
jne 0x475f60
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
call fcn.00475610
movzx eax, byte [esp + 0x14]
test al, al
jne 0x476047
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
movzx esi, byte [esp + 0x2f]
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
call fcn.00479440
movzx eax, byte [esp + 0x14]
test al, al
je 0x476041
movss xmm0, dword [esp + 0x10]
movzx eax, byte [esp + 0x2e]
test al, al
je 0x476010
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.00479440
movzx eax, byte [esp + 0x14]
test al, al
je 0x476041
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm0
jne 0x476041
jp 0x476041
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 0x47607e
movss xmm0, dword [esp + 0x10]
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 0x476423
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.004745d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x476201
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x8263c0]
mov dword [esp + 4], eax
call fcn.00475000
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
movss xmm0, dword [esp + 0x50]
test al, al
jne 0x476103
xor eax, eax
xor ecx, ecx
jmp 0x4761d8
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.004516b0
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.00451510
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e4], ecx
lea edx, [0x676120]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x692267]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x476196
mov ecx, dword [esp + 0x3e4]
jmp 0x4761a4
call fcn.00468030
mov ecx, dword [esp + 0x3e4]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8329e8]
mov edx, dword [0x8329ec]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x4761c7
call fcn.00468030
mov dword [edi], edx
mov dword [eax + 0x14], edx
movss xmm0, dword [esp + 0x3c]
mov ecx, eax
lea eax, [0x6f1b48]
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.004516b0
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.00451510
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e8], ecx
lea edx, [0x676120]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x692267]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x47628d
mov ecx, dword [esp + 0x3e8]
jmp 0x47629b
call fcn.00468030
mov ecx, dword [esp + 0x3e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8329f0]
mov edx, dword [0x8329f4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x4762be
call fcn.00468030
mov dword [edi], edx
mov dword [eax + 0x14], edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x6f1b48]
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.004516b0
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.00451510
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3ec], ecx
lea edx, [0x676120]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x692267]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x476382
mov ecx, dword [esp + 0x3ec]
jmp 0x476390
call fcn.00468030
mov ecx, dword [esp + 0x3ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8329f0]
mov edx, dword [0x8329f4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
je 0x4763b3
call fcn.00468030
mov dword [edi], edx
mov dword [eax + 0x14], edx
xorps xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x400], ecx
lea ecx, [0x6f1b48]
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], eax
add esp, 0x3f0
ret
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3fc], xmm0
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov dword [esp + 0x408], 0
add esp, 0x3f0
ret
mov ecx, edx
mov edx, ebx
call fcn.004680b0
mov edx, ebx
call fcn.004680b0
nop
call fcn.00466c30
jmp fcn.00475df0