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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x4f1994
cmp eax, dword [0x628e84]
je 0x4f1994
cmp eax, dword [0x628e80]
je 0x4f1994
cmp eax, dword [0x628e7c]
je 0x4f1994
cmp eax, dword [0x628e78]
je 0x4f1994
cmp eax, dword [0x628e98]
je 0x4f1994
cmp eax, dword [0x628e94]
je 0x4f1994
cmp eax, dword [0x628e90]
je 0x4f1994
cmp eax, dword [0x628e8c]
je 0x4f1994
cmp eax, dword [0x628e88]
je 0x4f1994
cmp dword [esi + 0x84], 0x1fa
jne 0x4f2500
mov eax, dword [0x9c25b0]
cmp dword [eax + 0x24], 0x7531
jne 0x4f2500
cmp dword [esi + 0x28], 1
jne 0x4f24e7
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 0x208]
cmp eax, 0xa
jbe 0x4f2500
push 0x2bf20
push 1
push ecx
call fcn.004abba0
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x4f24e7
cmp dword [esi + 0x6c], 1
mov eax, dword [0x9c25a4]
jne 0x4f1a1b
cmp dword [eax + 0xa48], 2
je 0x4f19ff
mov dword [eax + 0xa48], 2
mov eax, dword [eax + 0x10c]
push 2
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 2
je 0x4f1a6e
mov dword [eax + 0xe08], 2
push 2
jmp 0x4f1a5b
cmp dword [eax + 0xa48], 6
je 0x4f1a41
mov dword [eax + 0xa48], 6
mov eax, dword [eax + 0x10c]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 4
je 0x4f1a6e
mov dword [eax + 0xe08], 4
push 4
mov eax, dword [eax + 0x10c]
push 4
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
cmp dword [esi + 0x6c], 3
mov eax, dword [0x9c25a4]
jne 0x4f1b7c
cmp dword [eax + 0xa50], 3
je 0x4f1aa3
mov dword [eax + 0xa50], 3
mov eax, dword [eax + 0x10c]
push 3
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 2
je 0x4f1ad0
mov dword [eax + 0xe08], 2
mov eax, dword [eax + 0x10c]
push 2
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe0c], 2
je 0x4f1afd
mov dword [eax + 0xe0c], 2
mov eax, dword [eax + 0x10c]
push 2
push 5
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe00], 2
je 0x4f1b2a
mov dword [eax + 0xe00], 2
mov eax, dword [eax + 0x10c]
push 2
push 2
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xdfc], 2
je 0x4f1b57
mov dword [eax + 0xdfc], 2
mov eax, dword [eax + 0x10c]
push 2
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe04], 0
je 0x4f1cb0
push 0
mov dword [eax + 0xe04], 0
push 3
jmp 0x4f1c9f
cmp dword [eax + 0xa50], 1
je 0x4f1ba2
mov dword [eax + 0xa50], 1
mov eax, dword [eax + 0x10c]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 2
je 0x4f1bcf
mov dword [eax + 0xe08], 2
mov eax, dword [eax + 0x10c]
push 2
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe0c], 2
je 0x4f1bfc
mov dword [eax + 0xe0c], 2
mov eax, dword [eax + 0x10c]
push 2
push 5
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe10], 1
je 0x4f1c29
mov dword [eax + 0xe10], 1
mov eax, dword [eax + 0x10c]
push 1
push 6
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe00], 2
je 0x4f1c56
mov dword [eax + 0xe00], 2
mov eax, dword [eax + 0x10c]
push 2
push 2
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe04], 0
je 0x4f1c83
mov dword [eax + 0xe04], 0
mov eax, dword [eax + 0x10c]
push 0
push 3
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xdfc], 4
je 0x4f1cb0
push 4
mov dword [eax + 0xdfc], 4
push 1
mov eax, dword [eax + 0x10c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa64], 1
je 0x4f1cdb
mov dword [eax + 0xa64], 1
mov eax, dword [eax + 0x10c]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa68], 0
je 0x4f1d06
mov dword [eax + 0xa68], 0
mov eax, dword [eax + 0x10c]
push 0
push 0x1c
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa44], 5
je 0x4f1d31
mov dword [eax + 0xa44], 5
mov eax, dword [eax + 0x10c]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa5c], 8
je 0x4f1d5c
mov dword [eax + 0xa5c], 8
mov eax, dword [eax + 0x10c]
push 8
push 0x19
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa34], 0
je 0x4f1d87
mov dword [eax + 0xa34], 0
mov eax, dword [eax + 0x10c]
push 0
push 0xf
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa30], 0
je 0x4f1db2
mov dword [eax + 0xa30], 0
mov eax, dword [eax + 0x10c]
push 0
push 0xe
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xc1c], 0
je 0x4f1de0
mov dword [eax + 0xc1c], 0
mov eax, dword [eax + 0x10c]
push 0
push 0x89
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
cmp dword [esi + 0x6c], 3
jne 0x4f1ec0
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x28]
mov eax, ecx
movss xmm0, dword [0x604c78]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x68], 0
push edx
movd xmm4, eax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtdq2ps xmm4, xmm4
movd xmm3, eax
movzx eax, cl
shr ecx, 0x18
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [0x9c25a4]
movd xmm1, ecx
cvtdq2ps xmm2, xmm2
mov eax, dword [eax + 0x10c]
push eax
cvtdq2ps xmm1, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
mov ecx, dword [eax]
call dword [ecx + 0xc4]
jmp 0x4f21de
mov ecx, dword [edi + 0x318]
test ecx, ecx
je 0x4f2500
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x70], xmm0
lea edx, [esp + 0x70]
movq qword [esp + 0x80], xmm0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x34]
mov eax, dword [edi + 0x318]
lea edx, [esp + 0x24]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov edi, dword [esi + 0x88]
mov eax, 0xaaaaaaab
mul dword [esp + 0x80]
mov dword [esp + 0x10], edi
shr edx, 4
cmp byte [esi + 0xac], 1
mov dword [esp + 0x14], edx
jne 0x4f201f
movss xmm0, dword [esi + 0xa8]
mulss xmm0, dword [0x604fb8]
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.005bee00
mov eax, dword [esi + 0xbc]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x604ce8]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm1, dword [0x604d7c]
addsd xmm0, qword [eax*8 + 0x605750]
movss dword [esp + 0x10], xmm1
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.005bdc60
mov ecx, dword [esi + 0xc0]
xorps xmm0, xmm0
mov edi, eax
shl edi, 8
cvtsi2sd xmm0, ecx
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
xorps xmm0, xmm0
mov eax, dword [esi + 0xc4]
shl edi, 8
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
xorps xmm0, xmm0
mov eax, dword [esi + 0xc8]
shl edi, 8
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
mov dword [esp + 0x10], edi
cmp dword [esi + 0xa0], 4
jne 0x4f2108
movss xmm0, dword [esi + 0xa8]
mulss xmm0, dword [0x604fb8]
cvtps2pd xmm0, xmm0
call fcn.005bee00
mov eax, dword [esi + 0xbc]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 0x10], xmm1
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.005bdc60
mov edi, eax
mov eax, dword [esi + 0xc0]
shl edi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
mov eax, dword [esi + 0xc4]
shl edi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
mov eax, dword [esi + 0xc8]
shl edi, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
call fcn.005bdc60
or edi, eax
mov dword [esp + 0x10], edi
cmp dword [esp + 0x14], 0
jle 0x4f21ce
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [esp + 0x24]
mov dword [eax + ecx + 0xc], edi
cmp byte [esi + 0xad], 1
jne 0x4f2151
movss xmm0, dword [esi + 0xa8]
mov eax, dword [esp + 0x24]
mulss xmm0, dword [0x604c60]
addss xmm0, dword [eax + ecx + 0x10]
movss dword [eax + ecx + 0x10], xmm0
cmp byte [esi + 0xad], 2
jne 0x4f21bc
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov edi, dword [esp + 0x24]
mov eax, 0x51eb851f
mul esi
shr edx, 5
imul ecx, edx, 0x64
sub esi, ecx
mov ecx, dword [esp + 0x18]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x605750]
mov esi, dword [esp + 0x1c]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x605194]
mulss xmm0, dword [0x604ccc]
addss xmm0, dword [edi + ecx + 0x14]
movss dword [edi + ecx + 0x14], xmm0
mov edi, dword [esp + 0x10]
add ecx, 0x18
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
jne 0x4f2120
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x98]
mov dword [edi + 0x32c], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x330], eax
mov eax, dword [esi + 0xa0]
dec eax
cmp eax, 4
ja case.default.0x4f2206
jmp dword [eax*4 + 0x4f2518]
movss xmm0, dword [esi + 0xa8]
mulss xmm0, dword [esi + 0x98]
mulss xmm0, dword [0x604f80]
movss dword [edi + 0x330], xmm0
movss xmm0, dword [esi + 0xa8]
mulss xmm0, dword [0x604fb8]
movss dword [esi + 0x8c], xmm0
jmp case.default.0x4f2206
mov eax, dword [esi + 0xa4]
mov dword [edi + 0x298], eax
movss xmm2, dword [esi + 0xa8]
cvtps2pd xmm0, xmm2
comisd xmm0, xmmword [0x604e20]
jb 0x4f22af
subss xmm2, dword [0x604ce8]
mulss xmm2, dword [0x604fb8]
mulss xmm2, dword [0x604d2c]
cvtps2pd xmm0, xmm2
call fcn.005bee00
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
addss xmm2, dword [0x604e14]
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x98]
movss dword [edi + 0x32c], xmm0
jmp 0x4f22e7
mulss xmm2, dword [0x605030]
addss xmm2, dword [0x604d2c]
mulss xmm2, dword [esi + 0x98]
movss dword [edi + 0x32c], xmm2
movss xmm2, dword [esi + 0xa8]
mulss xmm2, dword [0x605030]
addss xmm2, dword [0x604d2c]
mulss xmm2, dword [esi + 0x9c]
movss dword [edi + 0x330], xmm2
jmp case.default.0x4f2206
mov eax, dword [esi + 0xa4]
mov dword [edi + 0x298], eax
movss xmm0, dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
push 0
push 0
sub esp, 0x18
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0x90]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x7c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x78]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x74]
movss dword [esp], xmm0
call dword [eax + 8]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 4
je 0x4f238f
mov dword [eax + 0xe08], 4
mov eax, dword [eax + 0x10c]
push 4
push 4
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa50], 3
je 0x4f23ba
mov dword [eax + 0xa50], 3
mov eax, dword [eax + 0x10c]
push 3
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xc1c], 1
je 0x4f23e8
mov dword [eax + 0xc1c], 1
mov eax, dword [eax + 0x10c]
push 1
push 0x89
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa44], 2
je 0x4f2413
mov dword [eax + 0xa44], 2
mov eax, dword [eax + 0x10c]
push 2
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa5c], 7
je 0x4f243e
mov dword [eax + 0xa5c], 7
mov eax, dword [eax + 0x10c]
push 7
push 0x19
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa34], 1
je 0x4f2469
mov dword [eax + 0xa34], 1
mov eax, dword [eax + 0x10c]
push 1
push 0xf
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa30], 1
je 0x4f2494
mov dword [eax + 0xa30], 1
mov eax, dword [eax + 0x10c]
push 1
push 0xe
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xdfc], 4
je 0x4f24c1
mov dword [eax + 0xdfc], 4
mov eax, dword [eax + 0x10c]
push 4
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xa48], 6
je 0x4f24e7
mov dword [eax + 0xa48], 6
mov eax, dword [eax + 0x10c]
push 6
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret