Function at 0x10021760
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x7c]
push edi
mov edi, dword [ebp + 8]
xor bh, bh
push edi
mov eax, edx
mov byte [ebp - 8], bh
push esi
push eax
mov dword [ebp - 0x10], eax
xor bl, bl
mov byte [ebp - 9], bh
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xb], bh
mov byte [ebp - 6], bh
mov byte [ebp - 7], bh
mov byte [ebp - 5], bh
mov byte [ebp - 0xa], bh
call fcn.1001d150
cmp edi, esi
jae 0x10021a66
mov ecx, 1
nop
cmp ecx, 0x50
jge 0x10021a44
test bl, bl
je 0x100217d3
test bh, bh
je 0x100217d3
mov al, byte [ebp - 8]
test al, al
je 0x100217d3
mov cl, byte [ebp - 9]
test cl, cl
jne 0x10021a4a
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 1]
mov dl, byte [edi + ecx]
cmp eax, esi
jae 0x100217e9
mov dh, byte [edi + ecx + 1]
mov byte [ebp - 0xb], dh
jmp 0x100217ec
mov dh, byte [ebp - 0xb]
lea ecx, [edi + 2]
mov dword [ebp + 0xc], ecx
cmp ecx, esi
jae 0x10021800
mov ecx, dword [ebp - 0x10]
mov cl, byte [edi + ecx + 2]
mov byte [ebp - 6], cl
lea ecx, [edi + 3]
cmp ecx, esi
jae 0x10021811
mov ecx, dword [ebp - 0x10]
mov cl, byte [edi + ecx + 3]
mov byte [ebp - 7], cl
lea ecx, [edi + 4]
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jae 0x10021825
mov ecx, dword [ebp - 0x10]
mov cl, byte [edi + ecx + 4]
mov byte [ebp - 5], cl
lea ecx, [edi + 5]
cmp ecx, esi
jae 0x1002183c
mov eax, dword [ebp - 0x10]
mov dh, byte [edi + eax + 5]
lea eax, [edi + 1]
mov byte [ebp - 0xa], dh
mov dh, byte [ebp - 0xb]
cmp dword [ebp + 0xc], esi
jae 0x10021858
cmp dl, 0x83
jne 0x10021858
cmp dh, 0xe7
jne 0x10021858
cmp byte [ebp - 6], 0xbd
jne 0x10021858
mov bl, 1
jmp 0x10021a24
cmp ecx, esi
jae 0x100218b2
cmp dl, 0x81
jne 0x10021885
cmp dh, 0xe3
jne 0x10021885
cmp byte [ebp - 6], 0
jne 0x10021885
cmp byte [ebp - 7], 0xf0
jne 0x10021885
cmp byte [ebp - 5], 0xff
jne 0x10021885
cmp byte [ebp - 0xa], 0xff
jne 0x10021885
mov bl, 1
jmp 0x10021a24
cmp ecx, esi
jae 0x100218b2
cmp dl, 0x81
jne 0x100218b2
cmp dh, 0xc3
jne 0x100218b2
cmp byte [ebp - 6], 0x80
jne 0x100218b2
cmp byte [ebp - 7], 0x1c
jne 0x100218b2
cmp byte [ebp - 5], 0
jne 0x100218b2
cmp byte [ebp - 0xa], 0
jne 0x100218b2
mov bl, 1
jmp 0x10021a24
cmp dword [ebp - 0x18], esi
jae 0x100218de
test bl, bl
je 0x100218de
cmp dl, 0xb9
jne 0x100218de
cmp dh, 0xcc
jne 0x100218de
cmp byte [ebp - 6], 0x49
jne 0x100218de
cmp byte [ebp - 7], 0
jne 0x100218de
cmp byte [ebp - 5], 0
jne 0x100218de
mov bh, 1
jmp 0x10021a24
cmp eax, esi
jae 0x100218f7
test bl, bl
je 0x100218f7
cmp dl, 0x8b
jne 0x100218f7
cmp dh, 0xcc
jne 0x100218f7
mov bh, 1
jmp 0x10021a24
cmp dword [ebp + 0xc], esi
jae 0x10021916
test bl, bl
je 0x10021916
cmp dl, 0x89
jne 0x10021916
cmp dh, 0x24
jne 0x10021916
cmp byte [ebp - 6], dh
jne 0x10021916
mov bh, 1
jmp 0x10021a24
cmp eax, esi
jae 0x10021935
test bl, bl
je 0x10021935
test bh, bh
je 0x10021935
cmp dl, 0x30
jne 0x10021935
cmp dh, 0x10
jne 0x10021935
mov byte [ebp - 8], 1
jmp 0x10021a24
mov al, byte [ebp - 7]
mov ah, byte [ebp - 5]
cmp ecx, esi
jae 0x10021971
test bl, bl
je 0x1002196f
test bh, bh
je 0x1002196f
cmp dl, 0xf7
jne 0x1002196f
cmp dh, 0xc1
jne 0x1002196f
cmp byte [ebp - 6], 0xf3
jne 0x1002196f
cmp al, 0x23
jne 0x1002196f
cmp ah, 0xe4
jne 0x1002196f
cmp byte [ebp - 0xa], 0x86
jne 0x1002196f
mov byte [ebp - 8], 1
jmp 0x10021a24
cmp ecx, esi
mov cl, byte [ebp - 6]
jae 0x100219a5
test bl, bl
je 0x100219a5
test bh, bh
je 0x100219a5
cmp dl, 0x8d
jne 0x100219a5
cmp dh, 5
jne 0x100219a5
cmp cl, 0x9e
jne 0x100219a5
cmp al, 0xf3
jne 0x100219a5
cmp ah, 0x89
jne 0x100219a5
cmp byte [ebp - 0xa], 0xee
jne 0x100219a5
mov byte [ebp - 8], 1
jmp 0x10021a24
mov ch, byte [ebp - 8]
lea eax, [edi + 3]
cmp eax, esi
jae 0x100219d0
test bl, bl
je 0x100219d0
test bh, bh
je 0x100219d0
test ch, ch
je 0x100219d0
cmp dl, 0x66
jne 0x100219d0
cmp dh, 0xc1
jne 0x100219d0
cmp cl, 0xc2
jne 0x100219d0
cmp byte [ebp - 7], 4
je 0x10021a20
lea eax, [edi + 2]
cmp eax, esi
jae 0x100219f2
test bl, bl
je 0x100219f2
test bh, bh
je 0x100219f2
test ch, ch
je 0x100219f2
cmp dl, 0x80
jne 0x100219f2
cmp dh, 0xd5
jne 0x100219f2
cmp cl, 0x81
je 0x10021a20
lea eax, [edi + 4]
cmp eax, esi
jae 0x10021a24
test bl, bl
je 0x10021a24
test bh, bh
je 0x10021a24
test ch, ch
je 0x10021a24
cmp dl, 0x3d
jne 0x10021a24
cmp dh, 0xcc
jne 0x10021a24
cmp cl, 0x92
jne 0x10021a24
cmp byte [ebp - 7], 0x98
jne 0x10021a24
cmp byte [ebp - 5], 0
jne 0x10021a24
mov byte [ebp - 9], 1
lea edx, [ebp + 0xb]
lea ecx, [ebp - 0x7c]
call fcn.100ae1f0
test eax, eax
je 0x10021a66
mov ecx, dword [ebp - 0x14]
add edi, eax
inc ecx
mov dword [ebp - 0x14], ecx
cmp edi, esi
jb 0x100217b0
mov cl, byte [ebp - 9]
mov al, byte [ebp - 8]
test bl, bl
je 0x10021a66
test bh, bh
je 0x10021a66
test al, al
je 0x10021a66
test cl, cl
je 0x10021a66
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret