Function at 0x96a5b9
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.0096b790
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
je 0x96a5de
mov ecx, 0x2000
xor eax, eax
lea edi, [ebp - 0x801c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0x5e02159
lea ebx, [esi + eax]
jmp 0x96a85e
mov eax, dword [0x96b920]
cmp byte [eax], 0xcc
je 0x96a603
cmp byte [eax + 1], 0xcc
jne 0x96a60d
call fcn.0096a464
mov eax, dword [0x96b920]
mov ecx, dword [ebx + 0xc]
add ecx, esi
push ecx
call eax
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x96a645
push 0x96a0dc
mov edi, 0x96b7d0
push edi
call dword [0x96b914]
mov eax, dword [ebx + 0xc]
add eax, esi
push eax
push 0x96b80b
call dword [0x96b914]
push edi
call fcn.0096a4ac
pop ecx
mov edi, dword [ebx + 0x10]
mov eax, dword [ebx]
add edi, esi
test eax, eax
je 0x96a657
add eax, esi
mov dword [ebp + 0xc], eax
jmp 0x96a65a
mov dword [ebp + 0xc], edi
and dword [ebp - 4], 0
jmp 0x96a807
mov ecx, dword [0x96b930]
cmp byte [ecx], 0xcc
je 0x96a674
cmp byte [ecx + 1], 0xcc
jne 0x96a67f
call fcn.0096a464
mov ecx, dword [0x96b930]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
js 0x96a69b
add esi, eax
lea eax, [esi + 2]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
call ecx
mov dword [ebp - 0xc], eax
jmp 0x96a6c3
and eax, 0xffff
push eax
push dword [ebp - 0x14]
call ecx
mov esi, dword [ebp + 0xc]
push 4
push esi
mov dword [ebp - 0xc], eax
call fcn.0096a515
and dword [esi], 0
push eax
call fcn.0096a586
mov esi, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x96a6f6
push 0x96a0dc
push 0x96b7d0
call dword [0x96b914]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp + 8]
push eax
push 0x96b80b
call dword [0x96b914]
push 0x96b7d0
call fcn.0096a4ac
pop ecx
lea eax, [esi + 4]
push eax
call fcn.0096a453
add eax, 2
push eax
add esi, 2
push esi
call fcn.0096a515
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x96a717
push ecx
call fcn.0096a586
cmp dword [ebp + 0x10], 0
pop ecx
je 0x96a7e4
mov eax, dword [ebp - 8]
imul eax, eax, 0x41a7
mov ecx, 0x7fffffff
cdq
mov esi, ecx
idiv esi
test edx, edx
mov dword [ebp - 8], edx
jge 0x96a74e
neg dword [ebp - 8]
cmp dword [ebp - 4], 3
jle 0x96a7e4
mov eax, dword [ebp - 8]
push 5
cdq
pop esi
idiv esi
cmp edx, 1
jge 0x96a7e4
mov eax, dword [ebp - 8]
imul eax, eax, 0x41a7
cdq
idiv ecx
test edx, edx
mov dword [ebp - 8], edx
jge 0x96a77e
neg edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
lea eax, [ecx + edx]
cdq
idiv ecx
mov esi, edx
inc esi
sub ecx, esi
lea ecx, [ebp + ecx*4 - 0x801c]
cmp dword [ecx], 0
jne 0x96a7e4
mov edx, dword [ebp - 4]
xor eax, eax
inc eax
push 4
mov dword [ebp + edx*4 - 0x801c], eax
push edi
mov dword [ecx], eax
call fcn.0096a515
mov dword [ebp - 0x10], eax
mov eax, esi
shl eax, 2
mov esi, edi
sub esi, eax
push 4
push esi
call fcn.0096a515
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [edi], eax
call fcn.0096a586
push dword [ebp - 0x18]
call fcn.0096a586
add esp, 0x18
jmp 0x96a7fa
push 4
push edi
call fcn.0096a515
mov ecx, dword [ebp - 0xc]
push eax
mov dword [edi], ecx
call fcn.0096a586
add esp, 0xc
add dword [ebp + 0xc], 4
mov esi, dword [ebp + 8]
add edi, 4
inc dword [ebp - 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x96a663
mov eax, dword [ebx + 0xc]
lea edx, [eax + esi]
push edx
call fcn.0096a453
push eax
push edx
call fcn.0096a515
mov ecx, eax
mov eax, dword [ebx + 0xc]
add eax, esi
add esp, 0xc
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x96a836
push ecx
call fcn.0096a586
cmp dword [ebp + 0x10], 0
pop ecx
je 0x96a85b
mov ecx, 0x2000
xor eax, eax
lea edi, [ebp - 0x801c]
rep stosd dword es:[edi], eax
add ebx, 0x14
cmp dword [ebx + 0x10], 0
jne 0x96a5f3
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret