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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x10162378]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [0x10167324]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x4064]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov byte [eax + 0xe1], 1
mov eax, dword [ebx + 0x4064]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ebx
cmp byte [eax + 0xe4], 0
je 0x1008cb1d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x1008cb2c
mov eax, edx
shl eax, 4
mov edi, dword [eax + 0x1012e120]
push edi
push esi
push edx
mov edx, 0x40
lea ecx, [esp + 0x4c]
call fcn.100892e0
add esp, 0xc
cmp dword [ebx + 0x40b0], 0
mov ebx, dword [ebp + 0x18]
jne 0x1008cb9a
test ebx, 0x20003
jne 0x1008cb9a
mov eax, dword [esp + 0x20]
cmp eax, 8
je 0x1008cb93
cmp eax, 9
je 0x1008cb93
cmp byte [edi], 0
je 0x1008cb8c
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008cb70
sub ecx, edx
mov al, byte [ecx + edi - 1]
cmp al, 0x78
je 0x1008cb85
cmp al, 0x58
jne 0x1008cb8c
mov eax, 2
jmp 0x1008cb98
mov eax, 1
jmp 0x1008cb98
mov eax, 0x20000
or ebx, eax
or ebx, 0x8000010
mov dword [esp + 0x14], ebx
xor bl, bl
cmp dword [esp + 0x30], 0
jne 0x1008cc04
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push 0
push 0
push dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], 0
push 0x40
push eax
call fcn.1008f780
add esp, 0x18
test al, al
je 0x1008d192
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push edi
push esi
call fcn.10089a40
mov esi, dword [esp + 0x18]
add esp, 8
mov bl, al
jmp 0x1008d15d
mov eax, dword [0x10167324]
movss xmm0, dword [eax + 0x3994]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x3dcc]
movss dword [esp + 0x2c], xmm0
call fcn.10017980
mov ecx, dword [esp + 0x24]
call fcn.100149e0
mov ecx, dword [0x10167324]
mov edx, dword [ecx + 0x4988]
mov eax, dword [ecx + 0x4064]
mov dword [esp + 0x18], edx
lea edx, [ecx + 0x4990]
test byte [esp + 0x18], 1
je 0x1008cc5a
movss xmm2, dword [edx]
jmp 0x1008cc62
movss xmm2, dword [eax + 0x1d8]
movss xmm3, dword [0x1015ca30]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1008ccb6
cmp dword [eax + 0x1c8], 0
jne 0x1008cc8c
cmp dword [ecx + 0x4db4], 0
mov dword [esp + 0x28], 0x260
je 0x1008cc94
mov dword [esp + 0x28], 0x230
mov ecx, dword [esp + 0x28]
movss xmm0, dword [ecx + eax]
subss xmm0, dword [eax + 0x128]
mov ecx, dword [0x10167324]
addss xmm0, xmm2
movaps xmm2, xmm3
maxss xmm2, xmm0
mov eax, dword [esp + 0x10]
movss xmm1, dword [esp + 0x2c]
push 0
push 0
addss xmm1, dword [eax + 0x39a8]
mov eax, dword [esp + 0x20]
or eax, 1
mov dword [esp + 0x3c], 0
push dword [esp + 0x1c]
mov dword [ecx + 0x4988], eax
mov ecx, 0x1012589a
cvttss2si eax, xmm2
mov dword [esp + 0x44], 0
addss xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x40]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x50]
push 0x40
push eax
subss xmm0, xmm1
maxss xmm3, xmm0
movss dword [edx], xmm3
xor edx, edx
call fcn.1008f780
add esp, 0x18
test al, al
je 0x1008cd3b
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push edi
push esi
call fcn.10089a40
add esp, 8
mov bl, al
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
and edi, 0x4000
mov dword [esp + 0x14], edi
movss xmm0, dword [ecx + 0x3990]
mov eax, dword [ecx + 0x3994]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [ecx + 0x3994]
movss dword [esp + 0x34], xmm0
mov dword [ecx + 0x3990], eax
je 0x1008cd80
call fcn.10014170
mov ecx, dword [esp + 0x10]
movss xmm1, dword [ecx + 0x39a8]
xorps xmm0, xmm0
call fcn.100173a0
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push 0x2400
mov ecx, 0x1015aab4
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
call fcn.10084a80
add esp, 4
test al, al
je 0x1008d023
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xe28], 0
je 0x1008cdd5
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1008cdd9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
cmp ecx, 9
ja case.default.0x1008cde6
jmp dword [ecx*4 + 0x1008d1ac]
mov bl, byte [eax]
mov cl, byte [esi]
movsx edi, bl
movsx edx, cl
test bl, bl
jle 0x1008ce11
lea eax, [edi - 0x80]
cmp edx, eax
jge 0x1008ce0f
mov edi, dword [esp + 0x14]
mov cl, 0x80
mov byte [esi], cl
jmp case.default.0x1008cde6
test bl, bl
jns 0x1008ce27
lea eax, [edi + 0x7f]
cmp edx, eax
jle 0x1008ce27
mov edi, dword [esp + 0x14]
mov cl, 0x7f
mov byte [esi], cl
jmp case.default.0x1008cde6
mov edi, dword [esp + 0x14]
sub cl, bl
mov byte [esi], cl
jmp case.default.0x1008cde6
mov cl, byte [eax]
mov al, byte [esi]
test cl, cl
je 0x1008ce49
cmp al, cl
jae 0x1008ce49
xor al, al
mov byte [esi], al
jmp case.default.0x1008cde6
sub al, cl
mov byte [esi], al
jmp case.default.0x1008cde6
movzx edi, word [eax]
movzx edx, word [esi]
movsx ebx, di
movsx ecx, dx
test di, di
jle 0x1008ce81
lea eax, [ebx - 0x8000]
cmp ecx, eax
jge 0x1008ce7e
mov edi, dword [esp + 0x14]
mov eax, 0xffff8000
mov word [esi], ax
jmp case.default.0x1008cde6
test di, di
jns 0x1008ce9e
lea eax, [ebx + 0x7fff]
cmp ecx, eax
jle 0x1008ce9e
mov edi, dword [esp + 0x14]
mov eax, 0x7fff
mov word [esi], ax
jmp case.default.0x1008cde6
sub edx, edi
mov edi, dword [esp + 0x14]
movzx eax, dx
mov word [esi], ax
jmp case.default.0x1008cde6
movzx ecx, word [eax]
movzx eax, word [esi]
test cx, cx
je 0x1008cec9
cmp ax, cx
jae 0x1008cec9
xor eax, eax
mov word [esi], ax
jmp case.default.0x1008cde6
sub eax, ecx
movzx eax, ax
mov word [esi], ax
jmp case.default.0x1008cde6
mov edx, dword [eax]
mov ecx, dword [esi]
test edx, edx
jle 0x1008cef4
lea eax, [edx - 0x80000000]
cmp ecx, eax
jge 0x1008cf0c
mov ecx, closesocket
mov dword [esi], ecx
jmp case.default.0x1008cde6
jns 0x1008cf0c
lea eax, [edx + 0x7fffffff]
cmp ecx, eax
jle 0x1008cf0c
mov ecx, closesocket
mov dword [esi], ecx
jmp case.default.0x1008cde6
sub ecx, edx
mov dword [esi], ecx
jmp case.default.0x1008cde6
mov ecx, dword [eax]
mov eax, dword [esi]
test ecx, ecx
je 0x1008cf2a
cmp eax, ecx
jae 0x1008cf2a
xor eax, eax
mov dword [esi], eax
jmp case.default.0x1008cde6
sub eax, ecx
mov dword [esi], eax
jmp case.default.0x1008cde6
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
test ebx, ebx
jl 0x1008cf82
jg 0x1008cf47
test edi, edi
je 0x1008cf78
mov eax, edi
add eax, 0
mov dword [esp + 0x18], eax
mov eax, ebx
adc eax, 0x80000000
cmp edx, eax
jg 0x1008cfb1
jl 0x1008cf63
cmp ecx, dword [esp + 0x18]
jae 0x1008cfb1
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov edx, closesocket
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp case.default.0x1008cde6
test ebx, ebx
jg 0x1008cfb1
jl 0x1008cf82
test edi, edi
jae 0x1008cfb1
mov eax, edi
add eax, 0xffffffff
mov dword [esp + 0x18], eax
mov eax, ebx
adc eax, 0x7fffffff
cmp edx, eax
jl 0x1008cfb1
jg 0x1008cf9e
cmp ecx, dword [esp + 0x18]
jbe 0x1008cfb1
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
mov edx, closesocket
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp case.default.0x1008cde6
sub ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esi], ecx
sbb edx, ebx
mov dword [esi + 4], edx
jmp case.default.0x1008cde6
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test edi, edi
jne 0x1008cfd2
test edx, edx
je 0x1008cff8
cmp eax, edi
ja 0x1008cff8
jb 0x1008cfdc
cmp ecx, edx
jae 0x1008cff8
mov edi, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp case.default.0x1008cde6
sub ecx, edx
mov dword [esi], ecx
sbb eax, edi
mov edi, dword [esp + 0x14]
mov dword [esi + 4], eax
jmp case.default.0x1008cde6
movss xmm0, dword [esi]
subss xmm0, dword [eax]
movss dword [esi], xmm0
jmp case.default.0x1008cde6
movsd xmm0, qword [esi]
subsd xmm0, qword [eax]
movsd qword [esi], xmm0
mov bl, 1
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push 0x2400
mov ecx, 0x1014eed4
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
call fcn.10084a80
add esp, 4
test al, al
je 0x1008d092
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xe28], 0
je 0x1008d078
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1008d07c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, 0x2b
push eax
push esi
push esi
call fcn.100893f0
add esp, 0xc
mov bl, 1
test edi, edi
mov edi, dword [0x10167324]
je 0x1008d0dd
mov edx, dword [edi + 0x4980]
dec dword [edi + 0x4aa0]
dec word [edi + 0x5dc4]
mov ecx, dword [edi + 0x4aa0]
mov eax, dword [edi + 0x4aa8]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x4980], eax
test dl, 1
je 0x1008d0dd
test al, 4
jne 0x1008d0dd
mov eax, dword [edi + 0x5dc0]
mov dword [edi + 0x3954], eax
mov edx, dword [esp + 0x24]
mov esi, edx
cmp edx, 0xffffffff
jae 0x1008d12c
mov cl, byte [esi]
test cl, cl
je 0x1008d0fe
cmp cl, 0x23
jne 0x1008d0f8
cmp byte [esi + 1], cl
je 0x1008d0fe
inc esi
cmp esi, 0xffffffff
jb 0x1008d0e8
cmp edx, esi
je 0x1008d12c
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
mov ecx, dword [esp + 0x24]
mov edx, esi
push 0
call fcn.10083150
mov edi, dword [0x10167324]
add esp, 4
mov esi, dword [esp + 0x10]
movss xmm0, dword [esp + 0x28]
movss dword [esi + 0x3990], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esi + 0x3994], xmm0
mov eax, dword [edi + 0x4064]
dec dword [eax + 0x11c]
call fcn.10017ae0
test bl, bl
je 0x1008d192
mov eax, dword [0x10167324]
cmp word [eax + 0x5dc6], 0
jg 0x1008d192
mov ecx, dword [eax + 0x40b0]
cmp ecx, dword [esi + 0x49a8]
je 0x1008d182
test ecx, ecx
jne 0x1008d18b
mov word [eax + 0x40c0], 0x101
or dword [eax + 0x49b0], 4
mov ecx, dword [esp + 0x84]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret