Function at 0x1006dc20
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
mov ecx, 7
xor eax, eax
mov edi, edx
mov byte [esp + 0x10], 0
mov dword [esp + 0x20], 0x112086ac
mov byte [esp + 0x18], 0
mov byte [esp + 0x1c], 0x10
rep stosd dword es:[edi], eax
mov al, byte [ebx]
mov byte [esp + 0x34], al
mov esi, dword [esp + 0x34]
and esi, 0xff
inc ebx
sub esi, 0x26
cmp esi, 0xcd
ja case.0x1006dc74.44
xor ecx, ecx
mov cl, byte [esi + 0x1006e240]
jmp dword [ecx*4 + 0x1006e224]
mov cl, byte [esp + 0x10]
mov byte [edx + 1], al
or cl, 4
jmp 0x1006dcc1
mov cl, byte [esp + 0x10]
mov byte [edx + 1], al
or cl, 2
jmp 0x1006dcc1
mov cl, byte [esp + 0x10]
mov byte [edx + 2], al
or cl, 0x20
jmp 0x1006dcc1
mov cl, byte [esp + 0x10]
mov byte [edx + 3], al
or cl, 0x40
jmp 0x1006dcc1
mov cl, byte [esp + 0x10]
mov byte [edx + 4], al
or cl, 8
jmp 0x1006dcc1
mov cl, byte [esp + 0x10]
mov byte [edx + 5], al
or cl, 0x10
mov byte [esp + 0x10], cl
mov cl, byte [esp + 0x1c]
dec cl
mov byte [esp + 0x1c], cl
jne 0x1006dc50
mov ecx, dword [esp + 0x10]
and ecx, 0xff
shl ecx, 0x17
mov dword [edx + 0x18], ecx
mov cl, byte [esp + 0x10]
test cl, cl
jne 0x1006dcf2
mov byte [esp + 0x10], 1
cmp al, 0xf
mov byte [edx + 6], al
jne 0x1006dd0d
mov al, byte [ebx]
inc ebx
mov byte [esp + 0x34], al
mov byte [edx + 7], al
mov dword [esp + 0x20], 0x112086f6
jmp 0x1006dd2a
cmp al, 0xa0
jb 0x1006dd2a
cmp al, 0xa3
ja 0x1006dd2a
mov cl, byte [esp + 0x10]
test cl, 0x10
je 0x1006dd23
or cl, 8
jmp 0x1006dd26
and cl, 0xf7
mov byte [esp + 0x10], cl
push ebp
mov ebp, dword [esp + 0x38]
and ebp, 0xff
mov byte [esp + 0x13], al
mov edi, ebp
mov esi, ebp
shr edi, 2
and esi, reloc.WS2_32.dll_closesocket
jns 0x1006dd4d
dec esi
or esi, 0xfffffffc
inc esi
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [edi + eax]
add ecx, esi
mov al, byte [ecx + eax]
cmp al, 0xff
mov byte [esp + 0x38], al
jne 0x1006dd7f
mov eax, dword [edx + 0x18]
mov byte [esp + 0x38], 0
or ah, 0x30
mov dword [edx + 0x18], eax
mov eax, ebp
and al, 0xfd
cmp eax, 0x24
jne 0x1006dd7f
mov byte [esp + 0x38], 1
mov al, byte [esp + 0x38]
xor cl, cl
test al, 0x80
mov byte [esp + 0x20], cl
je 0x1006dda6
mov cl, al
mov eax, dword [esp + 0x24]
and ecx, 0x7f
mov ax, word [ecx + eax]
xor ecx, ecx
mov cl, ah
mov byte [esp + 0x38], al
mov byte [esp + 0x20], cl
mov al, byte [edx + 7]
test al, al
je 0x1006ddcd
xor eax, eax
mov al, byte [edi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov edi, eax
mov al, byte [esp + 0x14]
test byte [edi + esi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], al
je 0x1006ddcd
mov eax, dword [edx + 0x18]
or ah, 0x30
mov dword [edx + 0x18], eax
test byte [esp + 0x38], 1
je 0x1006e10c
mov eax, dword [edx + 0x18]
or al, 1
inc ebx
mov dword [edx + 0x18], eax
mov esi, eax
mov al, byte [ebx - 1]
mov dword [esp + 0x2c], ebx
mov bl, al
mov byte [edx + 8], al
shr bl, 6
mov byte [esp + 0x18], bl
mov byte [edx + 9], bl
mov bl, al
shr al, 3
and bl, 7
and al, 7
test cl, cl
mov byte [esp + 0x24], bl
mov byte [edx + 0xb], bl
mov byte [esp + 0x28], al
mov byte [edx + 0xa], al
je 0x1006de31
mov ebx, dword [esp + 0x20]
mov cl, al
and ebx, 0xff
shl ebx, cl
test bl, 0x80
je 0x1006de31
or esi, 0x3000
mov dword [edx + 0x18], esi
mov cl, byte [edx + 7]
test cl, cl
jne 0x1006dea3
mov cl, byte [esp + 0x13]
cmp cl, 0xd9
jb 0x1006dea3
cmp cl, 0xdf
ja 0x1006dea3
add cl, 0x27
mov byte [esp + 0x20], cl
mov cl, byte [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp cl, 3
jne 0x1006de7d
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
and esi, 0xff
and edi, 0xff
and ecx, 0xff
mov bl, byte [edi + esi*8 + 0x112087a4]
jmp 0x1006de93
mov ecx, dword [esp + 0x28]
and esi, 0xff
and ecx, 0xff
mov bl, byte [esi + 0x1120879d]
shl bl, cl
test bl, 0x80
je 0x1006dea3
mov ecx, dword [edx + 0x18]
or ch, 0x30
mov dword [edx + 0x18], ecx
test byte [esp + 0x14], 0x20
je 0x1006deff
cmp byte [esp + 0x18], 3
je 0x1006def6
mov bl, byte [edx + 7]
mov cl, byte [esp + 0x13]
test bl, bl
je 0x1006dec8
mov esi, 0x11208865
mov edi, 0x11208877
jmp 0x1006ded9
mov cl, byte [esp + 0x13]
mov esi, 0x1120884d
mov edi, 0x11208865
and cl, 0xfe
mov bl, byte [esi]
inc esi
cmp bl, cl
je 0x1006dee7
inc esi
cmp esi, edi
jne 0x1006ded9
jmp 0x1006def6
xor ecx, ecx
mov cl, byte [esi]
mov ebx, ecx
mov cl, al
shl ebx, cl
test bl, 0x80
je 0x1006deff
mov ecx, dword [edx + 0x18]
or ch, 0x90
mov dword [edx + 0x18], ecx
mov cl, byte [edx + 7]
test cl, cl
je 0x1006df49
lea esi, [ebp - 0x20]
cmp esi, 3
ja case.default.0x1006df0e
jmp dword [esi*4 + 0x1006e310]
cmp al, 4
mov byte [esp + 0x18], 3
ja case.0x1006dfc8.81
cmp al, 1
jne case.0x1006dfc8.83
jmp case.0x1006dfc8.81
cmp al, 4
mov byte [esp + 0x18], 3
je case.0x1006dfc8.81
cmp al, 5
jne case.0x1006dfc8.83
jmp case.0x1006dfc8.81
mov esi, ebp
sub esi, 0x8c
je 0x1006dfeb
sub esi, 2
je 0x1006dfe1
cmp byte [esp + 0x18], 3
jne 0x1006dfb1
test cl, cl
je 0x1006df77
mov esi, 0x11208886
mov edi, 0x112088b0
jmp 0x1006df81
mov esi, 0x11208877
mov edi, 0x11208886
mov cl, byte [esi]
mov bl, byte [esp + 0x13]
inc esi
cmp cl, bl
je 0x1006df95
add esi, 2
cmp esi, edi
jne 0x1006df81
jmp case.0x1006dfc8.83
mov cl, byte [esp + 0x14]
mov bl, byte [esi]
test cl, bl
je case.0x1006dfc8.83
xor ecx, ecx
mov cl, byte [esi + 1]
mov ebx, ecx
mov cl, al
shl ebx, cl
test bl, 0x80
je case.0x1006dfc8.81
jmp case.0x1006dfc8.83
test cl, cl
je case.0x1006dfc8.83
lea esi, [ebp - 0x50]
cmp esi, 0xa7
ja case.0x1006dfc8.83
xor ecx, ecx
mov cl, byte [esi + 0x1006e330]
jmp dword [ecx*4 + 0x1006e320]
test byte [esp + 0x14], 9
jne case.0x1006dfc8.81
jmp case.0x1006dfc8.83
test byte [esp + 0x14], 6
jne case.0x1006dfc8.81
jmp case.0x1006dfc8.83
cmp al, 1
je case.0x1006dfc8.81
cmp al, 5
jbe case.0x1006dfc8.83
jmp case.0x1006dfc8.81
cmp al, 5
jbe case.0x1006dfc8.83
or dword [edx + 0x18], 0x11000
mov ebx, dword [esp + 0x2c]
mov cl, byte [ebx]
inc ebx
cmp al, 1
ja 0x1006e01f
mov al, byte [esp + 0x13]
cmp al, 0xf6
jne 0x1006e011
mov al, byte [esp + 0x38]
or al, 2
jmp 0x1006e01b
cmp al, 0xf7
jne 0x1006e01f
mov al, byte [esp + 0x38]
or al, 0x10
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x18]
and eax, 0xff
sub eax, 0
je 0x1006e049
dec eax
je 0x1006e042
dec eax
jne 0x1006e068
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], 2
test al, 0x10
jne 0x1006e068
jmp 0x1006e063
mov byte [esp + 0x1c], 1
jmp 0x1006e068
test byte [esp + 0x14], 0x10
mov al, byte [esp + 0x24]
je 0x1006e05f
cmp al, 6
jne 0x1006e068
mov byte [esp + 0x1c], 2
jmp 0x1006e068
cmp al, 5
jne 0x1006e068
mov byte [esp + 0x1c], 4
cmp byte [esp + 0x18], 3
je 0x1006e0b3
cmp byte [esp + 0x24], 4
jne 0x1006e0b3
test byte [esp + 0x14], 0x10
jne 0x1006e0b3
mov al, cl
mov ebp, dword [edx + 0x18]
shr al, 6
mov byte [edx + 0xd], al
mov al, cl
shr al, 3
and al, 7
or ebp, 2
mov byte [edx + 0xe], al
mov al, cl
and al, 7
inc ebx
cmp al, 5
mov dword [edx + 0x18], ebp
mov byte [edx + 0xc], cl
mov byte [edx + 0xf], al
jne 0x1006e0b3
test byte [esp + 0x18], 1
jne 0x1006e0b3
mov byte [esp + 0x1c], 4
mov esi, dword [esp + 0x1c]
dec ebx
and esi, 0xff
mov eax, esi
dec eax
je 0x1006e0f7
dec eax
je 0x1006e0e0
sub eax, 2
jne 0x1006e104
mov eax, dword [edx + 0x18]
or al, 0x80
mov dword [edx + 0x18], eax
mov ecx, dword [ebx]
mov al, byte [esp + 0x14]
mov dword [edx + 0x14], ecx
add ebx, esi
jmp 0x1006e11d
mov eax, dword [edx + 0x18]
or al, 0x40
mov dword [edx + 0x18], eax
mov ax, word [ebx]
mov word [edx + 0x14], ax
mov al, byte [esp + 0x14]
add ebx, esi
jmp 0x1006e11d
mov eax, dword [edx + 0x18]
or al, 0x20
mov dword [edx + 0x18], eax
mov cl, byte [ebx]
mov byte [edx + 0x14], cl
mov al, byte [esp + 0x14]
add ebx, esi
jmp 0x1006e11d
mov al, byte [esp + 0x14]
test al, 0x20
je 0x1006e11d
mov ecx, dword [edx + 0x18]
or ch, 0x90
mov dword [edx + 0x18], ecx
mov cl, byte [esp + 0x38]
pop ebp
test cl, 0x10
je 0x1006e179
test cl, 0x40
je 0x1006e150
test al, 8
je 0x1006e1cf
mov ecx, dword [edx + 0x18]
or ecx, 0x108
add ebx, 2
mov dword [edx + 0x18], ecx
mov ax, word [ebx - 2]
mov word [edx + 0x10], ax
jmp 0x1006e1fe
mov esi, dword [edx + 0x18]
test al, 8
je 0x1006e16a
or esi, 8
add ebx, 2
mov dword [edx + 0x18], esi
mov ax, word [ebx - 2]
mov word [edx + 0x10], ax
jmp 0x1006e179
or esi, 0x10
add ebx, 4
mov dword [edx + 0x18], esi
mov eax, dword [ebx - 4]
mov dword [edx + 0x10], eax
test cl, 4
je 0x1006e1b5
mov eax, dword [edx + 0x18]
test al, 0x10
je 0x1006e193
or al, 8
mov dword [edx + 0x18], eax
mov ax, word [ebx]
mov word [edx + 0x14], ax
jmp 0x1006e1b2
test al, 8
je 0x1006e1a6
or ah, 8
mov dword [edx + 0x18], eax
mov ax, word [ebx]
mov word [edx + 0x14], ax
jmp 0x1006e1b2
or al, 8
mov dword [edx + 0x18], eax
mov ax, word [ebx]
mov word [edx + 0x10], ax
add ebx, 2
test cl, 2
je 0x1006e1ca
mov esi, dword [edx + 0x18]
or esi, 4
inc ebx
mov dword [edx + 0x18], esi
mov al, byte [ebx - 1]
mov byte [edx + 0x10], al
test cl, 0x40
je 0x1006e1e6
mov ecx, dword [edx + 0x18]
or ecx, 0x110
add ebx, 4
mov dword [edx + 0x18], ecx
mov ecx, dword [ebx - 4]
mov dword [edx + 0x10], ecx
jmp 0x1006e1fe
test cl, 0x20
je 0x1006e1fe
mov ecx, dword [edx + 0x18]
or ecx, 0x104
inc ebx
mov dword [edx + 0x18], ecx
mov al, byte [ebx - 1]
mov byte [edx + 0x10], al
mov al, bl
mov bl, byte [esp + 0x30]
sub al, bl
pop edi
pop esi
cmp al, 0xf
mov byte [edx], al
pop ebx
jbe 0x1006e21b
mov eax, dword [edx + 0x18]
mov byte [edx], 0xf
or ah, 0x50
mov dword [edx + 0x18], eax
xor eax, eax
mov al, byte [edx]
add esp, 0x20
ret