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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [0x101e3070]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x78], eax
xor ecx, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1001c2d9
mov cl, al
and cl, 2
mov byte [esp + 0x16], cl
je 0x1001c2d1
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], esi
and al, 1
mov dword [esp + 0x78], eax
jmp 0x1001c2e1
mov byte [esp + 0x78], cl
mov byte [esp + 0x16], cl
movsx eax, byte [edx]
test eax, eax
je case.default.0x1001c5e7
nop dword [eax]
cmp eax, 0x25
je 0x1001c353
mov esi, edx
mov dword [esp + 0x10], esi
nop dword [eax + eax]
mov al, byte [edx + 1]
inc edx
test al, al
je 0x1001c30c
cmp al, 0x25
jne 0x1001c300
mov eax, dword [edi + 0xc]
mov ecx, edx
sub ecx, esi
mov dword [esp + 0x40], edx
add eax, ecx
push ecx
cmp eax, dword [edi + 0x10]
jb 0x1001c32d
mov edx, esi
mov ecx, edi
call fcn.1001d890
add esp, 4
jmp 0x1001c342
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push esi
push eax
call fcn.101544a0
add esp, 0xc
mov edx, dword [esp + 0x40]
cmp byte [edx], 0
je case.default.0x1001c5e7
mov esi, dword [esp + 0x1c]
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
je 0x1001d6a0
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x26], al
mov byte [esp + 0x25], al
mov byte [esp + 0xf], al
mov byte [esp + 0x24], al
mov byte [esp + 0xe], al
nop word [eax + eax]
lea eax, [ecx - 0x20]
cmp eax, 0x10
ja case.0x1001c38f.34
movzx eax, byte [eax + 0x1001d714]
jmp dword [eax*4 + 0x1001d6f8]
mov byte [esp + 0xe], 1
jmp 0x1001c3be
mov byte [esp + 0x24], 1
jmp 0x1001c3be
mov byte [esp + 0xf], 1
jmp 0x1001c3be
mov byte [esp + 0x25], 1
jmp 0x1001c3be
mov byte [esp + 0x26], 1
jmp 0x1001c3be
mov byte [esp + 0x3b], 1
movsx ecx, byte [edx + 1]
inc edx
test ecx, ecx
jne 0x1001c380
mov dword [esp + 0x40], edx
cmp ecx, 0x2a
jne 0x1001c459
cmp byte [esp + 0x16], 0
je 0x1001c418
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1001c3f9
mov edx, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
jmp 0x1001c421
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
call fcn.10037cc0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x40]
jmp 0x1001c421
mov eax, dword [esi]
add esi, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
test eax, eax
jns 0x1001c44e
mov byte [esp + 0xe], 1
cmp eax, 0x80000001
jl 0x1001c446
movsx ecx, byte [edx + 1]
neg eax
inc edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edx
jmp 0x1001c492
mov dword [esp + 0x20], 0
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x40], edx
jmp 0x1001c492
xor eax, eax
cmp ecx, 0x30
jl 0x1001c489
mov edi, eax
cmp ecx, 0x39
jg 0x1001c479
lea edi, [edi + edi*4]
inc edx
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x1001c462
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edx
and eax, 0x7fffffff
mov dword [esp + 0x20], eax
cmp ecx, 0x2e
jne 0x1001c543
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x40], edx
cmp ecx, 0x2a
jne 0x1001c512
cmp byte [esp + 0x16], 0
je 0x1001c4eb
mov esi, dword [esp + 0x3c]
mov edx, dword [esi + 4]
cmp dword [esi], edx
jg 0x1001c4ce
mov edx, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov esi, dword [esp + 0x50]
jmp 0x1001c4f5
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
call fcn.10037cc0
mov dword [esp + 0x54], edx
mov esi, eax
mov edx, dword [esp + 0x40]
jmp 0x1001c4f5
add esi, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esi - 4]
movsx ecx, byte [edx + 1]
inc edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], edx
test esi, esi
jns 0x1001c54a
cmp esi, 0x80000001
jl 0x1001c543
neg esi
jmp 0x1001c546
xor esi, esi
cmp ecx, 0x30
jl 0x1001c53b
nop dword [eax]
cmp ecx, 0x39
jg 0x1001c537
lea esi, [esi + esi*4]
inc edx
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
movsx ecx, byte [edx]
cmp ecx, 0x30
jge 0x1001c520
mov dword [esp + 0x40], edx
and esi, 0x7fffffff
jmp 0x1001c546
or esi, 0xffffffff
mov dword [esp + 0x34], esi
cmp ecx, 0x6c
jne 0x1001c572
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x27], 1
mov dword [esp + 0x40], edx
cmp ecx, 0x6c
jne 0x1001c577
movsx ecx, byte [edx + 1]
inc edx
mov byte [esp + 0x3a], 1
mov dword [esp + 0x40], edx
jmp 0x1001c57c
mov byte [esp + 0x27], 0
mov byte [esp + 0x3a], 0
xor eax, eax
mov dword [esp + 0x44], 0x101d2670
mov byte [esp + 0x17], 0
mov edx, 0x101d2670
mov dword [esp + 0x18], eax
movsx eax, byte [edx]
cmp ecx, eax
je 0x1001c5b0
inc dword [esp + 0x18]
add edx, 6
cmp edx, 0x101d26fa
jl 0x1001c594
mov dl, byte [esp + 0x17]
jmp 0x1001c5da
cmp byte [esp + 0x78], 0
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x101d2670]
mov dword [esp + 0x44], eax
jne 0x1001c5d3
test byte [eax + 2], 2
jne case.default.0x1001c5e7
mov dl, byte [eax + 3]
mov byte [esp + 0x17], dl
movzx eax, dl
dec eax
cmp eax, 0xf
ja case.default.0x1001c5e7
jmp dword [eax*4 + 0x1001d728]
xor al, al
mov cl, 1
jmp 0x1001c5fc
mov al, byte [esp + 0x3a]
mov cl, byte [esp + 0x27]
mov edx, dword [esp + 0x44]
test byte [edx + 2], 1
je 0x1001c6c6
cmp byte [esp + 0x16], 0
je 0x1001c65a
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1001c643
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp byte [esp + 0x24], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
je 0x1001c6b9
mov cl, 0x2b
jmp 0x1001c741
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
call fcn.10037cc0
jmp 0x1001c67e
test al, al
je 0x1001c66d
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x1001c67a
test cl, cl
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov eax, dword [ecx - 4]
cdq
mov dword [esp + 0x1c], ecx
test edx, edx
jg 0x1001c62d
jl 0x1001c688
test eax, eax
jae 0x1001c62d
test eax, eax
jne 0x1001c6a3
cmp edx, 0x80000000
jne 0x1001c6a3
mov dword [esp + 0x28], edx
mov cl, 0x2d
mov dword [esp + 0x10], eax
jmp 0x1001c741
neg eax
mov cl, 0x2d
mov dword [esp + 0x10], eax
adc edx, 0
neg edx
mov dword [esp + 0x28], edx
jmp 0x1001c741
mov cl, byte [esp + 0xf]
neg cl
sbb cl, cl
and cl, 0x20
jmp 0x1001c741
cmp byte [esp + 0x16], 0
je 0x1001c712
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1001c6f3
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
jmp 0x1001c73f
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
call fcn.10037cc0
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
jmp 0x1001c73f
test al, al
je 0x1001c725
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
jmp 0x1001c733
test cl, cl
mov ecx, dword [esp + 0x1c]
add ecx, 4
xor edx, edx
mov eax, dword [ecx - 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
xor cl, cl
or eax, edx
mov byte [esp + 0xf], cl
jne 0x1001c74d
mov byte [esp + 0x25], al
mov al, byte [esp + 0x3b]
test al, al
je 0x1001c76b
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x20]
setne al
sub ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x34], esi
cmp esi, 0x3c
jge 0x1001c785
lea eax, [esp + 0x90]
mov dword [esp + 0x4c], 0x46
mov dword [esp + 0x68], eax
jmp 0x1001c7ad
lea eax, [esi + 0xa]
mov dword [esp + 0x4c], eax
cdq
push edx
push eax
call fcn.1001b8d0
mov ecx, eax
mov dword [esp + 0x70], eax
add esp, 8
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1001d680
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
dec edi
add edi, eax
cmp byte [esp + 0x17], 0x10
jne 0x1001c81c
push 0
push 0xa
push edx
push dword [esp + 0x1c]
call fcn.100a7550
mov dword [esp + 0x80], eax
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, 4
jge 0x1001c7fe
push 0
push 0xa
push edx
push dword [esp + 0x8c]
call fcn.1017a640
cmp eax, 1
jne 0x1001c802
test edx, edx
jne 0x1001c802
xor ecx, ecx
jmp 0x1001c806
mov ecx, dword [esp + 0x18]
mov al, byte [ecx*2 + 0x101d2a89]
mov byte [edi - 1], al
sub edi, 2
mov al, byte [ecx*2 + str.thstndrd]
mov byte [edi], al
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
movzx eax, byte [ecx + 4]
add eax, str.0123456789ABCDEF0123456789abcdef
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 1]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x18], eax
nop dword [eax]
push ebx
push eax
push ecx
push edx
push esi
dec edi
call fcn.100a7440
mov dword [esp + 0x30], ebx
pop ebx
mov esi, eax
mov eax, dword [esp + 0x50]
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x80]
mov byte [edi], al
mov eax, dword [esp + 0x18]
test edx, edx
ja 0x1001c850
jb 0x1001c880
test esi, esi
jne 0x1001c850
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
sub eax, edx
sub eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x10], edi
add eax, edi
test eax, eax
jle 0x1001c8ad
nop dword [eax]
dec edi
dec eax
mov byte [edi], 0x30
test eax, eax
jg 0x1001c8a0
mov dword [esp + 0x10], edi
mov cl, byte [esp + 0xf]
test cl, cl
je 0x1001c8bc
dec edi
mov dword [esp + 0x10], edi
mov byte [edi], cl
cmp byte [esp + 0x25], 0
je 0x1001c8f0
mov eax, dword [esp + 0x44]
mov al, byte [eax + 5]
test al, al
je 0x1001c8f0
movzx eax, al
add eax, 0x101d0018
mov cl, byte [eax]
test cl, cl
je 0x1001c8f0
nop dword [eax]
dec edi
lea eax, [eax + 1]
mov byte [edi], cl
mov cl, byte [eax]
test cl, cl
jne 0x1001c8e0
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x4c]
sub edx, edi
lea esi, [eax - 1]
add esi, edx
jmp 0x1001d525
cmp byte [esp + 0x16], 0
je 0x1001c9b0
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1001c9a1
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
movzx eax, word [ecx + 8]
test al, 8
je 0x1001c945
movsd xmm2, qword [ecx]
mov dl, byte [esp + 0x17]
movsd qword [esp + 0x50], xmm2
jmp 0x1001c9c6
test al, 4
je 0x1001c962
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1017a610
mov dl, byte [esp + 0x17]
movaps xmm2, xmm0
movsd qword [esp + 0x50], xmm0
jmp 0x1001c9c6
test al, 0x12
je 0x1001c9a1
movzx eax, byte [ecx + 0xa]
lea edx, [esp + 0x88]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
xorps xmm2, xmm2
movsd qword [esp + 0x90], xmm2
call fcn.1001ec50
movsd xmm2, qword [esp + 0x90]
add esp, 8
mov dl, byte [esp + 0x17]
movsd qword [esp + 0x50], xmm2
jmp 0x1001c9c6
mov dl, byte [esp + 0x17]
xorps xmm2, xmm2
movsd qword [esp + 0x50], xmm2
jmp 0x1001c9c6
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x1c], ecx
movsd xmm2, qword [ecx - 8]
movsd qword [esp + 0x50], xmm2
test esi, esi
mov eax, 6
xorps xmm3, xmm3
cmovs esi, eax
comisd xmm3, xmm2
mov dword [esp + 0x34], esi
jbe 0x1001c9ee
xorps xmm2, xmmword [0x101d9690]
mov dh, 0x2d
movsd qword [esp + 0x50], xmm2
jmp 0x1001ca04
cmp byte [esp + 0x24], 0
je 0x1001c9f9
mov dh, 0x2b
jmp 0x1001ca04
mov dh, byte [esp + 0xf]
neg dh
sbb dh, dh
and dh, 0x20
mov byte [esp + 0xf], dh
cmp dl, 4
jne 0x1001ca16
test esi, esi
jle 0x1001ca16
dec esi
mov dword [esp + 0x34], esi
movsd xmm1, qword [0x101d94c0]
and esi, 0xfff
movsd xmm4, qword [0x101d94b8]
cmp esi, 8
jb 0x1001ca65
lea ecx, [esi - 8]
shr ecx, 3
inc ecx
mov eax, ecx
neg eax
lea esi, [esi + eax*8]
nop
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
mulsd xmm1, xmm4
sub ecx, 1
jne 0x1001ca40
test esi, esi
jle 0x1001ca79
nop dword [eax]
dec esi
mulsd xmm1, xmm4
test esi, esi
jg 0x1001ca70
cmp dl, 2
jne 0x1001ca8b
movaps xmm0, xmm1
addsd xmm2, xmm0
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x68], xmm2
xor ecx, ecx
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x68]
ucomisd xmm0, qword [esp + 0x80]
mov dword [esp + 0x28], ecx
lahf
test ah, 0x44
jnp 0x1001cacb
mov dword [esp + 0x10], 0x101d43ac
lea esi, [ecx + 3]
jmp 0x1001d525
comisd xmm2, xmm3
jbe 0x1001cbf9
movsd xmm5, qword [0x101d95c8]
comisd xmm2, xmm5
movsd xmm6, qword [0x101d94c8]
movaps xmm3, xmm6
jb 0x1001cb10
nop
cmp ecx, 0x15e
jg 0x1001cb0c
mulsd xmm3, xmm5
add ecx, 0x64
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1001caf0
mov dword [esp + 0x28], ecx
movsd xmm5, qword [0x101d95a8]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1001cb41
cmp ecx, 0x15e
jg 0x1001cb3d
movaps xmm3, xmm0
add ecx, 0xa
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1001cb25
mov dword [esp + 0x28], ecx
movsd xmm5, qword [0x101d94e0]
movaps xmm0, xmm3
mulsd xmm0, xmm5
comisd xmm2, xmm0
jb 0x1001cb70
cmp ecx, 0x15e
jg 0x1001cb6c
movaps xmm3, xmm0
inc ecx
mulsd xmm0, xmm5
comisd xmm2, xmm0
jae 0x1001cb56
mov dword [esp + 0x28], ecx
divsd xmm2, xmm3
movsd xmm0, qword [0x101d94b0]
comisd xmm0, xmm2
movsd qword [esp + 0x50], xmm2
jbe 0x1001cba7
movsd xmm3, qword [0x101d9588]
mulsd xmm2, xmm3
sub ecx, 8
comisd xmm0, xmm2
ja 0x1001cb90
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x50], xmm2
comisd xmm6, xmm2
jbe 0x1001cbc5
nop dword [eax]
mulsd xmm2, xmm5
dec ecx
comisd xmm6, xmm2
ja 0x1001cbb0
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x50], xmm2
cmp ecx, 0x15e
jle 0x1001cc01
xor eax, eax
mov byte [esp + 0x90], dh
test dh, dh
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], ecx
setne al
mov dword [esp + eax + 0x90], 0x666e49
lea esi, [eax + 3]
jmp 0x1001d525
movsd xmm5, qword [0x101d94e0]
lea esi, [esp + 0x90]
cmp dl, 2
je 0x1001cc2c
addsd xmm2, xmm1
comisd xmm2, xmm5
movsd qword [esp + 0x50], xmm2
jb 0x1001cc2c
mulsd xmm2, xmm4
inc ecx
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x50], xmm2
cmp dl, 4
jne 0x1001cc5c
cmp byte [esp + 0x25], 0
sete byte [esp + 0x27]
cmp ecx, 0xfffffffc
jl 0x1001cc55
mov eax, dword [esp + 0x34]
cmp ecx, eax
jg 0x1001cc55
sub eax, ecx
mov byte [esp + 0x17], 2
mov dword [esp + 0x34], eax
jmp 0x1001cc6b
mov byte [esp + 0x17], 3
jmp 0x1001cc69
mov al, byte [esp + 0x26]
mov byte [esp + 0x27], al
cmp dl, 3
jne 0x1001cc6b
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x34]
cdq
mov dword [esp + 0x10], eax
mov eax, ecx
mov dword [esp + 0x4c], edx
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
adc dword [esp + 0x4c], edx
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x4c], edx
js 0x1001ccd0
mov eax, dword [esp + 0x10]
jg 0x1001cca8
cmp eax, 0x37
jbe 0x1001ccd0
mov ecx, dword [esp + 0x4c]
add eax, 0xf
adc ecx, 0
push ecx
push eax
call fcn.1001b8d0
mov ecx, eax
add esp, 8
mov dword [esp + 0x48], ecx
mov esi, ecx
test ecx, ecx
je 0x1001d680
mov ecx, dword [esp + 0x34]
movzx eax, byte [esp + 0x26]
test ecx, ecx
mov dword [esp + 0x10], esi
lea eax, [eax + eax*4]
lea edx, [eax*2 + 0x10]
setg al
or al, byte [esp + 0x26]
or al, byte [esp + 0x25]
mov byte [esp + 0x24], al
mov al, byte [esp + 0xf]
mov dword [esp + 0x68], edx
test al, al
je 0x1001cd03
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
movsd xmm1, qword [esp + 0x50]
movsd xmm5, qword [0x101d94e0]
test eax, eax
jns 0x1001cd20
mov byte [esi], 0x30
inc esi
jmp 0x1001cd53
test edx, edx
jg 0x1001cd28
mov al, 0x30
jmp 0x1001cd3f
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
sub eax, 1
mov dword [esp + 0x18], eax
jns 0x1001cd20
mov dword [esp + 0x68], edx
cmp byte [esp + 0x24], 0
je 0x1001cd5e
mov byte [esi], 0x2e
inc esi
inc eax
mov edi, eax
neg edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
test eax, eax
jns 0x1001ce3c
cmp dword [esp + 0x18], 8
jb 0x1001ce09
mov edi, dword [esp + 0x18]
and edi, reloc.WS2_32.dll_getsockopt
jns 0x1001cd8f
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x101d9660]
neg edi
movaps xmm4, xmmword [0x101d9620]
xorps xmm2, xmm2
mov dword [esp + 0x18], edi
movaps xmm3, xmm2
mov edi, dword [esp + 0x10]
movaps xmmword [esp + 0x50], xmm0
movd xmm0, dword [esp + 0x50]
add eax, 8
movd dword [esi], xmm0
psubd xmm2, xmm4
movd xmm0, dword [esp + 0x50]
psubd xmm3, xmm4
movd dword [esi + 4], xmm0
add esi, 8
cmp eax, dword [esp + 0x18]
jl 0x1001cdb2
paddd xmm2, xmm3
mov dword [esp + 0x18], eax
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
test eax, eax
jns 0x1001ce3c
neg eax
mov edi, esi
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edi, dword [esp + 0x10]
add esi, eax
mov edx, dword [esp + 0x68]
sub ecx, eax
test ecx, ecx
jle 0x1001ce67
dec ecx
test edx, edx
jg 0x1001ce49
mov al, 0x30
jmp 0x1001ce60
cvttsd2si eax, xmm1
dec edx
movd xmm0, eax
add al, 0x30
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm5
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x1001ce40
cmp byte [esp + 0x27], 0
je 0x1001cea8
cmp byte [esp + 0x24], 0
je 0x1001cea8
cmp byte [esi - 1], 0x30
lea eax, [esi - 1]
jne 0x1001ce8d
nop
mov esi, eax
lea eax, [esi - 1]
mov byte [esi], 0
cmp byte [eax], 0x30
je 0x1001ce80
cmp byte [esi - 1], 0x2e
lea eax, [esi - 1]
jne 0x1001cea8
cmp byte [esp + 0x26], 0
je 0x1001cea3
mov byte [esi], 0x30
inc esi
jmp 0x1001cea8
mov esi, eax
mov byte [esi], 0
cmp byte [esp + 0x17], 3
jne 0x1001cf37
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
movzx eax, byte [eax + 4]
mov al, byte [eax + str.0123456789ABCDEF0123456789abcdef]
mov byte [esi], al
test ecx, ecx
jns 0x1001ced7
neg ecx
mov byte [esi + 1], 0x2d
mov dword [esp + 0x28], ecx
jmp 0x1001cedb
mov byte [esi + 1], 0x2b
add esi, 2
cmp ecx, 0x64
jl 0x1001cf08
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
inc esi
imul eax, ecx, 0xffffff9c
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov al, cl
add al, 0x30
mov byte [esi], al
mov al, cl
shl cl, 2
add al, cl
mov ecx, dword [esp + 0x28]
add al, al
sub cl, al
add cl, 0x30
mov byte [esi + 1], cl
add esi, 2
mov al, byte [esp + 0x3b]
mov byte [esi], 0
sub esi, edi
test al, al
je 0x1001d525
mov al, byte [esp + 0xe]
test al, al
jne 0x1001d529
mov eax, dword [esp + 0x20]
cmp esi, eax
jge 0x1001d525
mov edx, eax
sub edx, esi
mov esi, eax
mov ecx, esi
cmp esi, edx
jl 0x1001cf7f
mov esi, edi
sub esi, edx
mov al, byte [esi + ecx]
mov byte [ecx + edi], al
dec ecx
cmp ecx, edx
jge 0x1001cf70
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0xf]
xor eax, eax
test cl, cl
setne al
test edx, edx
je 0x1001d525
add edi, eax
mov ecx, edx
shr ecx, 2
mov eax, 0x30303030
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1001d525
cmp byte [esp + 0x16], 0
jne 0x1001d51b
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
mov dword [ecx], eax
jmp 0x1001d51b
lea eax, [esp + 0x90]
mov byte [esp + 0x90], 0x25
mov dword [esp + 0x10], eax
mov esi, 1
jmp 0x1001d525
cmp byte [esp + 0x16], 0
je 0x1001d04e
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jle 0x1001d044
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1001d044
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1001d02f
cmp byte [ecx + 0xa], 1
jne 0x1001d02f
mov eax, dword [ecx + 0x10]
jmp 0x1001d03b
test dl, 1
jne 0x1001d044
mov dl, 1
call fcn.10038630
test eax, eax
je 0x1001d044
movsx eax, byte [eax]
jmp 0x1001d05c
mov dword [esp + 0x28], 0
jmp 0x1001d060
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
mov dword [esp + 0x28], eax
cmp esi, 1
jle 0x1001d11d
mov eax, dword [esp + 0x20]
sub eax, esi
mov ecx, eax
inc eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], eax
cmp eax, 1
jle 0x1001d0ca
cmp byte [esp + 0xe], 0
jne 0x1001d0ca
mov eax, ecx
cdq
add eax, dword [edi + 0xc]
adc edx, 0
js 0x1001d0a5
jg 0x1001d098
cmp eax, dword [edi + 0x10]
jb 0x1001d0a5
mov edx, ecx
mov ecx, edi
call fcn.1001d770
mov edx, eax
jmp 0x1001d0a9
mov edx, dword [esp + 0x50]
test edx, edx
jle 0x1001d0c2
nop dword [eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1001d0b0
mov dword [esp + 0x20], 0
dec esi
mov eax, esi
cdq
add eax, dword [edi + 0xc]
adc edx, 0
js 0x1001d0e8
jg 0x1001d0dd
cmp eax, dword [edi + 0x10]
jb 0x1001d0e8
mov edx, esi
mov ecx, edi
call fcn.1001d770
mov esi, eax
test esi, esi
jle 0x1001d11d
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0xc]
dec esi
mov eax, dword [edi + 8]
mov byte [ecx + eax], dl
inc dword [edi + 0xc]
test esi, esi
jg 0x1001d0f0
lea eax, [esp + 0x90]
mov byte [esp + 0x90], dl
mov esi, 1
mov dword [esp + 0x10], eax
jmp 0x1001d525
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x90]
mov esi, 1
mov byte [esp + 0x90], dl
mov dword [esp + 0x10], eax
jmp 0x1001d525
cmp byte [esp + 0x16], 0
je 0x1001d1a2
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 4]
cmp dword [edi], edx
jg 0x1001d155
xor edi, edi
mov dl, 6
jmp 0x1001d1b0
mov eax, dword [edi + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x1001d16b
xor edi, edi
mov dl, 6
jmp 0x1001d1b0
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1001d18a
cmp byte [ecx + 0xa], 1
jne 0x1001d18a
mov edi, dword [ecx + 0x10]
mov dl, 6
jmp 0x1001d1b0
test dl, 1
je 0x1001d195
xor edi, edi
mov dl, 6
jmp 0x1001d1b0
mov dl, 1
call fcn.10038630
mov edi, eax
mov dl, 6
jmp 0x1001d1b0
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov edi, dword [ecx - 4]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1001d1c3
mov edi, 0x101cf2a2
mov dword [esp + 0x10], edi
jmp 0x1001d1d1
mov eax, dword [esp + 0x48]
cmp dl, 7
cmove eax, edi
mov dword [esp + 0x48], eax
test esi, esi
js 0x1001d1f7
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
jle 0x1001d525
cmp byte [esi + edi], 0
je 0x1001d525
inc esi
cmp esi, eax
jl 0x1001d1e3
jmp 0x1001d525
test edi, edi
je 0x1001d523
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001d204
sub esi, ecx
and esi, 0x3fffffff
jmp 0x1001d525
cmp dl, 0xf
mov eax, 0x27
mov ecx, 0x22
cmove eax, ecx
cmp byte [esp + 0x16], 0
mov dword [esp + 0x18], eax
je 0x1001d291
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [eax], edx
jg 0x1001d248
mov dword [esp + 0x68], 0
jmp 0x1001d2ab
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1001d29f
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x1001d279
cmp byte [ecx + 0xa], 1
jne 0x1001d279
mov ecx, dword [ecx + 0x10]
jmp 0x1001d29f
test dl, 1
je 0x1001d282
xor ecx, ecx
jmp 0x1001d29f
mov dl, 1
call fcn.10038630
mov ecx, eax
mov dword [esp + 0x28], eax
jmp 0x1001d2a3
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x1001d2c1
cmp byte [esp + 0x17], 0xb
mov ecx, str.NULL
mov eax, str._NULL_
cmovne ecx, eax
mov dword [esp + 0x28], ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x80], edx
test esi, esi
je 0x1001d302
mov edi, eax
mov cl, byte [edx + ecx]
test cl, cl
je 0x1001d2ef
inc edx
lea eax, [edi + 1]
cmp cl, byte [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmovne eax, edi
mov edi, eax
sub esi, 1
jne 0x1001d2d2
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], edx
cmp dword [esp + 0x68], 0
je 0x1001d318
cmp byte [esp + 0x17], 0xb
mov dword [esp + 0x44], 1
je 0x1001d320
mov dword [esp + 0x44], 0
add eax, 3
add eax, edx
cmp eax, 0x46
jle 0x1001d3b2
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x1001d391
test edx, edx
ja 0x1001d391
jb 0x1001d345
cmp esi, 0x7fffff00
jae 0x1001d391
cmp dword [0x101e99f8], 0
je 0x1001d385
mov eax, dword [0x101ff258]
test eax, eax
je 0x1001d361
push eax
call dword [0x101e9a4c]
add esp, 4
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.1001b7d0
mov eax, dword [0x101ff258]
test eax, eax
je 0x1001d37f
push eax
call dword [0x101e9a54]
add esp, 4
mov eax, dword [esp + 0x7c]
jmp 0x1001d397
push esi
call dword [0x101e9a1c]
add esp, 4
jmp 0x1001d393
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001d680
mov edx, dword [esp + 0x80]
mov edi, eax
jmp 0x1001d3bd
lea edi, [esp + 0x90]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x44]
test esi, esi
je 0x1001d3cb
mov eax, dword [esp + 0x18]
mov byte [edi], al
xor ecx, ecx
test edx, edx
jle 0x1001d3eb
mov eax, dword [esp + 0x28]
mov al, byte [ecx + eax]
mov byte [esi + edi], al
inc esi
cmp al, byte [esp + 0x18]
jne 0x1001d3e6
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, edx
jl 0x1001d3d1
cmp dword [esp + 0x44], 0
je 0x1001d3fa
mov eax, dword [esp + 0x18]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0
jmp 0x1001d525
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
test eax, eax
je 0x1001d51b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001d51b
mov edx, dword [eax]
jmp 0x1001d4ef
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add ecx, 8
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx - 4]
lea esi, [eax + eax*4]
add esi, esi
mov edx, dword [edx + esi*8 + 0xc]
test edx, edx
je 0x1001d4cb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d460
sub ecx, dword [esp + 0x50]
mov eax, dword [edi + 0xc]
and ecx, 0x3fffffff
add eax, ecx
push ecx
cmp eax, dword [edi + 0x10]
jb 0x1001d488
mov ecx, edi
call fcn.1001d890
add esp, 4
jmp 0x1001d49d
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push edx
push eax
call fcn.101544a0
add esp, 0xc
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jb 0x1001d4b9
push 1
mov edx, 0x101cf460
mov ecx, edi
call fcn.1001d890
add esp, 4
jmp 0x1001d4cb
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x101cf460]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x68]
mov edx, dword [edx + esi*8 + 0x10]
test edx, edx
jne 0x1001d4db
xor ecx, ecx
jmp 0x1001d4ef
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d4e0
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [edi + 0xc]
add eax, ecx
push ecx
cmp eax, dword [edi + 0x10]
jb 0x1001d506
mov ecx, edi
call fcn.1001d890
add esp, 4
jmp 0x1001d51b
mov eax, dword [edi + 8]
add dword [edi + 0xc], ecx
sub eax, ecx
add eax, dword [edi + 0xc]
push edx
push eax
call fcn.101544a0
add esp, 0xc
mov dword [esp + 0x20], 0
xor esi, esi
mov al, byte [esp + 0xe]
mov edi, dword [esp + 0x20]
sub edi, esi
mov dword [esp + 0x20], edi
test edi, edi
jle 0x1001d594
test al, al
jne 0x1001d594
mov dword [esp + 0x68], edi
xor ecx, ecx
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
cdq
add dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
adc ecx, edx
js 0x1001d577
jg 0x1001d564
cmp dword [esp + 0x18], eax
jb 0x1001d577
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.1001d770
mov edx, eax
test edx, edx
jle 0x1001d598
jmp 0x1001d580
mov edx, dword [esp + 0x68]
nop dword [eax + eax]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1001d580
jmp 0x1001d598
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xc]
add eax, esi
push esi
cmp eax, dword [edi + 0x10]
jb 0x1001d5b3
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.1001d890
add esp, 4
jmp 0x1001d5cb
mov eax, dword [edi + 8]
add dword [edi + 0xc], esi
sub eax, esi
push dword [esp + 0x14]
add eax, dword [edi + 0xc]
push eax
call fcn.101544a0
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x1001d616
cmp byte [esp + 0xe], 0
je 0x1001d616
mov esi, dword [edi + 0xc]
xor ecx, ecx
cdq
add esi, eax
adc ecx, edx
js 0x1001d600
jg 0x1001d5ed
cmp esi, dword [edi + 0x10]
jb 0x1001d600
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.1001d770
mov edx, eax
test edx, edx
jle 0x1001d616
jmp 0x1001d604
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0xc]
dec edx
mov eax, dword [edi + 8]
mov byte [ecx + eax], 0x20
inc dword [edi + 0xc]
test edx, edx
jg 0x1001d604
mov esi, dword [esp + 0x48]
test esi, esi
je 0x1001d66b
mov ecx, dword [edi]
test ecx, ecx
je 0x1001d65c
cmp dword [ecx + 0x208], 0
je 0x1001d636
mov edx, esi
call fcn.1001bc60
jmp 0x1001d665
cmp esi, dword [ecx + 0x114]
jb 0x1001d65c
cmp esi, dword [ecx + 0x118]
jae 0x1001d65c
mov eax, dword [ecx + 0x110]
mov dword [esi], eax
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], esi
jmp 0x1001d665
push esi
call fcn.1001bbf0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x40]
inc edx
movsx eax, byte [edx]
test eax, eax
je case.default.0x1001c5e7
mov esi, dword [esp + 0x1c]
jmp 0x1001c2f0
mov byte [edi + 0x18], 1
mov dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 0x10]
jb 0x1001d6cf
push 1
mov edx, 0x101d43a8
mov ecx, edi
call fcn.1001d890
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
inc dword [edi + 0xc]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov al, byte [0x101d43a8]
mov byte [ecx + edx - 1], al
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret