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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, edx
mov dword [esp + 0x44], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
push edi
mov esi, dword [eax + 0x10]
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x48], eax
mov edi, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0
cmp edi, 5
je 0x101c9bfe
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x48]
push eax
push 0x101c9a10
lea edx, [esp + 0x28]
call fcn.101c9950
add esp, 8
test eax, eax
jne 0x101c9fcf
cmp edi, 2
je 0x101c9bf8
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x48]
push eax
push 0x101c9a10
lea edx, [esp + 0x28]
call fcn.101c9950
add esp, 8
test eax, eax
jne 0x101c9fcf
mov edi, dword [esp + 0x4c]
jmp 0x101c9c03
mov edi, 1
lea esi, [edi + edi*2]
mov dword [esp + 0x10], edi
shl esi, 3
call fcn.101b08e0
test eax, eax
jne 0x101c9fca
push eax
push esi
call fcn.101312f0
add esp, 8
mov dword [esp + 0x70], eax
test eax, eax
je 0x101c9fca
push esi
push 0
push eax
call fcn.101fd690
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov edx, 0x101c9ad0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x60], ecx
mov ecx, dword [ecx + 0x10]
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], 0xffffffff
call fcn.101c99b0
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x101c9fb4
xor esi, esi
test edi, edi
jle 0x101c9cd0
mov eax, dword [esp + 0x70]
mov edi, dword [ebp + 0x14]
add eax, 0xc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
cmp dword [eax], 0
je 0x101c9cc4
xor eax, eax
xor ecx, ecx
mov edx, esi
and edx, 0x3f
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [edi], eax
or dword [edi + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc esi
add eax, 0x18
mov dword [esp + 0x20], eax
cmp esi, ecx
jl 0x101c9c98
mov ecx, dword [ebp + 0x18]
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x6c]
jmp 0x101c9ce5
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x74], 0
jge 0x101c9d2b
xor edi, edi
mov dword [esp + 0x74], 0
test ecx, ecx
jle 0x101c9dbe
xor esi, esi
mov eax, dword [esp + 0x70]
push dword [esp + 0x68]
lea edx, [eax + 8]
lea ecx, [eax + 0xc]
add edx, esi
add ecx, esi
call fcn.101c9a50
mov ecx, dword [esp + 0x70]
inc edi
add esp, 4
add esi, 0x18
cmp edi, ecx
jl 0x101c9d00
jmp 0x101c9dbe
mov edx, accept
test ecx, ecx
jle 0x101c9faf
mov esi, dword [esp + 0x70]
add esi, 8
nop
cmp dword [esi + 4], 0
je 0x101c9d4b
cmp dword [esi], edx
cmovl edx, dword [esi]
add esi, 0x18
sub ecx, 1
jne 0x101c9d40
cmp edx, 0x7fffffff
je 0x101c9faf
mov eax, edx
xor edi, edi
sub eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x74], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
nop dword [eax]
mov esi, dword [esp + 0x70]
push dword [esp + 0x3c]
add esi, edx
lea edx, [esi + 8]
lea ecx, [esi + 0xc]
call fcn.101c9a50
add esp, 4
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
push dword [esp + 0x38]
call fcn.101c9a50
mov edx, dword [esp + 0x24]
inc edi
mov ecx, dword [esp + 0x70]
add edx, 0x18
add esp, 4
mov dword [esp + 0x20], edx
cmp edi, ecx
jl 0x101c9d80
mov edi, dword [esp + 0x74]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
xor esi, esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x101c9f7c
mov dword [esp + 0x20], edx
mov edx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
nop dword [eax]
add edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0x14]
mov dword [esp + 0x34], eax
test eax, eax
je 0x101c9f58
mov eax, dword [esp + 0x68]
mov edx, dword [edx + 0x10]
add eax, edi
mov dword [esp + 0x38], edx
cmp edx, eax
jge 0x101c9f58
mov eax, dword [esp + 0x14]
and eax, 0x8000003f
jns 0x101c9e4c
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x48], eax
cmp edx, edi
jl 0x101c9f54
xor ecx, ecx
xor esi, esi
bts esi, eax
cmp eax, 0x20
cmovae ecx, esi
xor esi, ecx
cmp eax, 0x40
mov eax, edx
cmovae ecx, esi
sub eax, edi
xor edi, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
bts edi, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [esp + 0x10]
cmovae edx, edi
or eax, dword [ebp + 0x10]
or ecx, dword [ebp + 0xc]
and eax, dword [esp + 0x28]
and ecx, esi
or ecx, eax
mov dword [esp + 0x40], edx
mov eax, 1
jne 0x101c9eb0
mov eax, 0x3e8
add dword [esp + 8], eax
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x28]
or dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
cmp dword [eax], esi
jle 0x101c9eee
nop
mov eax, edi
mov ecx, esi
call fcn.101e5650
or dword [esp + 0x20], eax
inc esi
mov eax, dword [esp + 0x2c]
or dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
cmp esi, dword [eax]
jl 0x101c9ed0
mov esi, dword [esp + 0x34]
mov al, byte [esi]
test al, 0xfe
je 0x101c9f4c
test al, al
jns 0x101c9f0d
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.101b4ec0
mov ecx, dword [esp + 0x30]
jmp 0x101c9f19
movzx ecx, al
mov eax, 1
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp + 0x68]
add edx, 0xfffffffe
mov edi, dword [esp + 0x3c]
add edx, ecx
add eax, edi
mov dword [esp + 0x34], esi
mov esi, dword [esp + 8]
cmp edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 8], esi
jl 0x101c9e50
jmp 0x101c9f54
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp eax, ecx
jl 0x101c9e10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jle 0x101c9ce1
mov esi, dword [ebp + 0x18]
mov dword [esi + 4], edi
mov edi, esi
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], eax
mov edi, dword [esp + 8]
mov dword [esp + 0x24], edi
jmp 0x101c9ce5
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
push dword [esp + 0x70]
call fcn.10131520
mov eax, dword [esp + 0x60]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
mov esp, ebp
pop ebp
ret