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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x54], edi
cmp dword [edi + 0x80], 0
jne 0x4f9798
cmp byte [edi + 0x2900], 0
je 0x4f9ff6
mov eax, dword [edi + 0x84]
test eax, eax
je 0x4fa00f
mov eax, dword [eax + 0x2f4]
test eax, eax
je 0x4fa00f
cmp dword [eax + 0x48], 0
je 0x4fa00f
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
call eax
cmp eax, 1
jne 0x4f9ff6
mov eax, dword [0x9c25a4]
mov ecx, dword [eax + 0x10c]
add eax, 0x450
push eax
push 0x100
push ecx
mov edx, dword [ecx]
call dword [edx + 0xb0]
cmp dword [edi + 0x6c], 1
jne 0x4f982f
mov ecx, dword [0x9c25a4]
push 2
push 0x14
call fcn.004c4050
mov eax, dword [0x9c25a4]
cmp dword [eax + 0xe08], 2
je 0x4f982f
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 ecx, dword [0x9c25a4]
push 1
push 0x1b
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 0
push 0x1c
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 5
push 0x13
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 8
push 0x19
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 0
push 0xf
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 0
push 0xe
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 0
push 0x89
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 1
push 0x16
call fcn.004c4050
mov eax, dword [0x9c25a4]
push 0x142
mov eax, dword [eax + 0x10c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
push 0x1388
push dword [edi + 0x290c]
call fcn.004e1230
mov ecx, dword [0x9c25a4]
push eax
push 0
call fcn.004c3fe0
cmp dword [edi + 0x28dc], 0
je 0x4f990b
mov eax, dword [0x9c25a4]
push 0x18
mov ecx, dword [eax + 0x10c]
lea eax, [edi + 0x8c]
push eax
push 0x1e
push 5
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14c]
cmp byte [edi + 0x2900], 0
je 0x4f9f84
cmp dword [0x1ff1f34], 0
jne 0x4f9f84
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
sub eax, dword [edi + 0x80]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp byte [edi + 0x2900], 2
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm1, xmm0
jne 0x4f9963
divss xmm1, dword [0x605304]
jmp 0x4f996b
divss xmm1, dword [0x6052f0]
movss xmm0, dword [0x604dc4]
xor esi, esi
movss xmm2, dword [0x604d20]
subss xmm0, xmm1
movss xmm3, dword [0x604e14]
xorps xmm1, xmm1
mov dword [esp + 0x64], 0xa
mov dword [esp + 0x68], 0x13
mov dword [esp + 0x6c], 0x14
maxss xmm1, xmm0
mov dword [esp + 0x94], 0x37
mov dword [esp + 0x98], 0xc9
mov dword [esp + 0x9c], 0xc9
mov dword [esp + 0x70], 0x33
mov dword [esp + 0x74], 0x33
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x22
mov dword [esp + 0x80], 0x33
mov dword [esp + 0x84], 0x33
mov dword [esp + 0x88], 0x44
mov dword [esp + 0x8c], 0x88
mov dword [esp + 0x90], 0x88
mov dword [esp + 0x2c], 0x3e4ccccd
mov dword [esp + 0x30], 0x3e99999a
mov dword [esp + 0x34], 0x3e99999a
mov dword [esp + 0x58], 0x447a0000
mov dword [esp + 0x5c], 0x42c80000
mov dword [esp + 0x60], 0xc2c80000
mov dword [esp + 0x28], esi
nop word [eax + eax]
movsx eax, byte [edi + 0x2900]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x4f9a6f
jmp dword [eax*4 + 0x4fa028]
movss xmm0, dword [edi + 0x28e8]
mulss xmm0, dword [0x604df8]
jmp 0x4f9ad0
movss xmm0, dword [edi + 0x28e8]
movss xmm1, dword [esp + esi*4 + 0x2c]
mulss xmm0, dword [0x6050a8]
jmp 0x4f9ada
movss xmm0, dword [edi + 0x28e8]
movss xmm1, dword [esp + esi*4 + 0x2c]
mulss xmm0, xmm3
jmp 0x4f9ada
movss xmm1, dword [esp + esi*4 + 0x2c]
movss xmm0, dword [0x604d2c]
jmp 0x4f9ada
movss xmm0, dword [edi + 0x28e8]
mulss xmm0, xmm3
movss xmm1, dword [esp + esi*4 + 0x2c]
mulss xmm1, xmm2
sub esp, 0xc
lea eax, [esp + 0x12c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm1
push eax
call fcn.00402907
mov ecx, dword [0x9c25b4]
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x11c], 0x3f800000
mov dword [esp + 0x108], 0x3f800000
mov dword [esp + 0xf4], 0x3f800000
mov dword [esp + 0xe0], 0x3f800000
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
xor edx, edx
mov ecx, 0x1888
div ecx
xorps xmm1, xmm1
lea eax, [esp + 0xe0]
push ecx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm1
divss xmm0, dword [esp + esi*4 + 0x5c]
movss dword [esp], xmm0
push eax
call fcn.00402b4e
mov al, byte [edi + 0x2900]
cmp al, 2
je 0x4f9c57
cmp al, 3
je 0x4f9c57
cmp al, 5
je 0x4f9c57
cmp al, 4
jne 0x4f9c82
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
xor edx, edx
mov ecx, 0x1888
div ecx
xorps xmm1, xmm1
push ecx
lea eax, [edx + edx*4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm1
divss xmm0, dword [0x605410]
movss dword [esp], xmm0
jmp 0x4f9c5f
push ecx
mov dword [esp], 0x4096cbe4
lea eax, [esp + 0x17c]
push eax
call fcn.00402ab1
lea eax, [esp + 0x178]
push eax
lea eax, [esp + 0x124]
push eax
push eax
call fcn.00402022
lea eax, [edi + 0x2c]
push eax
lea eax, [esp + 0x124]
push eax
push eax
call fcn.00402022
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xe4]
push eax
push eax
call fcn.00402022
mov eax, dword [0x9c25a4]
lea edx, [esp + 0x120]
push edx
push 0x100
mov eax, dword [eax + 0x10c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0x2bf20
push 1
push dword [esp + esi*4 + 0x6c]
call fcn.004abba0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4f9f66
mov eax, dword [eax + 0x318]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f9f66
mov eax, dword [esp + esi*4 + 0x70]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
call fcn.005bdc60
mov ecx, dword [esp + esi*4 + 0x7c]
mov edi, eax
mov dword [esp + 0x48], edi
movd xmm0, edi
pshufd xmm0, xmm0, 0
movups xmmword [esp + 0xa0], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
call fcn.005bdc60
mov ecx, dword [esp + esi*4 + 0x88]
mov dword [esp + 0x4c], eax
movd xmm0, eax
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0xb0], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
call fcn.005bdc60
mov dword [esp + 0x50], eax
movd xmm0, eax
pshufd xmm0, xmm0, 0
movups xmmword [esp + 0xc0], xmm0
cmp esi, 1
jbe 0x4f9dca
mov ecx, dword [esp + esi*4 + 0x94]
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x298], ecx
jmp 0x4f9dce
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x160]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [esi + 0x318]
lea edx, [esp + 0xdc]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [esp + 0x170]
shr edx, 4
mov dword [esp + 0x44], edx
test edx, edx
jle 0x4f9f43
cmp edx, 8
jb 0x4f9f18
mov eax, edx
mov dword [esp + 0x14], esi
and eax, reloc.WSOCK32.dll_getsockopt
jns 0x4f9e32
dec eax
or eax, 0xfffffff8
inc eax
movups xmm2, xmmword [esp + 0xa0]
mov ecx, edx
sub ecx, eax
pslld xmm2, 8
mov dword [esp + 0x40], ecx
xor ecx, ecx
orps xmm2, xmmword [esp + 0xb0]
pslld xmm2, 8
orps xmm2, xmmword [esp + 0xc0]
movaps xmm0, xmm2
movd edx, xmm2
psrldq xmm0, 4
movaps xmm1, xmm0
psrldq xmm1, 4
movd dword [esp + 0x3c], xmm1
psrldq xmm1, 4
nop dword [eax]
mov eax, dword [esp + 0xdc]
lea ecx, [ecx + 0xc0]
mov esi, dword [esp + 0x3c]
mov dword [ecx + eax - 0xb4], edx
mov eax, dword [esp + 0xdc]
movd edx, xmm2
movd dword [ecx + eax - 0x9c], xmm0
mov eax, dword [esp + 0xdc]
mov dword [ecx + eax - 0x84], esi
mov eax, dword [esp + 0xdc]
movd dword [ecx + eax - 0x6c], xmm1
mov eax, dword [esp + 0xdc]
mov dword [ecx + eax - 0x54], edx
mov eax, dword [esp + 0xdc]
movd dword [ecx + eax - 0x3c], xmm0
mov eax, dword [esp + 0xdc]
mov dword [ecx + eax - 0x24], esi
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0x14]
add esi, 8
mov dword [esp + 0x14], esi
movd dword [ecx + eax - 0xc], xmm1
cmp esi, dword [esp + 0x40]
jl 0x4f9e80
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
cmp esi, edx
jge 0x4f9f43
shl edi, 8
lea ecx, [esi + esi*2]
or edi, dword [esp + 0x4c]
shl edi, 8
or edi, dword [esp + 0x50]
shl ecx, 3
sub edx, esi
nop
mov eax, dword [esp + 0xdc]
lea ecx, [ecx + 0x18]
mov dword [ecx + eax - 0xc], edi
sub edx, 1
jne 0x4f9f30
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
call dword [eax + 0xc]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x54]
movss xmm2, dword [0x604d20]
inc esi
movss xmm3, dword [0x604e14]
mov dword [esp + 0x28], esi
cmp esi, 3
jl 0x4f9a60
mov ecx, dword [0x9c25a4]
push 3
push 0x16
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 1
push 0x89
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 2
push 0x13
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 7
push 0x19
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 1
push 0xf
call fcn.004c4050
mov ecx, dword [0x9c25a4]
push 1
push 0xe
call fcn.004c4050
cmp dword [edi + 0x6c], 1
jne 0x4f9ff6
mov ecx, dword [0x9c25a4]
push 6
push 0x14
call fcn.004c4050
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret