Function at 0x56d007
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x67f178]
push esi
push edi
lea eax, [ebp - 0x2c]
mov esi, ecx
push eax
mov ecx, ebx
call fcn.0042a1cb
xor ecx, ecx
xor edi, edi
cmp dword [eax + 4], edi
sete cl
cmp dword [ebp - 0x28], edi
mov dword [ebp - 0x14], ecx
je 0x56d03e
push edi
lea ecx, [ebp - 0x2c]
call fcn.004fd6ba
cmp dword [ebp - 0x14], edi
je 0x56d075
xor ecx, ecx
add esi, 0x6e8
mov eax, esi
cmp dword [eax], edi
jne 0x56d062
inc ecx
add eax, 0xc
cmp ecx, 8
jl 0x56d04d
push 1
pop eax
jmp 0x56d275
push 0x60
push edi
push esi
call fcn.005fcf80
add esp, 0xc
xor eax, eax
jmp 0x56d275
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.0042a1cb
cmp dword [ebp - 0x20], edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
je 0x56d097
push edi
lea ecx, [ebp - 0x24]
call fcn.004fd6ba
mov dword [ebp - 0x20], edi
mov eax, dword [0x67f06c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
lea ebx, [esi + 0x6e8]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004407a4
mov esi, eax
mov eax, dword [esi]
cmp eax, 1
mov dword [ebp - 0xc], edi
je 0x56d22a
jle 0x56d21d
cmp eax, 3
jle 0x56d0e3
cmp eax, 5
jg 0x56d21d
jmp 0x56d245
xor ecx, ecx
cmp eax, 2
setne cl
dec ecx
and ecx, 0xfffffffe
add ecx, 4
cmp ecx, 2
mov dword [ebp - 8], ecx
jne 0x56d128
mov eax, dword [esi + 4]
cdq
mov ecx, 0x2710
idiv ecx
cmp eax, 0xc8
je 0x56d187
cmp eax, 0xc9
je 0x56d187
cmp eax, 0xca
je 0x56d187
cmp eax, 0xcd
je 0x56d187
cmp eax, 0xd4
jne 0x56d150
cmp dword [ebp - 8], 4
jne 0x56d187
mov ecx, dword [esi + 4]
mov eax, ecx
cdq
mov edi, 0x2710
idiv edi
sub eax, 0x194
je 0x56d185
dec eax
je 0x56d168
dec eax
je 0x56d14e
dec eax
je 0x56d14e
sub eax, 5
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
jmp 0x56d262
mov eax, ecx
cdq
mov ecx, 0x3e8
idiv ecx
sub eax, 0xfd2
je 0x56d14e
dec eax
je 0x56d14e
dec eax
je 0x56d14e
dec eax
je 0x56d14e
dec eax
jmp 0x56d14e
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1d6]
cmp eax, edi
jne 0x56d198
xor eax, eax
jmp 0x56d19b
mov eax, dword [eax - 4]
push 1
dec eax
pop ecx
cmp eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], ecx
jl 0x56d1f8
push dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
push 2
lea eax, [ebp - 0x2c]
push eax
call fcn.0042e2dd
cmp dword [ebp - 0x28], 0
mov edi, dword [eax + 4]
je 0x56d1d1
push 0
lea ecx, [ebp - 0x2c]
call fcn.004d7506
and dword [ebp - 0x28], 0
test edi, edi
je 0x56d1eb
mov eax, dword [edi + 0xc]
cmp eax, dword [esi + 4]
jne 0x56d1eb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
add dword [ebp - 0xc], eax
and dword [ebp - 4], 0
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jle 0x56d1a9
xor edi, edi
push 8
push esi
push ebx
call fcn.005fd3c0
add esp, 0xc
test eax, eax
jne 0x56d150
mov eax, dword [ebx + 8]
cmp eax, dword [ebp - 0xc]
je 0x56d153
jmp 0x56d150
cmp dword [ebx], edi
je 0x56d224
mov dword [ebp - 4], edi
mov dword [ebx], edi
mov dword [esi], edi
jmp 0x56d262
mov ecx, dword [0x67ac28]
push edi
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.0050b0cc
test eax, eax
jle 0x56d21d
cmp dword [esi + 4], edi
je 0x56d21d
push 8
push esi
push ebx
call fcn.005fd3c0
add esp, 0xc
test eax, eax
je 0x56d258
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
inc dword [ebp - 0x10]
add ebx, 0xc
cmp dword [ebp - 0x10], 8
jl 0x56d0af
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret