Function at 0x10005290
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], 0x100120c0
mov byte [esp + 0x10], dl
mov esi, 0x1c
mov ecx, eax
mov byte [ecx], 0
inc ecx
dec esi
jne 0x100052b3
mov bl, 0x10
lea esp, [esp]
mov cl, byte [edi]
movzx esi, cl
sub esi, 0x26
inc edi
cmp esi, 0xcd
ja case.0x100052d8.39
movzx esi, byte [esi + 0x10005818]
jmp dword [esi*4 + 0x100057fc]
mov byte [eax + 1], cl
or dl, 4
jmp 0x1000530d
mov byte [eax + 1], cl
or dl, 2
jmp 0x1000530d
mov byte [eax + 2], cl
or dl, 0x20
jmp 0x1000530d
mov byte [eax + 3], cl
or dl, 0x40
jmp 0x1000530d
mov byte [eax + 4], cl
or dl, 8
jmp 0x1000530d
mov byte [eax + 5], cl
or dl, 0x10
dec bl
jne 0x100052c0
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 0x1000532c
mov dl, 1
mov byte [esp + 0xd], dl
mov byte [eax + 6], cl
cmp cl, 0xf
jne 0x10005348
mov cl, byte [edi]
inc edi
mov byte [eax + 7], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1001210a
jmp 0x10005361
lea ebx, [ecx + 0x60]
cmp bl, 3
ja 0x10005361
test dl, 0x10
je 0x1000535a
or dl, 8
jmp 0x1000535d
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 0x1000537d
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 0x100053b0
or dword [eax + 0x18], 0x3000
mov edx, ebp
xor bl, bl
and edx, 0xfffffffd
mov byte [esp + 0x28], bl
cmp edx, 0x24
jne 0x100053b0
mov bl, 1
mov byte [esp + 0x28], bl
xor dl, dl
test bl, bl
jns 0x100053c7
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 0x100053ed
movzx esi, byte [esi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov bl, byte [esp + 0x11]
test byte [esi + ecx + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], bl
je 0x100053ed
or dword [eax + 0x18], 0x3000
mov bl, byte [esp + 0x28]
test bl, 1
je 0x10005701
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 0x1000544a
movzx edx, dl
shl edx, cl
test dl, dl
jns 0x1000544a
or esi, 0x3000
mov dword [eax + 0x18], esi
cmp byte [esp + 0x16], 0
jne 0x10005495
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp cl, 6
ja 0x10005495
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp byte [esp + 0x13], 3
movzx edx, cl
jne 0x1000547e
movzx ecx, byte [esp + 0x12]
mov dl, byte [ecx + edx*8 + 0x100121b8]
mov cl, bl
jmp 0x10005488
mov dl, byte [edx + 0x100121b1]
mov cl, byte [esp + 0x12]
shl dl, cl
test dl, dl
jns 0x10005495
or dword [eax + 0x18], 0x3000
test byte [esp + 0x11], 0x20
je 0x100054aa
cmp byte [esp + 0x13], 3
jne 0x100054cd
or dword [eax + 0x18], 0x9000
mov cl, byte [esp + 0x12]
mov bl, byte [esp + 0x16]
test bl, bl
je 0x10005558
lea edx, [ebp - 0x20]
cmp edx, 3
ja case.default.0x100054c6
jmp dword [edx*4 + 0x100058e8]
cmp byte [esp + 0x16], 0
mov cl, byte [esp + 0x15]
je 0x100054e4
mov esi, 0x10012279
mov edi, 0x1001228b
jmp 0x100054f1
mov esi, 0x10012261
mov edi, 0x10012279
and cl, 0xfe
cmp byte [esi], cl
je 0x10005509
add esi, 2
cmp esi, edi
jne 0x100054f1
mov cl, byte [esp + 0x12]
or dword [eax + 0x18], 0x9000
jmp 0x100054ae
movzx edx, byte [esi + 1]
mov cl, byte [esp + 0x12]
shl edx, cl
test dl, dl
jns 0x100054ae
or dword [eax + 0x18], 0x9000
jmp 0x100054ae
mov byte [esp + 0x13], 3
cmp cl, 4
ja case.0x100055ca.197
cmp cl, 1
jne case.0x100055ca.81
jmp case.0x100055ca.197
mov byte [esp + 0x13], 3
cmp cl, 4
je case.0x100055ca.197
cmp cl, 5
jne case.0x100055ca.81
jmp case.0x100055ca.197
mov edx, ebp
sub edx, 0x8c
je 0x100055e8
sub edx, 2
je 0x100055e3
cmp byte [esp + 0x13], 3
jne 0x100055b4
test bl, bl
je 0x10005582
mov esi, 0x1001229a
mov edi, 0x100122c4
jmp 0x1000558c
mov esi, 0x1001228b
mov edi, 0x1001229a
mov dl, byte [esp + 0x15]
mov bl, byte [esi]
cmp bl, dl
je 0x1000559f
add esi, 3
cmp esi, edi
jne 0x10005590
jmp case.0x100055ca.81
mov dl, byte [esp + 0x11]
test byte [esi + 1], dl
je case.0x100055ca.81
movzx edx, byte [esi + 2]
shl edx, cl
test dl, dl
jns case.0x100055ca.197
jmp case.0x100055ca.81
test bl, bl
je case.0x100055ca.81
lea ecx, [ebp - 0x50]
cmp ecx, 0xa7
ja case.0x100055ca.81
movzx ecx, byte [ecx + 0x10005908]
jmp dword [ecx*4 + 0x100058f8]
test byte [esp + 0x11], 9
jne case.0x100055ca.197
jmp case.0x100055ca.81
test byte [esp + 0x11], 6
jne case.0x100055ca.197
jmp case.0x100055ca.81
cmp cl, 1
je case.0x100055ca.197
cmp cl, 5
jbe case.0x100055ca.81
or dword [eax + 0x18], 0x11000
mov edx, dword [esp + 0x18]
mov cl, byte [edx]
inc edx
cmp byte [esp + 0x12], 1
ja 0x1000561c
mov bl, byte [esp + 0x15]
cmp bl, 0xf6
jne 0x10005612
or byte [esp + 0x28], 2
jmp 0x1000561c
cmp bl, 0xf7
jne 0x1000561c
or byte [esp + 0x28], 0x10
movzx esi, byte [esp + 0x13]
sub esi, 0
je 0x1000563f
dec esi
je 0x10005638
dec esi
jne 0x10005660
test byte [esp + 0x11], 0x10
mov byte [esp + 0x14], 2
jmp 0x10005659
mov byte [esp + 0x14], 1
jmp 0x10005660
test byte [esp + 0x11], 0x10
je 0x10005654
cmp byte [esp + 0x17], 6
jne 0x10005660
mov byte [esp + 0x14], 2
jmp 0x10005660
cmp byte [esp + 0x17], 5
jne 0x10005660
mov byte [esp + 0x14], 4
cmp byte [esp + 0x13], 3
je 0x100056aa
cmp byte [esp + 0x17], 4
jne 0x100056aa
test byte [esp + 0x11], 0x10
jne 0x100056aa
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 0x100056aa
test byte [esp + 0x13], 1
jne 0x100056aa
mov byte [esp + 0x14], 4
movzx esi, byte [esp + 0x14]
mov ecx, esi
dec edx
dec ecx
je 0x100056ec
dec ecx
je 0x100056d5
sub ecx, 2
jne 0x100056f5
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 0x10005715
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 0x10005715
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 0x10005715
mov cl, byte [esp + 0x11]
mov edx, dword [esp + 0x18]
test cl, 0x20
je 0x10005715
or dword [eax + 0x18], 0x9000
pop ebp
test bl, 0x10
je 0x10005760
test bl, 0x40
je 0x1000573f
test cl, 8
je 0x100057b7
or dword [eax + 0x18], 0x108
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x100057da
test cl, 8
je 0x10005754
or dword [eax + 0x18], 8
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
jmp 0x10005760
or dword [eax + 0x18], 0x10
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
test bl, 4
je 0x100057a3
mov ecx, dword [eax + 0x18]
test cl, 0x10
je 0x1000577c
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x100057a0
test cl, 8
je 0x10005793
or ecx, 0x800
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x14], cx
jmp 0x100057a0
or ecx, 8
mov dword [eax + 0x18], ecx
mov cx, word [edx]
mov word [eax + 0x10], cx
add edx, 2
test bl, 2
je 0x100057b2
or dword [eax + 0x18], 4
mov cl, byte [edx]
mov byte [eax + 0x10], cl
inc edx
test bl, 0x40
je 0x100057c8
or dword [eax + 0x18], 0x110
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
add edx, 4
jmp 0x100057da
test bl, 0x20
je 0x100057da
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 0x100057f4
or dword [eax + 0x18], 0x5000
mov byte [eax], 0xf
movzx eax, byte [eax]
add esp, 0x10
ret