Function at 0x1001eed0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push edi
xor bl, bl
mov dword [ebp - 0xc], eax
mov edi, edx
xor al, al
mov ecx, 0x1c
rep stosb byte es:[edi], al
mov dword [ebp - 0x10], 0x1004ac30
mov byte [ebp - 5], bl
mov cl, 0x10
push esi
mov edi, dword [ebp - 0xc]
mov al, byte [edi]
movzx esi, al
inc edi
sub esi, 0x26
mov dword [ebp - 0xc], edi
cmp esi, 0xcd
ja case.0x1001ef16.39
movzx esi, byte [esi + 0x1001f3fc]
jmp dword [esi*4 + 0x1001f3e0]
mov byte [edx + 1], al
or bl, 4
jmp 0x1001ef4b
mov byte [edx + 1], al
or bl, 2
jmp 0x1001ef4b
mov byte [edx + 2], al
or bl, 0x20
jmp 0x1001ef4b
mov byte [edx + 3], al
or bl, 0x40
jmp 0x1001ef4b
mov byte [edx + 4], al
or bl, 8
jmp 0x1001ef4b
mov byte [edx + 5], al
or bl, 0x10
dec cl
jne 0x1001eef8
movzx ecx, bl
shl ecx, 0x17
mov byte [ebp - 1], bl
mov dword [edx + 0x18], ecx
test bl, bl
jne 0x1001ef64
mov bl, 1
mov byte [ebp - 1], bl
mov byte [edx + 6], al
cmp al, 0xf
jne 0x1001ef80
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
inc ecx
mov byte [edx + 7], al
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0x1004ac7a
jmp 0x1001ef98
lea ecx, [eax + 0x60]
cmp cl, 3
ja 0x1001ef98
test bl, 0x10
je 0x1001ef92
or bl, 8
jmp 0x1001ef95
and bl, 0xf7
mov byte [ebp - 1], bl
movzx ecx, al
mov byte [ebp - 6], al
mov esi, ecx
mov eax, ecx
shr esi, 2
and eax, reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x14], ecx
jns 0x1001efb4
dec eax
or eax, 0xfffffffc
inc eax
mov edi, dword [ebp - 0x10]
movzx ebx, byte [esi + edi]
add ebx, eax
mov bl, byte [ebx + edi]
mov byte [ebp - 3], bl
cmp bl, 0xff
jne 0x1001efe1
or dword [edx + 0x18], 0x3000
xor bl, bl
and ecx, 0xfffffffd
mov byte [ebp - 3], bl
cmp ecx, 0x24
jne 0x1001efe1
mov bl, 1
mov byte [ebp - 3], bl
xor cl, cl
test bl, bl
jns 0x1001effa
mov edi, dword [ebp - 0x10]
movzx ecx, bl
and ecx, 0x7f
movzx ecx, word [ecx + edi]
mov byte [ebp - 3], cl
shr ecx, 8
mov bl, byte [edx + 7]
mov byte [ebp - 7], bl
test bl, bl
je 0x1001f01e
movzx esi, byte [esi + 0x1004ad60]
mov bl, byte [ebp - 1]
test byte [esi + eax + 0x1004ad60], bl
je 0x1001f01e
or dword [edx + 0x18], 0x3000
mov bl, byte [ebp - 3]
test bl, 1
je 0x1001f2ef
mov edi, dword [ebp - 0xc]
or dword [edx + 0x18], 1
mov al, byte [edi]
mov esi, dword [edx + 0x18]
mov bl, al
shr bl, 6
mov byte [ebp - 4], bl
mov byte [edx + 9], bl
mov bl, al
mov byte [edx + 8], al
shr al, 3
and bl, 7
and al, 7
inc edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], bl
mov byte [edx + 0xb], bl
mov byte [ebp - 2], al
mov byte [edx + 0xa], al
test cl, cl
je 0x1001f077
movzx eax, cl
mov cl, byte [ebp - 2]
shl eax, cl
test al, al
jns 0x1001f077
or esi, 0x3000
mov dword [edx + 0x18], esi
cmp byte [ebp - 7], 0
jne 0x1001f0bb
mov cl, byte [ebp - 6]
add cl, 0x27
cmp cl, 6
ja 0x1001f0bb
mov al, byte [ebp - 6]
add al, 0x27
cmp byte [ebp - 4], 3
movzx eax, al
jne 0x1001f0a5
movzx ecx, byte [ebp - 2]
mov al, byte [ecx + eax*8 + 0x1004ad28]
mov cl, bl
jmp 0x1001f0ae
mov al, byte [eax + 0x1004ad21]
mov cl, byte [ebp - 2]
shl al, cl
test al, al
jns 0x1001f0bb
or dword [edx + 0x18], 0x3000
mov bl, byte [ebp - 1]
test bl, 0x20
je 0x1001f111
cmp byte [ebp - 4], 3
je 0x1001f10a
cmp byte [ebp - 7], 0
mov al, byte [ebp - 6]
je 0x1001f0de
mov esi, 0x1004ade9
mov edi, 0x1004adfb
jmp 0x1001f0f0
mov al, byte [ebp - 6]
mov esi, 0x1004add1
mov edi, 0x1004ade9
and al, 0xfe
lea ecx, [ecx]
cmp byte [esi], al
je 0x1001f0fd
add esi, 2
cmp esi, edi
jne 0x1001f0f0
jmp 0x1001f10a
movzx eax, byte [esi + 1]
mov cl, byte [ebp - 2]
shl eax, cl
test al, al
jns 0x1001f111
or dword [edx + 0x18], 0x9000
cmp byte [ebp - 7], 0
mov ecx, dword [ebp - 0x14]
je 0x1001f161
lea eax, [ecx - 0x20]
cmp eax, 3
ja case.default.0x1001f122
jmp dword [eax*4 + 0x1001f4cc]
mov al, byte [ebp - 2]
mov byte [ebp - 4], 3
cmp al, 4
ja case.0x1001f1d0.197
cmp al, 1
jne case.0x1001f1d0.81
jmp case.0x1001f1d0.197
mov al, byte [ebp - 2]
mov byte [ebp - 4], 3
cmp al, 4
je case.0x1001f1d0.197
cmp al, 5
jne case.0x1001f1d0.81
jmp case.0x1001f1d0.197
mov eax, ecx
sub eax, 0x8c
je 0x1001f1f0
sub eax, 2
je 0x1001f1e5
cmp byte [ebp - 4], 3
jne 0x1001f1b9
cmp byte [ebp - 7], 0
je 0x1001f18b
mov esi, 0x1004ae0a
mov edi, 0x1004ae34
jmp 0x1001f195
mov esi, 0x1004adfb
mov edi, 0x1004ae0a
mov cl, byte [esi]
cmp cl, byte [ebp - 6]
je 0x1001f1a5
add esi, 3
cmp esi, edi
jne 0x1001f195
jmp case.0x1001f1d0.81
test byte [esi + 1], bl
je case.0x1001f1d0.81
movzx eax, byte [esi + 2]
mov cl, byte [ebp - 2]
shl eax, cl
test al, al
jns case.0x1001f1d0.197
jmp case.0x1001f1d0.81
cmp byte [ebp - 7], 0
je case.0x1001f1d0.81
lea eax, [ecx - 0x50]
cmp eax, 0xa7
ja case.0x1001f1d0.81
movzx ecx, byte [eax + 0x1001f4ec]
jmp dword [ecx*4 + 0x1001f4dc]
test bl, 9
jne case.0x1001f1d0.197
jmp case.0x1001f1d0.81
test bl, 6
jne case.0x1001f1d0.197
jmp case.0x1001f1d0.81
mov al, byte [ebp - 2]
cmp al, 1
je case.0x1001f1d0.197
cmp al, 5
jmp 0x1001f1f4
cmp byte [ebp - 2], 5
jbe case.0x1001f1d0.81
or dword [edx + 0x18], 0x11000
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
inc ecx
cmp byte [ebp - 2], 1
ja 0x1001f220
mov bl, byte [ebp - 6]
cmp bl, 0xf6
jne 0x1001f217
or byte [ebp - 3], 2
jmp 0x1001f220
cmp bl, 0xf7
jne 0x1001f220
or byte [ebp - 3], 0x10
movzx esi, byte [ebp - 4]
sub esi, 0
je 0x1001f23f
dec esi
je 0x1001f239
dec esi
jne 0x1001f25b
test byte [ebp - 1], 0x10
mov byte [ebp - 5], 2
jmp 0x1001f255
mov byte [ebp - 5], 1
jmp 0x1001f25b
test byte [ebp - 1], 0x10
je 0x1001f251
cmp byte [ebp - 8], 6
jne 0x1001f25b
mov byte [ebp - 5], 2
jmp 0x1001f25b
cmp byte [ebp - 8], 5
jne 0x1001f25b
mov byte [ebp - 5], 4
cmp byte [ebp - 4], 3
je 0x1001f29f
cmp byte [ebp - 8], 4
jne 0x1001f29f
test byte [ebp - 1], 0x10
jne 0x1001f29f
or dword [edx + 0x18], 2
mov bl, al
shr bl, 6
mov byte [edx + 0xd], bl
mov bl, al
mov byte [edx + 0xc], al
movzx eax, al
shr bl, 3
and eax, 7
and bl, 7
inc ecx
mov byte [edx + 0xe], bl
mov byte [edx + 0xf], al
cmp al, 5
jne 0x1001f29f
test byte [ebp - 4], 1
jne 0x1001f29f
mov byte [ebp - 5], 4
movzx esi, byte [ebp - 5]
mov eax, esi
dec ecx
dec eax
je 0x1001f2dc
dec eax
je 0x1001f2c7
sub eax, 2
jne 0x1001f2e5
or dword [edx + 0x18], 0x80
mov eax, dword [ecx]
mov bl, byte [ebp - 3]
mov dword [edx + 0x14], eax
mov al, byte [ebp - 1]
add ecx, esi
jmp 0x1001f300
or dword [edx + 0x18], 0x40
mov ax, word [ecx]
mov bl, byte [ebp - 3]
mov word [edx + 0x14], ax
mov al, byte [ebp - 1]
add ecx, esi
jmp 0x1001f300
or dword [edx + 0x18], 0x20
mov al, byte [ecx]
mov byte [edx + 0x14], al
mov bl, byte [ebp - 3]
mov al, byte [ebp - 1]
add ecx, esi
jmp 0x1001f300
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
test al, 0x20
je 0x1001f300
or dword [edx + 0x18], 0x9000
pop esi
test bl, 0x10
je 0x1001f349
test bl, 0x40
je 0x1001f329
test al, 8
je 0x1001f39d
or dword [edx + 0x18], 0x108
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
jmp 0x1001f3c0
test al, 8
je 0x1001f33d
or dword [edx + 0x18], 8
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
jmp 0x1001f349
or dword [edx + 0x18], 0x10
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
add ecx, 4
test bl, 4
je 0x1001f389
mov eax, dword [edx + 0x18]
test al, 0x10
je 0x1001f364
or eax, 8
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x14], ax
jmp 0x1001f386
test al, 8
je 0x1001f379
or eax, 0x800
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x14], ax
jmp 0x1001f386
or eax, 8
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
test bl, 2
je 0x1001f398
or dword [edx + 0x18], 4
mov al, byte [ecx]
mov byte [edx + 0x10], al
inc ecx
test bl, 0x40
je 0x1001f3ae
or dword [edx + 0x18], 0x110
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
add ecx, 4
jmp 0x1001f3c0
test bl, 0x20
je 0x1001f3c0
or dword [edx + 0x18], 0x104
mov al, byte [ecx]
mov byte [edx + 0x10], al
inc ecx
mov al, cl
sub al, byte [ebp + 8]
pop edi
mov byte [edx], al
pop ebx
cmp al, 0xf
jbe 0x1001f3d7
or dword [edx + 0x18], 0x5000
mov byte [edx], 0xf
movzx eax, byte [edx]
mov esp, ebp
pop ebp
ret