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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x370]
cmp eax, dword [ecx + 8]
jbe 0x475574
sub esp, 0x3f0
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.004734f0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x475528
mov eax, dword [esp + 0x3f4]
mov dword [esp], eax
mov ecx, dword [esp + 0x3f8]
mov dword [esp + 4], ecx
call fcn.00473970
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
test al, al
je 0x475433
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 0x475043
mov ebx, dword [esp + 0x3f8]
cmp ebx, ecx
jb 0x47556c
mov ebx, dword [esp + 0x3f4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ebx, [0x7667e0]
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.004748f0
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 [0x766600]
test bl, bl
je 0x4751be
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 0x4750a0
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.00474740
movzx eax, byte [esp + 0x14]
test al, al
jne 0x475187
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.004785b0
movzx eax, byte [esp + 0x14]
test al, al
je 0x475181
movss xmm0, dword [esp + 0x10]
movzx eax, byte [esp + 0x2e]
test al, al
je 0x475150
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.004785b0
movzx eax, byte [esp + 0x14]
test al, al
je 0x475181
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm0
jne 0x475181
jp 0x475181
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 0x4751be
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 0x475563
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.00473720
movzx eax, byte [esp + 0xc]
test al, al
je 0x475341
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x7667e0]
mov dword [esp + 4], eax
call fcn.00474150
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
movss xmm0, dword [esp + 0x50]
test al, al
jne 0x475243
xor eax, eax
xor ecx, ecx
jmp 0x475318
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.00451960
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.004517c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e4], ecx
lea edx, [0x5ee0a0]
mov dword [esp], edx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x60b92b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x4752d6
mov ecx, dword [esp + 0x3e4]
jmp 0x4752e4
call fcn.00468400
mov ecx, dword [esp + 0x3e4]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x792a20]
mov edx, dword [0x792a24]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x475307
call fcn.00468400
mov dword [edi], edx
mov dword [eax + 0x14], edx
movss xmm0, dword [esp + 0x3c]
mov ecx, eax
lea eax, [0x659acc]
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.00451960
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.004517c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3e8], ecx
lea edx, [0x5ee0a0]
mov dword [esp], edx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x60b92b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x4753cd
mov ecx, dword [esp + 0x3e8]
jmp 0x4753db
call fcn.00468400
mov ecx, dword [esp + 0x3e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x792a28]
mov edx, dword [0x792a2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x4753fe
call fcn.00468400
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, [0x659acc]
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.00451960
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.004517c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3ec], ecx
lea edx, [0x5ee0a0]
mov dword [esp], edx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x60b92b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x4754c2
mov ecx, dword [esp + 0x3ec]
jmp 0x4754d0
call fcn.00468400
mov ecx, dword [esp + 0x3ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x792a28]
mov edx, dword [0x792a2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x4754f3
call fcn.00468400
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, [0x659acc]
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.00468480
mov edx, ebx
call fcn.00468480
nop
call fcn.00467000
jmp fcn.00474f30