Function at 0x10003940
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], 0x10012228
mov byte [esp + 0x10], dl
mov esi, 0x1c
mov ecx, eax
mov byte [ecx], 0
inc ecx
dec esi
jne 0x10003963
mov bl, 0x10
lea esp, [esp]
mov cl, byte [edi]
movzx esi, cl
sub esi, 0x26
inc edi
cmp esi, 0xcd
ja case.0x10003988.39
movzx esi, byte [esi + 0x10003ec8]
jmp dword [esi*4 + 0x10003eac]
mov byte [eax + 1], cl
or dl, 4
jmp 0x100039bd
mov byte [eax + 1], cl
or dl, 2
jmp 0x100039bd
mov byte [eax + 2], cl
or dl, 0x20
jmp 0x100039bd
mov byte [eax + 3], cl
or dl, 0x40
jmp 0x100039bd
mov byte [eax + 4], cl
or dl, 8
jmp 0x100039bd
mov byte [eax + 5], cl
or dl, 0x10
dec bl
jne 0x10003970
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 0x100039dc
mov dl, 1
mov byte [esp + 0xd], dl
mov byte [eax + 6], cl
cmp cl, 0xf
jne 0x100039f8
mov cl, byte [edi]
inc edi
mov byte [eax + 7], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x10012272
jmp 0x10003a11
lea ebx, [ecx + 0x60]
cmp bl, 3
ja 0x10003a11
test dl, 0x10
je 0x10003a0a
or dl, 8
jmp 0x10003a0d
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 0x10003a2d
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 0x10003a60
or dword [eax + 0x18], 0x3000
mov edx, ebp
xor bl, bl
and edx, 0xfffffffd
mov byte [esp + 0x28], bl
cmp edx, 0x24
jne 0x10003a60
mov bl, 1
mov byte [esp + 0x28], bl
xor dl, dl
test bl, bl
jns 0x10003a77
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 0x10003a9d
movzx esi, byte [esi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov bl, byte [esp + 0x11]
test byte [esi + ecx + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], bl
je 0x10003a9d
or dword [eax + 0x18], 0x3000
mov bl, byte [esp + 0x28]
test bl, 1
je 0x10003db1
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 0x10003afa
movzx edx, dl
shl edx, cl
test dl, dl
jns 0x10003afa
or esi, 0x3000
mov dword [eax + 0x18], esi
cmp byte [esp + 0x16], 0
jne 0x10003b45
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp cl, 6
ja 0x10003b45
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp byte [esp + 0x13], 3
movzx edx, cl
jne 0x10003b2e
movzx ecx, byte [esp + 0x12]
mov dl, byte [ecx + edx*8 + 0x10012320]
mov cl, bl
jmp 0x10003b38
mov dl, byte [edx + 0x10012319]
mov cl, byte [esp + 0x12]
shl dl, cl
test dl, dl
jns 0x10003b45
or dword [eax + 0x18], 0x3000
test byte [esp + 0x11], 0x20
je 0x10003b5a
cmp byte [esp + 0x13], 3
jne 0x10003b7d
or dword [eax + 0x18], 0x9000
mov cl, byte [esp + 0x12]
mov bl, byte [esp + 0x16]
test bl, bl
je 0x10003c08
lea edx, [ebp - 0x20]
cmp edx, 3
ja case.default.0x10003b76
jmp dword [edx*4 + 0x10003f98]
cmp byte [esp + 0x16], 0
mov cl, byte [esp + 0x15]
je 0x10003b94
mov esi, 0x100123e1
mov edi, 0x100123f3
jmp 0x10003ba1
mov esi, 0x100123c9
mov edi, 0x100123e1
and cl, 0xfe
cmp byte [esi], cl
je 0x10003bb9
add esi, 2
cmp esi, edi
jne 0x10003ba1
mov cl, byte [esp + 0x12]
or dword [eax + 0x18], 0x9000
jmp 0x10003b5e
movzx edx, byte [esi + 1]
mov cl, byte [esp + 0x12]
shl edx, cl
test dl, dl
jns 0x10003b5e
or dword [eax + 0x18], 0x9000
jmp 0x10003b5e
mov byte [esp + 0x13], 3
cmp cl, 4
ja case.0x10003c7a.197
cmp cl, 1
jne case.0x10003c7a.81
jmp case.0x10003c7a.197
mov byte [esp + 0x13], 3
cmp cl, 4
je case.0x10003c7a.197
cmp cl, 5
jne case.0x10003c7a.81
jmp case.0x10003c7a.197
mov edx, ebp
sub edx, 0x8c
je 0x10003c98
sub edx, 2
je 0x10003c93
cmp byte [esp + 0x13], 3
jne 0x10003c64
test bl, bl
je 0x10003c32
mov esi, 0x10012402
mov edi, 0x1001242c
jmp 0x10003c3c
mov esi, 0x100123f3
mov edi, 0x10012402
mov dl, byte [esp + 0x15]
mov bl, byte [esi]
cmp bl, dl
je 0x10003c4f
add esi, 3
cmp esi, edi
jne 0x10003c40
jmp case.0x10003c7a.81
mov dl, byte [esp + 0x11]
test byte [esi + 1], dl
je case.0x10003c7a.81
movzx edx, byte [esi + 2]
shl edx, cl
test dl, dl
jns case.0x10003c7a.197
jmp case.0x10003c7a.81
test bl, bl
je case.0x10003c7a.81
lea ecx, [ebp - 0x50]
cmp ecx, 0xa7
ja case.0x10003c7a.81
movzx ecx, byte [ecx + 0x10003fb8]
jmp dword [ecx*4 + 0x10003fa8]
test byte [esp + 0x11], 9
jne case.0x10003c7a.197
jmp case.0x10003c7a.81
test byte [esp + 0x11], 6
jne case.0x10003c7a.197
jmp case.0x10003c7a.81
cmp cl, 1
je case.0x10003c7a.197
cmp cl, 5
jbe case.0x10003c7a.81
or dword [eax + 0x18], 0x11000
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
inc edx
cmp byte [esp + 0x12], 1
ja 0x10003ccc
mov bl, byte [esp + 0x15]
cmp bl, 0xf6
jne 0x10003cc2
or byte [esp + 0x28], 2
jmp 0x10003ccc
cmp bl, 0xf7
jne 0x10003ccc
or byte [esp + 0x28], 0x10
movzx esi, byte [esp + 0x13]
sub esi, 0
je 0x10003cef
dec esi
je 0x10003ce8
dec esi
jne 0x10003d10
test byte [esp + 0x11], 0x10
mov byte [esp + 0x14], 2
jmp 0x10003d09
mov byte [esp + 0x14], 1
jmp 0x10003d10
test byte [esp + 0x11], 0x10
je 0x10003d04
cmp byte [esp + 0x17], 6
jne 0x10003d10
mov byte [esp + 0x14], 2
jmp 0x10003d10
cmp byte [esp + 0x17], 5
jne 0x10003d10
mov byte [esp + 0x14], 4
cmp byte [esp + 0x13], 3
je 0x10003d5a
cmp byte [esp + 0x17], 4
jne 0x10003d5a
test byte [esp + 0x11], 0x10
jne 0x10003d5a
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 0x10003d5a
test byte [esp + 0x13], 1
jne 0x10003d5a
mov byte [esp + 0x14], 4
movzx esi, byte [esp + 0x14]
mov ecx, esi
dec edx
dec ecx
je 0x10003d9c
dec ecx
je 0x10003d85
sub ecx, 2
jne 0x10003da5
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 0x10003dc5
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 0x10003dc5
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 0x10003dc5
mov cl, byte [esp + 0x11]
mov edx, dword [esp + 0x18]
test cl, 0x20
je 0x10003dc5
or dword [eax + 0x18], 0x9000
pop ebp
test bl, 0x10
je 0x10003e10
test bl, 0x40
je 0x10003def
test cl, 8
je 0x10003e67
or dword [eax + 0x18], 0x108
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x10003e8a
test cl, 8
je 0x10003e04
or dword [eax + 0x18], 8
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x10003e10
or dword [eax + 0x18], 0x10
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
test bl, 4
je 0x10003e53
mov ecx, dword [eax + 0x18]
test cl, 0x10
je 0x10003e2c
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x10003e50
test cl, 8
je 0x10003e43
or ecx, 0x800
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x10003e50
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
test bl, 2
je 0x10003e62
or dword [eax + 0x18], 4
mov cl, byte [edx]
mov byte [eax + 0x10], cl
inc edx
test bl, 0x40
je 0x10003e78
or dword [eax + 0x18], 0x110
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
jmp 0x10003e8a
test bl, 0x20
je 0x10003e8a
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 0x10003ea4
or dword [eax + 0x18], 0x5000
mov byte [eax], 0xf
movzx eax, byte [eax]
add esp, 0x10
ret