Function at 0x421653
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [0xcc], 0
jne 0x4216ac
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push 0x80000004
push 0
push 0x698
push 3
mov ebx, 0x300
call fcn.00429064
add esp, 0x28
jmp 0x421940
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
push 0
push 1
push 0xffffffffffffffff
push 0xf
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0042906a
add esp, 0x18
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4216e6
mov eax, 0x139
push eax
push 1
mov ebx, 0x178
call fcn.00429064
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x139
push dword [ebp - 0xc]
call fcn.0041a97e
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42172a
push ebx
call fcn.00429046
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x421739
jmp 0x421940
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42174e
mov eax, 0x139
push eax
push 1
mov ebx, 0x130
call fcn.00429064
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jle 0x4218dd
mov ebx, dword [0xd0]
call fcn.0041ac68
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4218d5
mov ebx, dword [0xd0]
call fcn.00419c1c
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4217b0
push 4
call fcn.00429058
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4217c3
push 1
call fcn.00429058
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4217f2
mov eax, 0x139
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x421808
mov eax, 0x139
push eax
push 4
mov ebx, 0x148
call fcn.00429064
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4218bb
mov ebx, dword [0xd0]
call fcn.00419c1c
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x421848
push 4
call fcn.00429058
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42185b
push 1
call fcn.00429058
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x4d5
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push dword [ebp - 8]
mov ecx, 3
call fcn.0041a1d7
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421894
push ebx
call fcn.00429046
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
push 0
push dword [ebp - 8]
push 0xffffffffffffffff
push 8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0042906a
add esp, 0x18
push 0
mov ebx, 0x350
call fcn.00429064
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x421782
add esp, 0xc
jmp 0x42190d
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push 0x80000004
push 0
push 0x6b7
push 3
mov ebx, 0x300
call fcn.00429064
add esp, 0x28
push 0x139
push dword [ebp - 8]
call fcn.0041a97e
add esp, 8
cmp eax, 0
jne 0x421940
mov eax, 0x6c9
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42193c
push ebx
call fcn.00429046
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421950
push ebx
call fcn.00429046
add esp, 4
mov esp, ebp
pop ebp
ret 0xc