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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4c
mov eax, dword [0x1004f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0xf48], ebx
comiss xmm0, dword [ebx + 0x24]
jae 0x100053cf
comiss xmm0, dword [ebx + 0x28]
jae 0x100053cf
mov esi, dword [0x1004fc68]
test esi, esi
je 0x10004ba4
mov esi, dword [esi + 0x78]
jmp 0x10004ba6
xor esi, esi
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf30], esi
mov dword [ebp - 0xf38], edi
test ecx, ecx
je 0x10004bd1
mov eax, dword [esi + 0x38]
cmp eax, dword [ebx + 0xc]
jge 0x10004c22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 0xc]
lea edx, [esi + 0xc]
add eax, 0x1388
mov dword [ebp - 8], 0
mov dword [esi + 0x38], eax
push edx
push 0
lea eax, [eax + eax*4]
mov dword [ebp - 0x18], 2
shl eax, 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x10000
mov dword [ebp - 0xc], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100053cf
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10004c3e
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x10004c85
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
add eax, 0x2710
mov dword [ebp - 0x18], 2
mov dword [esi + 0x3c], eax
xorps xmm0, xmm0
add eax, eax
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push edx
push 0
mov dword [ebp - 0x14], 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10000
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100053cf
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x100053cf
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x100053cf
cmp dword [ebx + 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0xf2c], eax
jle 0x10004d41
xor edi, edi
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xf2c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
inc edi
mov ecx, dword [ebp - 0xf34]
add esp, 0xc
mov edx, dword [ebp - 0xf2c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xf34], ecx
lea edx, [edx + eax*2]
mov dword [ebp - 0xf2c], edx
cmp edi, dword [ebx + 4]
jl 0x10004cd5
mov edi, dword [ebp - 0xf38]
mov esi, dword [ebp - 0xf30]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x100053cf
movss xmm3, dword [ebx + 0x20]
movss xmm6, dword [ebx + 0x1c]
movaps xmm1, xmm3
addss xmm1, dword [ebx + 0x28]
movss xmm2, dword [0x1004c7d0]
movaps xmm0, xmm3
mov eax, dword [ebp - 0x10]
movaps xmm4, xmm6
addss xmm4, dword [ebx + 0x24]
movaps xmm5, xmm2
subss xmm0, xmm1
push 0
movaps xmm7, xmm4
addss xmm7, xmm6
divss xmm5, xmm0
movaps xmm0, xmm6
subss xmm0, xmm4
subss xmm4, xmm6
divss xmm7, xmm0
divss xmm2, xmm4
movss dword [ebp - 0xf38], xmm7
movaps xmm7, xmm1
movss dword [eax], xmm2
addss xmm7, xmm3
mov eax, dword [ebp - 0x10]
subss xmm1, xmm3
movss xmm0, dword [ebp - 0xf38]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
divss xmm7, xmm1
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x14], xmm5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x34], xmm7
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [ebp - 0xf20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf24], 0x10
lea ecx, [ebp - 0xf20]
mov dword [ebp - 0xf28], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xf28]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
lea ecx, [ebp - 0xf24]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [ebp - 0xca0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
lea ecx, [ebp - 0xc98]
push ecx
lea ecx, [ebp - 0xc9c]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0xc80]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [ebp - 0xc68]
mov dword [ebp - 0xc60], 0x100
push ecx
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 0xc64], 0x100
push ecx
mov dword [ebp - 0xc68], 0x100
lea ecx, [ebp - 0xc74]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [ebp - 0xc64]
push ecx
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0xc70]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xc60]
push ecx
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0xc6c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.10004a00
movss xmm0, dword [ebx + 0x1c]
xor ecx, ecx
movss xmm4, dword [ebx + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xf30], ecx
mov dword [ebp - 0xf34], edx
movss dword [ebp - 0xf44], xmm0
movss dword [ebp - 0xf2c], xmm4
mov dword [ebp - 0xf38], esi
cmp dword [ebx + 4], ecx
jle 0x100051a5
nop word [eax + eax]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xf40], 0
mov ebx, dword [eax + esi*4]
cmp dword [ebx], 0
jle 0x1000517d
xor eax, eax
mov dword [ebp - 0xf3c], eax
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100050b0
cmp eax, 0xfffffff8
jne 0x100050a4
mov ecx, dword [ebp - 0xf48]
mov edx, edi
call fcn.10004a00
jmp 0x10005139
push esi
push ebx
call eax
add esp, 8
jmp 0x10005139
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x10005141
comiss xmm1, xmm0
jae 0x10005141
cvttss2si eax, xmm3
lea ecx, [ebp - 0x14]
push ecx
push 1
push edi
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm2
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x20]
push ecx
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xf34]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0xf30]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [ebp - 0xf2c]
mov eax, dword [ebp - 0xf40]
add dword [ebp - 0xf3c], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm0, dword [ebp - 0xf44]
mov dword [ebp - 0xf40], eax
mov eax, dword [ebp - 0xf3c]
jl 0x10005081
mov ecx, dword [ebp - 0xf30]
mov edx, dword [ebp - 0xf34]
mov esi, dword [ebp - 0xf38]
add ecx, dword [ebx + 0xc]
inc esi
add edx, dword [ebx + 0x18]
mov ebx, dword [ebp - 0xf48]
mov dword [ebp - 0xf30], ecx
mov dword [ebp - 0xf34], edx
mov dword [ebp - 0xf38], esi
cmp esi, dword [ebx + 4]
jl 0x10005060
mov eax, dword [edi]
lea ecx, [ebp - 0xf20]
push ecx
push dword [ebp - 0xf28]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
push dword [ebp - 0xf24]
push edi
call dword [eax + 0xb0]
push dword [ebp - 0xca0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0xca0]
test ecx, ecx
je 0x100051f0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc88]
mov eax, dword [edi]
lea ecx, [ebp - 0xc98]
push ecx
push dword [ebp - 0xc9c]
push edi
call dword [eax + 0x8c]
mov ecx, dword [ebp - 0xc9c]
test ecx, ecx
je 0x1000521c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc84]
mov eax, dword [edi]
push dword [ebp - 0xc80]
push edi
call dword [eax + 0x90]
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x10005241
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc7c]
test ecx, ecx
je 0x10005262
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc78]
test ecx, ecx
je 0x10005283
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc68]
mov eax, dword [edi]
lea ecx, [ebp - 0xc5c]
push ecx
push dword [ebp - 0xc74]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc74]
test ecx, ecx
je 0x100052ac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
xor esi, esi
test eax, eax
je 0x100052dc
nop dword [eax + eax]
mov ecx, dword [ebp + esi*4 - 0xc5c]
test ecx, ecx
je 0x100052d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
inc esi
cmp esi, eax
jb 0x100052c0
push dword [ebp - 0xc64]
mov eax, dword [edi]
lea ecx, [ebp - 0x85c]
push ecx
push dword [ebp - 0xc70]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0xc70]
test ecx, ecx
je 0x10005305
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10005320
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc60]
mov eax, dword [edi]
lea ecx, [ebp - 0x45c]
push ecx
push dword [ebp - 0xc6c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0xc6c]
test ecx, ecx
je 0x10005349
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
xor esi, esi
test eax, eax
je 0x10005371
mov ecx, dword [ebp + esi*4 - 0x85c]
test ecx, ecx
je 0x1000536c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
inc esi
cmp esi, eax
jb 0x10005355
push dword [ebp - 0x5c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [ebp - 0x4c]
mov eax, dword [edi]
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push edi
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10005396
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x100053b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x100053cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004437c
mov esp, ebp
pop ebp
ret