Function at 0x1000d9c0
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], 0x100015a0
mov byte [esp + 0x10], dl
mov esi, 0x1c
mov ecx, eax
mov byte [ecx], 0
inc ecx
dec esi
jne 0x1000d9e3
mov bl, 0x10
lea esp, [esp]
mov cl, byte [edi]
movzx esi, cl
sub esi, 0x26
inc edi
cmp esi, 0xcd
ja case.0x1000da08.39
movzx esi, byte [esi + 0x1000df48]
jmp dword [esi*4 + 0x1000df2c]
mov byte [eax + 1], cl
or dl, 4
jmp 0x1000da3d
mov byte [eax + 1], cl
or dl, 2
jmp 0x1000da3d
mov byte [eax + 2], cl
or dl, 0x20
jmp 0x1000da3d
mov byte [eax + 3], cl
or dl, 0x40
jmp 0x1000da3d
mov byte [eax + 4], cl
or dl, 8
jmp 0x1000da3d
mov byte [eax + 5], cl
or dl, 0x10
dec bl
jne 0x1000d9f0
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 0x1000da5c
mov dl, 1
mov byte [esp + 0xd], dl
mov byte [eax + 6], cl
cmp cl, 0xf
jne 0x1000da78
mov cl, byte [edi]
inc edi
mov byte [eax + 7], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x100015ea
jmp 0x1000da91
lea ebx, [ecx + 0x60]
cmp bl, 3
ja 0x1000da91
test dl, 0x10
je 0x1000da8a
or dl, 8
jmp 0x1000da8d
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 0x1000daad
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 0x1000dae0
or dword [eax + 0x18], 0x3000
mov edx, ebp
xor bl, bl
and edx, 0xfffffffd
mov byte [esp + 0x28], bl
cmp edx, 0x24
jne 0x1000dae0
mov bl, 1
mov byte [esp + 0x28], bl
xor dl, dl
test bl, bl
jns 0x1000daf7
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 0x1000db1d
movzx esi, byte [esi + 0x100016d0]
mov bl, byte [esp + 0x11]
test byte [esi + ecx + 0x100016d0], bl
je 0x1000db1d
or dword [eax + 0x18], 0x3000
mov bl, byte [esp + 0x28]
test bl, 1
je 0x1000de31
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 0x1000db7a
movzx edx, dl
shl edx, cl
test dl, dl
jns 0x1000db7a
or esi, 0x3000
mov dword [eax + 0x18], esi
cmp byte [esp + 0x16], 0
jne 0x1000dbc5
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp cl, 6
ja 0x1000dbc5
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp byte [esp + 0x13], 3
movzx edx, cl
jne 0x1000dbae
movzx ecx, byte [esp + 0x12]
mov dl, byte [ecx + edx*8 + 0x10001698]
mov cl, bl
jmp 0x1000dbb8
mov dl, byte [edx + 0x10001691]
mov cl, byte [esp + 0x12]
shl dl, cl
test dl, dl
jns 0x1000dbc5
or dword [eax + 0x18], 0x3000
test byte [esp + 0x11], 0x20
je 0x1000dbda
cmp byte [esp + 0x13], 3
jne 0x1000dbfd
or dword [eax + 0x18], 0x9000
mov cl, byte [esp + 0x12]
mov bl, byte [esp + 0x16]
test bl, bl
je 0x1000dc88
lea edx, [ebp - 0x20]
cmp edx, 3
ja case.default.0x1000dbf6
jmp dword [edx*4 + 0x1000e018]
cmp byte [esp + 0x16], 0
mov cl, byte [esp + 0x15]
je 0x1000dc14
mov esi, 0x10001759
mov edi, 0x1000176b
jmp 0x1000dc21
mov esi, 0x10001741
mov edi, 0x10001759
and cl, 0xfe
cmp byte [esi], cl
je 0x1000dc39
add esi, 2
cmp esi, edi
jne 0x1000dc21
mov cl, byte [esp + 0x12]
or dword [eax + 0x18], 0x9000
jmp 0x1000dbde
movzx edx, byte [esi + 1]
mov cl, byte [esp + 0x12]
shl edx, cl
test dl, dl
jns 0x1000dbde
or dword [eax + 0x18], 0x9000
jmp 0x1000dbde
mov byte [esp + 0x13], 3
cmp cl, 4
ja case.0x1000dcfa.197
cmp cl, 1
jne case.0x1000dcfa.81
jmp case.0x1000dcfa.197
mov byte [esp + 0x13], 3
cmp cl, 4
je case.0x1000dcfa.197
cmp cl, 5
jne case.0x1000dcfa.81
jmp case.0x1000dcfa.197
mov edx, ebp
sub edx, 0x8c
je 0x1000dd18
sub edx, 2
je 0x1000dd13
cmp byte [esp + 0x13], 3
jne 0x1000dce4
test bl, bl
je 0x1000dcb2
mov esi, 0x1000177a
mov edi, 0x100017a4
jmp 0x1000dcbc
mov esi, 0x1000176b
mov edi, 0x1000177a
mov dl, byte [esp + 0x15]
mov bl, byte [esi]
cmp bl, dl
je 0x1000dccf
add esi, 3
cmp esi, edi
jne 0x1000dcc0
jmp case.0x1000dcfa.81
mov dl, byte [esp + 0x11]
test byte [esi + 1], dl
je case.0x1000dcfa.81
movzx edx, byte [esi + 2]
shl edx, cl
test dl, dl
jns case.0x1000dcfa.197
jmp case.0x1000dcfa.81
test bl, bl
je case.0x1000dcfa.81
lea ecx, [ebp - 0x50]
cmp ecx, 0xa7
ja case.0x1000dcfa.81
movzx ecx, byte [ecx + 0x1000e038]
jmp dword [ecx*4 + 0x1000e028]
test byte [esp + 0x11], 9
jne case.0x1000dcfa.197
jmp case.0x1000dcfa.81
test byte [esp + 0x11], 6
jne case.0x1000dcfa.197
jmp case.0x1000dcfa.81
cmp cl, 1
je case.0x1000dcfa.197
cmp cl, 5
jbe case.0x1000dcfa.81
or dword [eax + 0x18], 0x11000
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
inc edx
cmp byte [esp + 0x12], 1
ja 0x1000dd4c
mov bl, byte [esp + 0x15]
cmp bl, 0xf6
jne 0x1000dd42
or byte [esp + 0x28], 2
jmp 0x1000dd4c
cmp bl, 0xf7
jne 0x1000dd4c
or byte [esp + 0x28], 0x10
movzx esi, byte [esp + 0x13]
sub esi, 0
je 0x1000dd6f
dec esi
je 0x1000dd68
dec esi
jne 0x1000dd90
test byte [esp + 0x11], 0x10
mov byte [esp + 0x14], 2
jmp 0x1000dd89
mov byte [esp + 0x14], 1
jmp 0x1000dd90
test byte [esp + 0x11], 0x10
je 0x1000dd84
cmp byte [esp + 0x17], 6
jne 0x1000dd90
mov byte [esp + 0x14], 2
jmp 0x1000dd90
cmp byte [esp + 0x17], 5
jne 0x1000dd90
mov byte [esp + 0x14], 4
cmp byte [esp + 0x13], 3
je 0x1000ddda
cmp byte [esp + 0x17], 4
jne 0x1000ddda
test byte [esp + 0x11], 0x10
jne 0x1000ddda
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 0x1000ddda
test byte [esp + 0x13], 1
jne 0x1000ddda
mov byte [esp + 0x14], 4
movzx esi, byte [esp + 0x14]
mov ecx, esi
dec edx
dec ecx
je 0x1000de1c
dec ecx
je 0x1000de05
sub ecx, 2
jne 0x1000de25
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 0x1000de45
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 0x1000de45
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 0x1000de45
mov cl, byte [esp + 0x11]
mov edx, dword [esp + 0x18]
test cl, 0x20
je 0x1000de45
or dword [eax + 0x18], 0x9000
pop ebp
test bl, 0x10
je 0x1000de90
test bl, 0x40
je 0x1000de6f
test cl, 8
je 0x1000dee7
or dword [eax + 0x18], 0x108
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x1000df0a
test cl, 8
je 0x1000de84
or dword [eax + 0x18], 8
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x1000de90
or dword [eax + 0x18], 0x10
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
test bl, 4
je 0x1000ded3
mov ecx, dword [eax + 0x18]
test cl, 0x10
je 0x1000deac
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x1000ded0
test cl, 8
je 0x1000dec3
or ecx, 0x800
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x1000ded0
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
test bl, 2
je 0x1000dee2
or dword [eax + 0x18], 4
mov cl, byte [edx]
mov byte [eax + 0x10], cl
inc edx
test bl, 0x40
je 0x1000def8
or dword [eax + 0x18], 0x110
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
jmp 0x1000df0a
test bl, 0x20
je 0x1000df0a
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 0x1000df24
or dword [eax + 0x18], 0x5000
mov byte [eax], 0xf
movzx eax, byte [eax]
add esp, 0x10
ret