Function at 0x10005000
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0x1000cb48
mov byte [ebp - 4], bl
xor edi, edi
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov byte [edi + esi], al
inc edi
cmp edi, 0x29
jb 0x10005020
mov edi, dword [ebp - 0xc]
mov dl, 0x10
mov al, byte [edi]
movzx ecx, al
add ecx, 0xffffffda
inc edi
cmp ecx, 0xcd
ja case.0x1000504e.39
movzx ecx, byte [ecx + 0x10005530]
jmp dword [ecx*4 + 0x10005514]
mov byte [esi + 1], al
or bl, 4
jmp 0x10005083
mov byte [esi + 1], al
or bl, 2
jmp 0x10005083
mov byte [esi + 2], al
or bl, 0x20
jmp 0x10005083
mov byte [esi + 3], al
or bl, 0x40
jmp 0x10005083
mov byte [esi + 4], al
or bl, 8
jmp 0x10005083
mov byte [esi + 5], al
or bl, 0x10
dec dl
jne 0x10005036
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], edi
test bl, bl
jne 0x10005096
mov bl, 1
mov byte [ebp - 1], bl
movzx edx, bl
shl edx, 0x17
mov dword [esi + 0x25], edx
mov byte [esi + 6], al
cmp al, 0xf
jne 0x100050b8
mov al, byte [edi]
inc edi
mov byte [esi + 7], al
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0x1000cb92
jmp 0x100050d0
lea ecx, [eax + 0x60]
cmp cl, 3
ja 0x100050d0
test bl, 0x10
je 0x100050ca
or bl, 8
jmp 0x100050cd
and bl, 0xf7
mov byte [ebp - 1], bl
movzx edi, al
mov byte [ebp - 5], al
mov ecx, edi
mov eax, edi
shr ecx, 2
and eax, reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x14], edi
jns 0x100050ec
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x10]
movzx ebx, byte [ecx + edx]
add ebx, eax
mov dl, byte [ebx + edx]
mov byte [ebp - 2], dl
cmp dl, 0xff
jne 0x10005117
or dword [esi + 0x25], 0x3000
and edi, 0xfffffffd
mov byte [ebp - 2], 0
cmp edi, 0x24
jne 0x10005117
mov byte [ebp - 2], 1
xor bl, bl
test byte [ebp - 2], 0x80
je 0x10005135
movzx edx, byte [ebp - 2]
mov edi, dword [ebp - 0x10]
and edx, 0x7f
movzx edx, word [edx + edi]
mov byte [ebp - 2], dl
shr edx, 8
mov bl, dl
mov dl, byte [esi + 7]
test dl, dl
je 0x10005158
movzx edx, byte [ecx + str.____AI____LB________ODS___DWC________________dfnk__jF__DF___D__]
mov cl, byte [ebp - 1]
test byte [edx + eax + str.____AI____LB________ODS___DWC________________dfnk__jF__DF___D__], cl
je 0x1000515b
or dword [esi + 0x25], 0x3000
jmp 0x1000515b
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
test dl, 1
je 0x10005431
mov edi, dword [ebp - 0xc]
mov al, byte [edi]
or dword [esi + 0x25], 1
mov edx, dword [esi + 0x25]
mov cl, al
shr cl, 6
mov byte [ebp - 3], cl
mov byte [esi + 9], cl
mov cl, al
mov byte [esi + 8], al
shr al, 3
and cl, 7
inc edi
and al, 7
mov dword [ebp - 0xc], edi
mov byte [ebp - 6], cl
mov byte [esi + 0xb], cl
mov byte [esi + 0xa], al
test bl, bl
je 0x100051b0
movzx ebx, bl
mov cl, al
shl ebx, cl
test bl, bl
jns 0x100051b0
or edx, 0x3000
mov dword [esi + 0x25], edx
mov bl, byte [esi + 7]
test bl, bl
jne 0x100051f5
mov cl, byte [ebp - 5]
add cl, 0x27
cmp cl, 6
ja 0x100051f5
mov cl, byte [ebp - 5]
add cl, 0x27
cmp byte [ebp - 3], 3
movzx edx, cl
jne 0x100051e0
movzx ecx, al
mov dl, byte [ecx + edx*8 + 0x1000cc5d]
mov cl, byte [ebp - 6]
jmp 0x100051e8
mov dl, byte [edx + 0x1000cc56]
mov cl, al
shl dl, cl
test dl, dl
jns 0x100051f5
or dword [esi + 0x25], 0x3000
test byte [ebp - 1], 0x20
je 0x10005255
cmp byte [ebp - 3], 3
jne 0x1000520a
or dword [esi + 0x25], 0x9000
jmp 0x10005255
mov dl, byte [ebp - 5]
test bl, bl
je 0x1000521d
mov ecx, 0x1000cd1f
mov edi, 0x1000cd31
jmp 0x10005230
mov dl, byte [ebp - 5]
mov ecx, 0x1000cd07
mov edi, 0x1000cd1f
and dl, 0xfe
lea ecx, [ecx]
mov bl, byte [ecx]
cmp bl, dl
je 0x1000523f
add ecx, 2
cmp ecx, edi
jne 0x10005230
jmp 0x1000524b
movzx edx, byte [ecx + 1]
mov cl, al
shl edx, cl
test dl, dl
jns 0x10005252
or dword [esi + 0x25], 0x9000
mov bl, byte [esi + 7]
mov edx, dword [ebp - 0x14]
test bl, bl
je 0x1000529d
lea ecx, [edx - 0x20]
cmp ecx, 3
ja case.default.0x10005264
jmp dword [ecx*4 + 0x10005600]
mov byte [ebp - 3], 3
cmp al, 4
ja case.0x1000530c.197
cmp al, 1
jne case.0x1000530c.81
jmp case.0x1000530c.197
mov byte [ebp - 3], 3
cmp al, 4
je case.0x1000530c.197
cmp al, 5
jne case.0x1000530c.81
jmp case.0x1000530c.197
mov ecx, edx
sub ecx, 0x8c
je 0x10005327
sub ecx, 2
je 0x10005323
cmp byte [ebp - 3], 3
jne 0x100052f6
test bl, bl
je 0x100052c6
mov ecx, 0x1000cd40
mov edi, 0x1000cd6a
jmp 0x100052d0
mov ecx, 0x1000cd31
mov edi, 0x1000cd40
mov dl, byte [ecx]
inc ecx
cmp dl, byte [ebp - 5]
je 0x100052e1
add ecx, 2
cmp ecx, edi
jne 0x100052d0
jmp case.0x1000530c.81
mov dl, byte [ebp - 1]
test byte [ecx], dl
je case.0x1000530c.81
movzx edx, byte [ecx + 1]
mov cl, al
shl edx, cl
test dl, dl
jns case.0x1000530c.197
jmp case.0x1000530c.81
test bl, bl
je case.0x1000530c.81
lea ecx, [edx - 0x50]
cmp ecx, 0xa7
ja case.0x1000530c.81
movzx ecx, byte [ecx + 0x10005620]
jmp dword [ecx*4 + 0x10005610]
test byte [ebp - 1], 9
jne case.0x1000530c.197
jmp case.0x1000530c.81
test byte [ebp - 1], 6
jne case.0x1000530c.197
jmp case.0x1000530c.81
cmp al, 1
je case.0x1000530c.197
cmp al, 5
jbe case.0x1000530c.81
or dword [esi + 0x25], 0x11000
mov edx, dword [ebp - 0xc]
mov cl, byte [edx]
inc edx
mov dword [ebp - 0xc], edx
cmp al, 1
ja 0x10005354
mov al, byte [ebp - 5]
cmp al, 0xf6
jne 0x1000534c
or byte [ebp - 2], 2
jmp 0x10005354
cmp al, 0xf7
jne 0x10005354
or byte [ebp - 2], 0x10
mov dl, byte [ebp - 3]
movzx eax, dl
sub eax, 0
je 0x10005375
dec eax
je 0x1000536f
dec eax
jne 0x10005391
test byte [ebp - 1], 0x10
mov byte [ebp - 4], 2
jmp 0x1000538b
mov byte [ebp - 4], 1
jmp 0x10005391
test byte [ebp - 1], 0x10
je 0x10005387
cmp byte [ebp - 6], 6
jne 0x10005391
mov byte [ebp - 4], 2
jmp 0x10005391
cmp byte [ebp - 6], 5
jne 0x10005391
mov byte [ebp - 4], 4
cmp dl, 3
je 0x100053d5
cmp byte [ebp - 6], 4
jne 0x100053d5
test byte [ebp - 1], 0x10
jne 0x100053d5
or dword [esi + 0x25], 2
inc dword [ebp - 0xc]
mov al, cl
shr al, 3
and al, 7
mov byte [esi + 0xe], al
movzx eax, cl
mov dl, cl
and eax, 7
shr dl, 6
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xf], al
cmp al, 5
jne 0x100053d5
test byte [ebp - 3], 1
jne 0x100053d5
mov byte [ebp - 4], 4
movzx edx, byte [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, edx
dec ecx
dec eax
je 0x1000541b
dec eax
je 0x10005403
sub eax, 2
jne 0x10005424
mov eax, dword [ecx]
or dword [esi + 0x25], 0x80
add ecx, edx
mov dl, byte [ebp - 2]
mov dword [ebp - 0xc], ecx
mov cl, byte [ebp - 1]
mov dword [esi + 0x1a], eax
jmp 0x1000543d
mov ax, word [ecx]
or dword [esi + 0x25], 0x40
add ecx, edx
mov dl, byte [ebp - 2]
mov dword [ebp - 0xc], ecx
mov cl, byte [ebp - 1]
mov word [esi + 0x18], ax
jmp 0x1000543d
mov al, byte [ecx]
or dword [esi + 0x25], 0x20
mov byte [esi + 0x17], al
add ecx, edx
mov dl, byte [ebp - 2]
mov dword [ebp - 0xc], ecx
mov cl, byte [ebp - 1]
jmp 0x1000543d
test cl, 0x20
je 0x1000543d
or dword [esi + 0x25], 0x9000
pop edi
pop ebx
test dl, 0x10
je 0x10005491
test dl, 0x40
je 0x1000546b
test cl, 8
mov ecx, dword [ebp - 0xc]
je 0x100054d4
mov dx, word [ecx]
or dword [esi + 0x25], 0x200
mov word [esi + 0x1f], dx
add ecx, 2
jmp 0x100054f7
test cl, 8
mov ecx, dword [ebp - 0xc]
je 0x10005483
mov ax, word [ecx]
or dword [esi + 0x25], 8
mov word [esi + 0x11], ax
add ecx, 2
jmp 0x10005494
mov eax, dword [ecx]
or dword [esi + 0x25], 0x10
mov dword [esi + 0x13], eax
add ecx, 4
jmp 0x10005494
mov ecx, dword [ebp - 0xc]
test dl, 4
je 0x100054c0
mov eax, dword [esi + 0x25]
test al, 8
je 0x100054b0
or eax, 0x800
mov dword [esi + 0x25], eax
movzx eax, word [ecx]
mov dword [esi + 0x13], eax
jmp 0x100054bd
or eax, 8
mov dword [esi + 0x25], eax
mov ax, word [ecx]
mov word [esi + 0x11], ax
add ecx, 2
test dl, 2
je 0x100054cf
mov al, byte [ecx]
or dword [esi + 0x25], 4
mov byte [esi + 0x10], al
inc ecx
test dl, 0x40
je 0x100054e5
mov edx, dword [ecx]
or dword [esi + 0x25], 0x400
mov dword [esi + 0x21], edx
add ecx, 4
jmp 0x100054f7
test dl, 0x20
je 0x100054f7
mov al, byte [ecx]
or dword [esi + 0x25], 0x100
mov byte [esi + 0x1e], al
inc ecx
mov al, cl
sub al, byte [ebp + 8]
mov byte [esi], al
cmp al, 0xf
jbe 0x1000550c
or dword [esi + 0x25], 0x5000
mov byte [esi], 0xf
movzx eax, byte [esi]
mov esp, ebp
pop ebp
ret