Function at 0x50a65b
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov dword [ebp - 0x14], 0
mov eax, dword [0x14020]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov ecx, 1
test ecx, ecx
je 0x50a763
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0xff
jne 0x50a739
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
cmp edx, 0x75
jne 0x50a739
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 2]
cmp ecx, 0xc8
jne 0x50a739
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
cmp eax, 0xff
jne 0x50a739
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 4]
cmp edx, 0x75
jne 0x50a739
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 5]
cmp ecx, 0xdc
jne 0x50a739
mov edx, dword [ebp - 0x10]
add edx, 0xb
mov dword [0x1402c], edx
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [0x14058], eax
mov ecx, 0x11000
sub ecx, dword [ebp - 0x10]
sub ecx, 5
mov dword [ebp - 0xc], ecx
call fcn.0050646b
call dword [0x13004]
mov byte [ebp - 1], al
push eax
push ebx
mov eax, dword [ebp - 0x10]
mov byte ds:[eax], 0xe9
mov ebx, dword [ebp - 0xc]
mov dword ds:[eax + 1], ebx
pop ebx
pop eax
mov cl, byte [ebp - 1]
call dword [0x13000]
call fcn.0050648b
jmp 0x50a763
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x400
jb 0x50a75e
mov eax, 0xc0000001
jmp 0x50a8b2
jmp 0x50a678
mov ecx, dword [0x1401c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov edx, 1
test edx, edx
je 0x50a8af
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x50a836
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 1]
cmp eax, 0x75
jne 0x50a836
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 2]
cmp edx, 0xcc
jne 0x50a836
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 3]
cmp ecx, 0xff
jne 0x50a836
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 4]
cmp eax, 0x75
jne 0x50a836
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 5]
cmp edx, 0xe0
jne 0x50a836
mov eax, dword [ebp - 0x10]
add eax, 0xb
mov dword [0x14050], eax
mov ecx, dword [ebp - 0x10]
add ecx, 6
mov dword [0x14024], ecx
mov edx, 0x11070
sub edx, dword [ebp - 0x10]
sub edx, 5
mov dword [ebp - 0xc], edx
call fcn.0050646b
call dword [0x13004]
mov byte [ebp - 1], al
push eax
push ebx
mov eax, dword [ebp - 0x10]
mov byte ds:[eax], 0xe9
mov ebx, dword [ebp - 0xc]
mov dword ds:[eax + 1], ebx
pop ebx
pop eax
mov cl, byte [ebp - 1]
call dword [0x13000]
call fcn.0050648b
jmp 0x50a8af
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x400
jb 0x50a8aa
mov byte [ebp - 0x1c], 0xff
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0xc8
mov byte [ebp - 0x19], 0xff
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0xdc
mov edx, dword [0x1402c]
sub edx, 0xb
mov dword [ebp - 0x10], edx
call fcn.0050646b
call dword [0x13004]
mov byte [ebp - 1], al
push 6
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call int.0050765b
add esp, 0xc
mov cl, byte [ebp - 1]
call dword [0x13000]
call fcn.0050648b
mov eax, 0xc0000001
jmp 0x50a8b2
jmp 0x50a773
mov eax, dword [ebp - 0x14]
pop ebx
mov esp, ebp
pop ebp
ret