Function at 0x10015ec0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
xor dl, dl
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], 0x1001fea0
mov byte [esp + 0x10], dl
mov esi, 0x1c
mov ecx, eax
mov byte [ecx], 0
inc ecx
dec esi
jne 0x10015ee3
mov bl, 0x10
lea esp, [esp]
mov cl, byte [edi]
movzx esi, cl
sub esi, 0x26
inc edi
cmp esi, 0xcd
ja case.0x10015f08.39
movzx esi, byte [esi + 0x10016448]
jmp dword [esi*4 + 0x1001642c]
mov byte [eax + 1], cl
or dl, 4
jmp 0x10015f3d
mov byte [eax + 1], cl
or dl, 2
jmp 0x10015f3d
mov byte [eax + 2], cl
or dl, 0x20
jmp 0x10015f3d
mov byte [eax + 3], cl
or dl, 0x40
jmp 0x10015f3d
mov byte [eax + 4], cl
or dl, 8
jmp 0x10015f3d
mov byte [eax + 5], cl
or dl, 0x10
dec bl
jne 0x10015ef0
movzx esi, dl
shl esi, 0x17
mov byte [esp + 0xd], dl
mov dword [esp + 0x14], edi
mov dword [eax + 0x18], esi
test dl, dl
jne 0x10015f5c
mov dl, 1
mov byte [esp + 0xd], dl
mov byte [eax + 6], cl
cmp cl, 0xf
jne 0x10015f78
mov cl, byte [edi]
inc edi
mov byte [eax + 7], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1001feea
jmp 0x10015f91
lea ebx, [ecx + 0x60]
cmp bl, 3
ja 0x10015f91
test dl, 0x10
je 0x10015f8a
or dl, 8
jmp 0x10015f8d
and dl, 0xf7
mov byte [esp + 0xd], dl
push ebp
movzx ebp, cl
mov byte [esp + 0x15], cl
mov esi, ebp
mov ecx, ebp
shr esi, 2
and ecx, reloc.WS2_32.dll_closesocket
jns 0x10015fad
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [esp + 0x1c]
movzx edx, byte [esi + edi]
add edx, ecx
mov bl, byte [edx + edi]
mov byte [esp + 0x28], bl
cmp bl, 0xff
jne 0x10015fe0
or dword [eax + 0x18], 0x3000
mov edx, ebp
xor bl, bl
and edx, 0xfffffffd
mov byte [esp + 0x28], bl
cmp edx, 0x24
jne 0x10015fe0
mov bl, 1
mov byte [esp + 0x28], bl
xor dl, dl
test bl, bl
jns 0x10015ff7
movzx edx, bl
and edx, 0x7f
movzx edx, word [edx + edi]
mov byte [esp + 0x28], dl
shr edx, 8
mov bl, byte [eax + 7]
mov byte [esp + 0x16], bl
test bl, bl
je 0x1001601d
movzx esi, byte [esi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov bl, byte [esp + 0x11]
test byte [esi + ecx + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], bl
je 0x1001601d
or dword [eax + 0x18], 0x3000
mov bl, byte [esp + 0x28]
test bl, 1
je 0x10016331
mov edi, dword [esp + 0x18]
or dword [eax + 0x18], 1
mov cl, byte [edi]
mov esi, dword [eax + 0x18]
mov bl, cl
shr bl, 6
mov byte [esp + 0x13], bl
mov byte [eax + 9], bl
mov bl, cl
mov byte [eax + 8], cl
shr cl, 3
and bl, 7
and cl, 7
inc edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], bl
mov byte [eax + 0xb], bl
mov byte [esp + 0x12], cl
mov byte [eax + 0xa], cl
test dl, dl
je 0x1001607a
movzx edx, dl
shl edx, cl
test dl, dl
jns 0x1001607a
or esi, 0x3000
mov dword [eax + 0x18], esi
cmp byte [esp + 0x16], 0
jne 0x100160c5
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp cl, 6
ja 0x100160c5
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp byte [esp + 0x13], 3
movzx edx, cl
jne 0x100160ae
movzx ecx, byte [esp + 0x12]
mov dl, byte [ecx + edx*8 + 0x1001ff98]
mov cl, bl
jmp 0x100160b8
mov dl, byte [edx + 0x1001ff91]
mov cl, byte [esp + 0x12]
shl dl, cl
test dl, dl
jns 0x100160c5
or dword [eax + 0x18], 0x3000
test byte [esp + 0x11], 0x20
je 0x100160da
cmp byte [esp + 0x13], 3
jne 0x100160fd
or dword [eax + 0x18], 0x9000
mov cl, byte [esp + 0x12]
mov bl, byte [esp + 0x16]
test bl, bl
je 0x10016188
lea edx, [ebp - 0x20]
cmp edx, 3
ja case.default.0x100160f6
jmp dword [edx*4 + 0x10016518]
cmp byte [esp + 0x16], 0
mov cl, byte [esp + 0x15]
je 0x10016114
mov esi, 0x10020059
mov edi, 0x1002006b
jmp 0x10016121
mov esi, 0x10020041
mov edi, 0x10020059
and cl, 0xfe
cmp byte [esi], cl
je 0x10016139
add esi, 2
cmp esi, edi
jne 0x10016121
mov cl, byte [esp + 0x12]
or dword [eax + 0x18], 0x9000
jmp 0x100160de
movzx edx, byte [esi + 1]
mov cl, byte [esp + 0x12]
shl edx, cl
test dl, dl
jns 0x100160de
or dword [eax + 0x18], 0x9000
jmp 0x100160de
mov byte [esp + 0x13], 3
cmp cl, 4
ja case.0x100161fa.197
cmp cl, 1
jne case.0x100161fa.81
jmp case.0x100161fa.197
mov byte [esp + 0x13], 3
cmp cl, 4
je case.0x100161fa.197
cmp cl, 5
jne case.0x100161fa.81
jmp case.0x100161fa.197
mov edx, ebp
sub edx, 0x8c
je 0x10016218
sub edx, 2
je 0x10016213
cmp byte [esp + 0x13], 3
jne 0x100161e4
test bl, bl
je 0x100161b2
mov esi, 0x1002007a
mov edi, 0x100200a4
jmp 0x100161bc
mov esi, 0x1002006b
mov edi, 0x1002007a
mov dl, byte [esp + 0x15]
mov bl, byte [esi]
cmp bl, dl
je 0x100161cf
add esi, 3
cmp esi, edi
jne 0x100161c0
jmp case.0x100161fa.81
mov dl, byte [esp + 0x11]
test byte [esi + 1], dl
je case.0x100161fa.81
movzx edx, byte [esi + 2]
shl edx, cl
test dl, dl
jns case.0x100161fa.197
jmp case.0x100161fa.81
test bl, bl
je case.0x100161fa.81
lea ecx, [ebp - 0x50]
cmp ecx, 0xa7
ja case.0x100161fa.81
movzx ecx, byte [ecx + 0x10016538]
jmp dword [ecx*4 + 0x10016528]
test byte [esp + 0x11], 9
jne case.0x100161fa.197
jmp case.0x100161fa.81
test byte [esp + 0x11], 6
jne case.0x100161fa.197
jmp case.0x100161fa.81
cmp cl, 1
je case.0x100161fa.197
cmp cl, 5
jbe case.0x100161fa.81
or dword [eax + 0x18], 0x11000
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
inc edx
cmp byte [esp + 0x12], 1
ja 0x1001624c
mov bl, byte [esp + 0x15]
cmp bl, 0xf6
jne 0x10016242
or byte [esp + 0x28], 2
jmp 0x1001624c
cmp bl, 0xf7
jne 0x1001624c
or byte [esp + 0x28], 0x10
movzx esi, byte [esp + 0x13]
sub esi, 0
je 0x1001626f
dec esi
je 0x10016268
dec esi
jne 0x10016290
test byte [esp + 0x11], 0x10
mov byte [esp + 0x14], 2
jmp 0x10016289
mov byte [esp + 0x14], 1
jmp 0x10016290
test byte [esp + 0x11], 0x10
je 0x10016284
cmp byte [esp + 0x17], 6
jne 0x10016290
mov byte [esp + 0x14], 2
jmp 0x10016290
cmp byte [esp + 0x17], 5
jne 0x10016290
mov byte [esp + 0x14], 4
cmp byte [esp + 0x13], 3
je 0x100162da
cmp byte [esp + 0x17], 4
jne 0x100162da
test byte [esp + 0x11], 0x10
jne 0x100162da
or dword [eax + 0x18], 2
mov bl, cl
shr bl, 6
mov byte [eax + 0xd], bl
mov bl, cl
mov byte [eax + 0xc], cl
movzx ecx, cl
shr bl, 3
and ecx, 7
and bl, 7
inc edx
mov byte [eax + 0xe], bl
mov byte [eax + 0xf], cl
cmp cl, 5
jne 0x100162da
test byte [esp + 0x13], 1
jne 0x100162da
mov byte [esp + 0x14], 4
movzx esi, byte [esp + 0x14]
mov ecx, esi
dec edx
dec ecx
je 0x1001631c
dec ecx
je 0x10016305
sub ecx, 2
jne 0x10016325
or dword [eax + 0x18], 0x80
mov ecx, dword [edx]
mov bl, byte [esp + 0x28]
mov dword [eax + 0x14], ecx
mov cl, byte [esp + 0x11]
add edx, esi
jmp 0x10016345
or dword [eax + 0x18], 0x40
mov cx, word [edx]
mov bl, byte [esp + 0x28]
mov word [eax + 0x14], cx
mov cl, byte [esp + 0x11]
add edx, esi
jmp 0x10016345
or dword [eax + 0x18], 0x20
mov cl, byte [edx]
mov byte [eax + 0x14], cl
mov bl, byte [esp + 0x28]
mov cl, byte [esp + 0x11]
add edx, esi
jmp 0x10016345
mov cl, byte [esp + 0x11]
mov edx, dword [esp + 0x18]
test cl, 0x20
je 0x10016345
or dword [eax + 0x18], 0x9000
pop ebp
test bl, 0x10
je 0x10016390
test bl, 0x40
je 0x1001636f
test cl, 8
je 0x100163e7
or dword [eax + 0x18], 0x108
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x1001640a
test cl, 8
je 0x10016384
or dword [eax + 0x18], 8
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x10016390
or dword [eax + 0x18], 0x10
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
test bl, 4
je 0x100163d3
mov ecx, dword [eax + 0x18]
test cl, 0x10
je 0x100163ac
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x100163d0
test cl, 8
je 0x100163c3
or ecx, 0x800
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x100163d0
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
test bl, 2
je 0x100163e2
or dword [eax + 0x18], 4
mov cl, byte [edx]
mov byte [eax + 0x10], cl
inc edx
test bl, 0x40
je 0x100163f8
or dword [eax + 0x18], 0x110
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
jmp 0x1001640a
test bl, 0x20
je 0x1001640a
or dword [eax + 0x18], 0x104
mov cl, byte [edx]
mov byte [eax + 0x10], cl
inc edx
mov cl, dl
sub cl, byte [esp + 0x20]
pop edi
pop esi
mov byte [eax], cl
pop ebx
cmp cl, 0xf
jbe 0x10016424
or dword [eax + 0x18], 0x5000
mov byte [eax], 0xf
movzx eax, byte [eax]
add esp, 0x10
ret