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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0xb4
mov eax, dword [0x10219178]
inc dword [0x10219d30]
cmp eax, dword [0x1020caec]
jle 0x1017c6ac
movsd xmm1, qword [0x101f4c10]
movsd xmm3, qword [0x101f4c18]
mov dword [0x1020caec], eax
imul eax, dword [ebp + 8], 0x740
movsd xmm0, qword [eax + 0x10223b30]
subsd xmm0, qword [eax + 0x10223b40]
movsd xmm2, qword [eax + 0x10223b28]
subsd xmm2, qword [eax + 0x10223b38]
mulsd xmm0, xmm1
mulsd xmm2, xmm1
mov dword [esp + 0x58], eax
maxsd xmm3, xmm0
maxsd xmm3, xmm2
movsd qword [0x10219d28], xmm3
jmp 0x1017c6b7
imul eax, dword [ebp + 8], 0x740
mov dword [esp + 0x58], eax
mov ebx, eax
mov eax, dword [ebx + 0x10223b88]
mov ebx, dword [eax]
mov edx, dword [ebx + 0x10]
shl edx, 4
push edx
call fcn.101bcde0
mov esi, eax
mov eax, dword [ebx + 0x10]
shl eax, 4
push eax
push dword [ebx]
push esi
call fcn.101d7590
add esp, 0x10
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x4c], eax
cmp eax, 4
pxor xmm0, xmm0
maxsd xmm0, qword [0x1021f6c0]
movsd qword [esp + 0x38], xmm0
je 0x1017d679
mov dword [esp + 0x40], 0
mov dword [esp + 0x5c], 2
mov edi, dword [esp + 0x5c]
mov eax, dword [0x1021f820]
shl edi, 2
lea edx, [edi + eax*4]
push edx
push dword [0x1021f828]
call fcn.101bcb76
mov dword [0x1021f828], eax
mov eax, dword [0x1021f820]
lea edx, [edi + eax*4]
push edx
push dword [0x1021f824]
call fcn.101bcb76
add esp, 0x10
mov dword [0x1021f824], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], ebx
xor edi, edi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x40]
shl eax, 4
add eax, 0x60
mov ebx, eax
push 0x58
call fcn.101bcde0
mov ecx, dword [0x1021f820]
mov edx, dword [0x1021f828]
lea edx, [edx + ecx*4]
mov dword [edx + edi*4], eax
mov ecx, dword [0x1021f820]
mov edx, dword [0x1021f828]
lea edx, [edx + ecx*4]
push dword [edx + edi*4]
call fcn.100e4210
add esp, 8
test esi, esi
je 0x1017c7ad
push 0x40
call fcn.101bcde0
pop ecx
jmp 0x1017c7b4
push ebx
call fcn.101bcde0
pop ecx
mov ecx, dword [0x1021f820]
mov edx, dword [0x1021f828]
lea edx, [edx + ecx*4]
mov ecx, dword [edx + edi*4]
mov dword [ecx], eax
mov eax, dword [0x1021f820]
mov edx, dword [0x1021f828]
lea ecx, [edx + eax*4]
mov edx, dword [ecx + edi*4]
mov ecx, dword [0x1021f824]
mov dword [edx + 0x10], 0
lea edx, [ecx + eax*4]
mov dword [edx + edi*4], 0xffffffff
inc edi
cmp edi, dword [esp + 0x5c]
jl 0x1017c76c
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
mov eax, dword [0x1021f690]
shl eax, 4
add eax, 0x10
push eax
push dword [0x1021f6b0]
call fcn.101bcb76
mov dword [0x1021f6b0], eax
mov eax, dword [0x1021f690]
lea edx, [eax*8 + 8]
push edx
push dword [0x1021f6a0]
call fcn.101bcb76
mov dword [0x1021f6a0], eax
mov eax, dword [0x1021f690]
lea edx, [eax*8 + 8]
push edx
push dword [0x1021f69c]
call fcn.101bcb76
mov dword [0x1021f69c], eax
mov eax, dword [0x1021f690]
lea edx, [eax*8 + 8]
push edx
push dword [0x1021f698]
call fcn.101bcb76
mov dword [0x1021f698], eax
mov eax, dword [0x1021f690]
lea edx, [eax*8 + 8]
push edx
push dword [0x1021f694]
call fcn.101bcb76
add esp, 0x28
mov dword [esp + 0x30], eax
mov edx, dword [0x1021f690]
mov dword [0x1021f694], eax
mov eax, dword [0x1021f6b0]
mov ecx, edx
shl ecx, 4
cmp dword [esp + 0x40], 0
je 0x1017c8ec
movsd xmm0, qword [esp + 0x38]
movsd xmm2, qword [0x10219d28]
mov edi, dword [ebx]
shl edi, 4
subsd xmm0, qword [edi + esi]
movsd qword [esp + 0x38], xmm0
pxor xmm1, xmm1
movsd qword [ecx + eax], xmm0
mov edi, dword [ebx + 0xc]
shl edi, 4
subsd xmm1, qword [edi + esi + 8]
movsd qword [ecx + eax + 8], xmm1
jmp 0x1017c928
movsd xmm2, qword [0x10219d28]
movaps xmm1, xmm2
movsd xmm0, qword [esp + 0x38]
mov edi, dword [ebx]
shl edi, 4
subsd xmm0, qword [edi + esi]
addsd xmm0, xmm2
movsd qword [ecx + eax], xmm0
mov edi, dword [ebx + 0xc]
movsd qword [esp + 0x38], xmm0
shl edi, 4
subsd xmm1, qword [edi + esi + 8]
movsd qword [ecx + eax + 8], xmm1
movsd xmm3, qword [esp + 0x38]
mov ecx, dword [0x1021f6a0]
mov eax, dword [ebx]
shl eax, 4
movsd xmm0, qword [eax + esi]
addsd xmm0, xmm3
mov eax, dword [0x1021f69c]
movsd qword [ecx + edx*8], xmm0
mov edi, dword [ebx + 4]
shl edi, 4
movsd xmm4, qword [edi + esi]
mov edi, dword [0x1021f698]
addsd xmm4, xmm3
movsd qword [eax + edx*8], xmm4
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm5, qword [ecx + esi + 8]
mov ecx, dword [esp + 0x30]
movsd qword [edi + edx*8], xmm5
mov eax, dword [ebx + 8]
shl eax, 4
cmp dword [esp + 0x40], 0
movsd xmm6, qword [eax + esi + 8]
mov eax, dword [0x1021f828]
movsd qword [ecx + edx*8], xmm6
mov edx, dword [0x1021f820]
je 0x1017cb73
movaps xmm5, xmm1
movsd xmm3, qword [esp + 0x38]
mov ecx, dword [ebx + 4]
mov edi, dword [eax + edx*4]
shl ecx, 4
movsd xmm0, qword [ecx + esi]
mov ecx, dword [edi]
addsd xmm0, xmm3
addsd xmm0, xmm2
movsd qword [ecx + 0x30], xmm0
mov edi, dword [eax + edx*4]
mov ecx, dword [edi]
movsd qword [esp + 0x30], xmm0
movsd qword [ecx], xmm0
mov edi, dword [ebx + 4]
mov ecx, dword [eax + edx*4]
shl edi, 4
movsd xmm4, qword [edi + esi]
mov edi, dword [ecx]
addsd xmm4, xmm3
movsd qword [edi + 0x20], xmm4
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx]
movsd qword [edi + 0x10], xmm4
mov ecx, dword [ebx + 0xc]
shl ecx, 4
addsd xmm5, qword [ecx + esi + 8]
mov edi, dword [eax + edx*4]
mov ecx, dword [edi]
cmp dword [ebp + 0xc], 1
movsd qword [ecx + 0x18], xmm5
mov edi, dword [eax + edx*4]
mov ecx, dword [edi]
movsd qword [ecx + 8], xmm5
jle 0x1017cb38
movsd xmm3, qword [ebp + 0x10]
movsd xmm5, qword [esp + 0x38]
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
shl edi, 4
movsd xmm0, qword [edi + esi + 8]
mov edi, dword [eax + edx*4]
addsd xmm3, xmm0
subsd xmm3, xmm0
shl ecx, 4
addsd xmm3, qword [ecx + esi + 8]
mov ecx, dword [edi]
addsd xmm3, xmm1
addsd xmm3, xmm2
addsd xmm3, xmm2
movsd qword [ecx + 0x38], xmm3
mov edi, dword [eax + edx*4]
mov ecx, dword [edi]
movsd qword [ecx + 0x28], xmm3
mov ecx, 4
mov edi, dword [eax + edx*4]
movsd xmm3, qword [ebp + 0x10]
mov dword [edi + 0x10], ecx
mov edi, dword [ebx + 4]
shl edi, 4
movsd xmm4, qword [edi + esi]
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
addsd xmm4, xmm5
movsd qword [edi + 0x30], xmm4
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
movsd qword [edi], xmm4
mov edi, dword [ebx]
shl edi, 4
movsd xmm6, qword [edi + esi]
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
addsd xmm6, xmm5
movsd qword [edi + 0x20], xmm6
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
movsd qword [edi + 0x10], xmm6
mov edi, dword [ebx + 8]
shl edi, 4
movsd xmm7, qword [edi + esi + 8]
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
addsd xmm7, xmm1
movsd qword [edi + 0x18], xmm7
mov edi, dword [eax + edx*4 + 4]
mov edi, dword [edi]
movsd qword [edi + 8], xmm7
mov edi, dword [ebx + 8]
shl edi, 4
movsd xmm0, qword [edi + esi + 8]
mov ebx, dword [ebx + 0xc]
addsd xmm3, xmm0
subsd xmm3, xmm0
shl ebx, 4
addsd xmm3, qword [ebx + esi + 8]
mov ebx, dword [eax + edx*4 + 4]
mov edi, dword [ebx]
addsd xmm3, xmm1
addsd xmm3, xmm2
addsd xmm3, xmm2
movsd qword [edi + 0x38], xmm3
mov ebx, dword [eax + edx*4 + 4]
mov edi, dword [ebx]
movsd qword [edi + 0x28], xmm3
mov ebx, dword [eax + edx*4 + 4]
mov dword [ebx + 0x10], ecx
jmp 0x1017cb62
mov ecx, dword [ebx + 8]
mov ebx, dword [eax + edx*4]
mov edi, dword [ebx]
shl ecx, 4
addsd xmm1, qword [ecx + esi + 8]
movsd qword [edi + 0x38], xmm1
mov ecx, dword [eax + edx*4]
mov ebx, dword [ecx]
movsd qword [ebx + 0x28], xmm1
mov edi, dword [eax + edx*4]
mov dword [edi + 0x10], 4
mov edi, dword [esp + 0x40]
mov dword [esp + 0x48], esi
xor ebx, ebx
xor esi, esi
jmp 0x1017d0e8
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x50], edx
cmp edi, ecx
lea edx, [edx*4]
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x50]
je 0x1017cc24
movsd xmm4, qword [esp + 0x38]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ebx
mov ebx, edi
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov edx, dword [eax + ecx]
mov edi, dword [edx + 0x10]
mov edx, dword [edx]
movaps xmm0, xmm4
movaps xmm3, xmm1
mov dword [esp + 0x30], ebx
shl ebx, 4
addsd xmm0, qword [ebx + esi]
shl edi, 4
movsd qword [edi + edx], xmm0
addsd xmm3, qword [ebx + esi + 8]
mov edi, dword [eax + ecx]
mov esi, dword [edi + 0x10]
mov ebx, dword [edi]
shl esi, 4
movsd qword [esi + ebx + 8], xmm3
mov eax, dword [eax + ecx]
mov ebx, dword [esp + 0x30]
inc dword [eax + 0x10]
inc ebx
xor ecx, ecx
cmp ebx, dword [esp + 0x4c]
cmove ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
cmp ebx, ecx
jne 0x1017cbb0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x38]
movsd xmm7, qword [ebp + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [eax + edi]
shl ecx, 4
movsd xmm3, qword [ecx + esi]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm3, xmm0
shl ecx, 4
movsd qword [ecx + edx], xmm3
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 8]
shl ecx, 4
movsd xmm4, qword [ecx + esi + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm4, xmm1
shl ecx, 4
movsd qword [ecx + edx + 8], xmm4
mov ecx, dword [eax + edi]
inc dword [ecx + 0x10]
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 8]
shl ecx, 4
movsd xmm5, qword [ecx + esi]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm5, xmm0
shl ecx, 4
movsd qword [ecx + edx], xmm5
movsd xmm5, qword [ebp + 0x10]
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 8]
shl ecx, 4
movsd xmm6, qword [ecx + esi + 8]
mov ecx, dword [ebx + 0xc]
addsd xmm7, xmm6
subsd xmm7, xmm6
shl ecx, 4
addsd xmm7, qword [ecx + esi + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm7, xmm1
addsd xmm7, xmm2
shl ecx, 4
movsd qword [ecx + edx + 8], xmm7
mov ecx, dword [eax + edi]
inc dword [ecx + 0x10]
mov edx, dword [eax + edi]
mov ecx, dword [ebx]
shl ecx, 4
movsd xmm3, qword [ecx + esi]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm3, xmm0
subsd xmm3, xmm2
shl ecx, 4
movsd qword [ecx + edx], xmm3
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 8]
shl ecx, 4
movsd xmm4, qword [ecx + esi + 8]
mov ecx, dword [ebx + 0xc]
addsd xmm5, xmm4
subsd xmm5, xmm4
shl ecx, 4
addsd xmm5, qword [ecx + esi + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm5, xmm1
addsd xmm5, xmm2
shl ecx, 4
movsd qword [ecx + edx + 8], xmm5
mov ecx, dword [eax + edi]
inc dword [ecx + 0x10]
mov edx, dword [eax + edi]
mov ecx, dword [ebx]
shl ecx, 4
movsd xmm6, qword [ecx + esi]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm6, xmm0
subsd xmm6, xmm2
shl ecx, 4
movsd qword [ecx + edx], xmm6
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm3, qword [ecx + esi + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm3, xmm1
subsd xmm3, xmm2
shl ecx, 4
movsd qword [ecx + edx + 8], xmm3
mov ecx, dword [eax + edi]
inc dword [ecx + 0x10]
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm4, qword [ecx + esi]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm4, xmm0
shl ecx, 4
movsd qword [ecx + edx], xmm4
mov edx, dword [eax + edi]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm0, qword [ecx + esi + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
addsd xmm0, xmm1
subsd xmm0, xmm2
shl ecx, 4
movsd qword [ecx + edx + 8], xmm0
mov edx, dword [esp + 0x50]
mov edi, dword [eax + edi]
inc dword [edi + 0x10]
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
cmp edi, ecx
je 0x1017ce74
movsd xmm4, qword [esp + 0x38]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov ecx, dword [edx + eax*4 + 4]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx]
movaps xmm0, xmm4
movaps xmm3, xmm1
mov dword [esp + 0x30], edi
shl edi, 4
addsd xmm0, qword [edi + ebx]
shl esi, 4
movsd qword [esi + ecx], xmm0
addsd xmm3, qword [edi + ebx + 8]
mov esi, dword [edx + eax*4 + 4]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi]
shl edi, 4
movsd qword [edi + ebx + 8], xmm3
mov eax, dword [edx + eax*4 + 4]
mov edi, dword [esp + 0x30]
inc dword [eax + 0x10]
inc edi
xor edx, edx
cmp edi, dword [esp + 0x4c]
cmove edi, edx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jne 0x1017cdfd
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x38]
mov edi, dword [eax + edx*4 + 4]
mov dword [esp + 0x48], esi
shl ecx, 4
movsd xmm3, qword [ecx + esi]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm3, xmm0
shl ecx, 4
movsd qword [ecx + edi], xmm3
mov edi, dword [eax + edx*4 + 4]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm4, qword [ecx + esi + 8]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm4, xmm1
shl ecx, 4
movsd qword [ecx + edi + 8], xmm4
mov ecx, dword [eax + edx*4 + 4]
inc dword [ecx + 0x10]
mov edi, dword [eax + edx*4 + 4]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm5, qword [ecx + esi]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm5, xmm0
shl ecx, 4
movsd qword [ecx + edi], xmm5
mov edi, dword [eax + edx*4 + 4]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm6, qword [ecx + esi + 8]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm6, xmm1
subsd xmm6, xmm2
shl ecx, 4
movsd qword [ecx + edi + 8], xmm6
movsd xmm6, qword [ebp + 0x10]
mov ecx, dword [eax + edx*4 + 4]
inc dword [ecx + 0x10]
mov edi, dword [eax + edx*4 + 4]
mov ecx, dword [ebx + 4]
shl ecx, 4
movsd xmm7, qword [ecx + esi]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm7, xmm0
addsd xmm7, xmm2
shl ecx, 4
movsd qword [ecx + edi], xmm7
mov edi, dword [eax + edx*4 + 4]
mov ecx, dword [ebx + 0xc]
shl ecx, 4
movsd xmm3, qword [ecx + esi + 8]
mov ecx, dword [edi + 0x10]
mov edi, dword [edi]
addsd xmm3, xmm1
subsd xmm3, xmm2
shl ecx, 4
movsd qword [ecx + edi + 8], xmm3
mov ecx, dword [eax + edx*4 + 4]
inc dword [ecx + 0x10]
mov edi, dword [ebx + 4]
mov ecx, dword [eax + edx*4 + 4]
shl edi, 4
movsd xmm4, qword [edi + esi]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
addsd xmm4, xmm0
addsd xmm4, xmm2
movsd qword [esp + 0x30], xmm4
shl edi, 4
movsd qword [edi + ecx], xmm4
mov edi, dword [ebx + 8]
mov ecx, dword [eax + edx*4 + 4]
shl edi, 4
movsd xmm5, qword [edi + esi + 8]
mov edi, dword [ebx + 0xc]
addsd xmm6, xmm5
subsd xmm6, xmm5
shl edi, 4
addsd xmm6, qword [edi + esi + 8]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
addsd xmm6, xmm1
addsd xmm6, xmm2
shl edi, 4
movsd qword [edi + ecx + 8], xmm6
mov ecx, dword [eax + edx*4 + 4]
inc dword [ecx + 0x10]
mov ecx, dword [eax + edx*4 + 4]
mov edi, dword [ebx + 8]
shl edi, 4
movsd xmm3, qword [edi + esi]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
addsd xmm3, xmm0
shl edi, 4
movsd qword [edi + ecx], xmm3
mov edi, dword [ebx + 8]
mov ecx, dword [eax + edx*4 + 4]
movsd xmm3, qword [ebp + 0x10]
mov ebx, dword [ebx + 0xc]
shl edi, 4
movsd xmm0, qword [edi + esi + 8]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
addsd xmm3, xmm0
subsd xmm3, xmm0
shl ebx, 4
addsd xmm3, qword [ebx + esi + 8]
shl edi, 4
xor ebx, ebx
addsd xmm3, xmm1
addsd xmm3, xmm2
movsd qword [edi + ecx + 8], xmm3
mov edx, dword [eax + edx*4 + 4]
mov edi, dword [esp + 0x40]
inc dword [edx + 0x10]
xor esi, esi
mov edx, dword [esp + 0x44]
lea eax, [eax + ebx*4]
mov edx, dword [eax + edx]
push dword [edx + 0x10]
push esi
push esi
push dword [edx]
call fcn.100aebc0
add esp, 0x10
mov edx, dword [0x1021f820]
mov eax, dword [0x1021f828]
movsd xmm1, qword [0x101f4c20]
movsd xmm0, qword [0x101f4c28]
movsd qword [esp + 0x14], xmm1
movsd qword [esp + 0x1c], xmm0
movsd qword [esp + 0x24], xmm1
lea ecx, [eax + edx*4]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx]
mov dword [esp + 4], 0
add edx, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 7
mov dword [esp + 8], edx
mov dword [esp + 0x10], 1
call fcn.100be0f0
mov edx, dword [0x1021f820]
mov eax, dword [0x1021f828]
lea ecx, [eax + edx*4]
mov ecx, dword [ecx + ebx*4]
lea edx, [ecx + 0x10]
mov eax, 6
push eax
push eax
push edx
push 0
push dword [ecx]
call fcn.100c0a30
mov edx, dword [0x1021f820]
mov eax, dword [0x1021f828]
add esp, 0x14
push 0
push closesocket
lea eax, [eax + edx*4]
push dword [eax + ebx*4]
call fcn.100e4020
add esp, 0xc
inc ebx
cmp ebx, dword [esp + 0x5c]
jge 0x1017d128
test edi, edi
je 0x1017d115
mov eax, dword [0x1021f828]
mov edx, dword [0x1021f820]
jmp 0x1017d0e8
mov eax, dword [0x1021f828]
mov edx, dword [0x1021f820]
shl edx, 2
jmp 0x1017d044
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
add eax, dword [0x1021f820]
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx + 0x10223cec]
mov dword [0x1021f820], eax
lea ebx, [edi*4]
shl eax, 2
lea edx, [eax + edi*4]
push edx
push dword [0x1021f828]
call fcn.101bcb76
mov dword [0x1021f828], eax
mov eax, dword [0x1021f820]
lea edx, [ebx + eax*4]
push edx
push dword [0x1021f824]
call fcn.101bcb76
add esp, 0x10
mov dword [0x1021f824], eax
test edi, edi
jle 0x1017d289
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x58
call fcn.101bcde0
mov ecx, dword [0x1021f820]
mov edx, dword [0x1021f828]
lea edi, [edx + ecx*4]
mov dword [edi + ebx*4], eax
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + 0x10223bcc]
mov edx, dword [0x1021f820]
mov eax, dword [0x1021f828]
lea ecx, [eax + edx*4]
push dword [ecx + ebx*4]
push dword [edi + ebx*4]
call fcn.100e3e30
add esp, 0xc
mov ecx, dword [0x1021f828]
mov edi, dword [0x1021f820]
mov eax, dword [0x1021f6b0]
mov edx, dword [0x1021f690]
lea ecx, [ecx + edi*4]
mov ecx, dword [ecx + ebx*4]
mov edi, dword [ecx]
mov dword [esp], edi
mov edi, dword [ecx + 0x10]
shl edx, 4
movsd xmm0, qword [edx + eax]
movsd xmm1, qword [edx + eax + 8]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
mov dword [esp + 4], edi
call fcn.100ae570
mov edx, dword [0x1021f690]
mov eax, dword [0x1021f6b0]
mov edi, dword [0x1021f820]
mov ecx, dword [0x1021f828]
shl edx, 4
movsd xmm0, qword [edx + eax]
movsd xmm1, qword [edx + eax + 8]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
lea ecx, [ecx + edi*4]
mov edi, dword [ecx + ebx*4]
mov dword [esp + 4], 1
add edi, 0x48
mov dword [esp], edi
call fcn.100ae570
mov edx, dword [0x1021f820]
mov eax, dword [0x1021f824]
lea ecx, [eax + edx*4]
mov dword [ecx + ebx*4], esi
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x1017d194
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
add dword [0x1021f820], edi
cmp dword [0x1021f6a8], 0
je 0x1017d663
mov dword [esp + 0x48], esi
mov ebx, 1
mov dword [esp + 0x78], 0
lea esi, [ebx*4 + 0x10222e50]
lea edx, [esi - 0x120]
lea ecx, [esi + 0x48]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], esi
mov dword [esp + 0x80], ebx
lea eax, [esi - 0xd8]
lea edi, [esi - 0x48]
mov dword [esp + 0x70], eax
mov dword [esp + 0x60], edi
lea edx, [esi - 0x168]
mov dword [esp + 0x64], edx
lea edx, [ecx + ebx*4 + 0x10223cf0]
mov dword [esp + 0x50], edx
lea ecx, [edx - 0x120]
mov dword [esp + 0x44], ecx
lea eax, [edx + 0x48]
mov dword [esp + 0x74], eax
lea eax, [edx - 0xd8]
mov dword [esp + 0x3c], eax
lea edi, [edx - 0x48]
mov dword [esp + 0x38], edi
lea edi, [edx - 0x168]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x5c], edi
jmp 0x1017d334
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edx]
mov esi, edx
mov edx, dword [esp + 0x78]
test eax, eax
jle 0x1017d481
mov eax, dword [edi]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x88], ecx
mov ecx, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x78], edx
lea eax, [ecx*4 + 4]
push eax
mov edx, dword [esp + 0x94]
push dword [edx]
call fcn.101bcb76
mov edx, dword [esp + 0x98]
push 0x58
mov dword [edx], eax
call fcn.101bcde0
mov ebx, eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov edi, dword [eax]
mov eax, dword [esp + 0x94]
mov ecx, dword [edx]
mov dword [ecx + edi*4], ebx
push ebx
mov edx, dword [eax]
mov edi, dword [edx + esi*4]
call fcn.100e4210
push ebx
push edi
call fcn.100e3e30
add esp, 0x18
mov ecx, dword [0x1021f690]
mov edi, dword [0x1021f6b0]
mov eax, dword [ebx]
mov edx, dword [ebx + 0x10]
shl ecx, 4
movsd xmm0, qword [ecx + edi]
movsd xmm1, qword [ecx + edi + 8]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.100ae570
mov eax, dword [0x1021f690]
mov edx, dword [0x1021f6b0]
mov dword [esp + 4], 1
shl eax, 4
movsd xmm0, qword [eax + edx]
movsd xmm1, qword [eax + edx + 8]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
add ebx, 0x48
mov dword [esp], ebx
call fcn.100ae570
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [edx]
inc esi
cmp esi, eax
jl 0x1017d380
mov esi, edx
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
inc edx
cmp edx, 2
jg 0x1017d4cb
test edx, edx
je 0x1017d32c
cmp edx, 1
jne 0x1017d4ab
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
jmp 0x1017d348
cmp edx, 2
jne 0x1017d348
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
jmp 0x1017d348
mov ebx, dword [esp + 0x80]
mov ecx, dword [0x1021f6a8]
mov eax, dword [ebx*4 + 0x10222e08]
lea edx, [eax*4 + 4]
push edx
push dword [ecx + ebx*4]
call fcn.101bcb76
add esp, 8
mov edx, dword [0x1021f6a8]
mov ecx, dword [ebp + 8]
mov dword [edx + ebx*4], eax
mov edi, dword [ebx*4 + 0x10222e08]
mov eax, dword [0x1021f6a8]
mov esi, dword [eax + ebx*4]
mov dword [esi + edi*4], ecx
inc ebx
cmp ebx, 0x11
jle 0x1017d2a5
mov esi, dword [esp + 0x48]
mov eax, dword [0x1021f690]
lea edx, [eax*4 + 4]
push edx
push dword [0x1021f6b4]
call fcn.101bcb76
mov dword [0x1021f6b4], eax
push 0x58
call fcn.101bcde0
mov ecx, dword [0x1021f690]
mov edx, dword [0x1021f6b4]
mov dword [edx + ecx*4], eax
mov ebx, dword [0x1021f690]
mov eax, dword [0x1021f6b4]
push dword [eax + ebx*4]
call fcn.100e4210
add esp, 0x10
mov edx, dword [0x1021f690]
mov ecx, dword [0x1021f6b0]
mov eax, dword [esp + 0x4c]
mov dword [esp], esi
shl edx, 4
movsd xmm0, qword [edx + ecx]
movsd xmm1, qword [edx + ecx + 8]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
mov dword [esp + 4], eax
call fcn.100ae570
mov edx, dword [0x1021f690]
mov eax, dword [0x1021f6b4]
mov ebx, dword [esp + 0x4c]
push 0
mov ecx, dword [eax + edx*4]
push closesocket
mov dword [ecx], esi
mov eax, dword [0x1021f690]
mov edi, dword [0x1021f6b4]
mov esi, dword [edi + eax*4]
mov dword [esi + 0x10], ebx
push dword [edi + eax*4]
call fcn.100e4020
mov eax, dword [0x1021f690]
lea edx, [eax*4 + 4]
push edx
push dword [0x1021f6ac]
call fcn.101bcb76
add esp, 0x14
mov ecx, dword [0x1021f690]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x30]
mov dword [0x1021f6ac], eax
mov dword [eax + ecx*4], edx
movsd qword [0x1021f6c0], xmm0
inc dword [0x1021f690]
cmp dword [ebp + 0xc], 1
mov dword [0x1021f6c8], 1
jg 0x1017d628
cmp dword [esp + 0x40], 0
jne 0x1017d647
movsd xmm0, qword [0x10219d28]
movsd xmm1, qword [ebp + 0x10]
addsd xmm1, xmm0
addsd xmm1, xmm0
movsd qword [0x1021f8d8], xmm1
jmp 0x1017d654
movsd xmm0, qword [ebp + 0x10]
movsd qword [0x1021f8d8], xmm0
xor eax, eax
add esp, 0xb4
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 4
push 0x12
call fcn.101beb7a
add esp, 8
mov dword [0x1021f6a8], eax
jmp 0x1017d29c
movsd xmm1, qword [0x1020c128]
mov dword [esp + 0x34], ebx
xor eax, eax
pxor xmm0, xmm0
subsd xmm0, xmm1
mov edi, eax
shl edi, 4
movsd xmm2, qword [esi + edi]
lea ebx, [eax + 1]
mov ecx, ebx
and ecx, reloc.WSOCK32.dll_closesocket
jge 0x1017d6ad
sub ecx, 1
or ecx, 0xfffffffc
inc ecx
shl ecx, 4
subsd xmm2, qword [esi + ecx]
comisd xmm1, xmm2
jbe 0x1017d75b
comisd xmm2, xmm0
jbe 0x1017d75b
lea edx, [eax + 2]
and edx, reloc.WSOCK32.dll_closesocket
jge 0x1017d6db
sub edx, 1
or edx, 0xfffffffc
inc edx
shl edx, 4
movsd xmm2, qword [esi + edx]
add eax, 3
and eax, reloc.WSOCK32.dll_closesocket
jge 0x1017d6f4
sub eax, 1
or eax, 0xfffffffc
inc eax
shl eax, 4
subsd xmm2, qword [esi + eax]
comisd xmm1, xmm2
jbe 0x1017d75b
comisd xmm2, xmm0
jbe 0x1017d75b
movsd xmm2, qword [ecx + esi + 8]
subsd xmm2, qword [edx + esi + 8]
comisd xmm1, xmm2
jbe 0x1017d75b
comisd xmm2, xmm0
jbe 0x1017d75b
movsd xmm2, qword [edi + esi + 8]
subsd xmm2, qword [eax + esi + 8]
comisd xmm1, xmm2
jbe 0x1017d75b
comisd xmm2, xmm0
jbe 0x1017d75b
cmp dword [ebp + 0xc], 1
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x40], 1
jne 0x1017c70e
mov dword [esp + 0x5c], 1
jmp 0x1017c716
mov eax, ebx
cmp ebx, 4
jl 0x1017d68f
mov ebx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x1017c70e