Function at 0x10156d70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
and ecx, 1
jne 0x10156dd7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, dword [ebp + 0xc]
mov ecx, 1
imul edx, ecx, 0xe8
mov ecx, dword [ebp + 8]
lea edx, [ecx + edx + 0x18]
cmp eax, edx
jae 0x10156dd7
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10156dd7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp + 0xc]
jl 0x10156dbb
mov eax, dword [ebp + 8]
jmp 0x10156fc2
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0xc]
mov dword [ebp + 0xc], ecx
jmp 0x10156e2a
cmp dword [ebp + 0xc], 0xcc
jle 0x10156de5
jmp 0x10156fb4
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x14]
push eax
push 1
call fcn.10155d10
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10156e05
jmp 0x10156fb4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
and eax, 2
je 0x10156e2a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10157840
add esp, 8
mov eax, 1
imul ecx, eax, 0xe8
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 4]
add edx, dword [ecx + 0xc]
sub eax, edx
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x103f2d58]
jle 0x10156e60
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x10156e69
mov ecx, dword [0x103f2d58]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jge 0x10156e95
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x103f2d58]
jle 0x10156e84
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x10156e8d
mov edx, dword [0x103f2d58]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x10156e9b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0xc]
jge 0x10156efb
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x103f2d58]
jle 0x10156eb9
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
jmp 0x10156ec1
mov eax, dword [0x103f2d58]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 8]
jge 0x10156eed
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x103f2d58]
jle 0x10156edc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x10156ee5
mov ecx, dword [0x103f2d58]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
jmp 0x10156ef3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
jmp 0x10156f04
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xc]
push eax
call fcn.10316b20
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x10156f74
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x10156f83
mov edx, dword [ebp + 8]
push edx
call fcn.10155d70
add esp, 4
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], 0
jle 0x10156f93
cmp dword [ebp + 8], 0
jne 0x10156e4d
cmp dword [ebp + 0xc], 0
jle 0x10156fa7
mov eax, dword [ebp - 4]
push eax
call fcn.10155d70
add esp, 4
jmp 0x10156fb4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
jmp 0x10156fc2
mov eax, dword [ebp + 8]
push eax
call fcn.10156940
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret