Function at 0x100875be
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [ebp + 0xc], 0xcc
push ebx
mov ebx, ecx
jae 0x100875d8
xor eax, eax
inc eax
jmp 0x100877d0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
bswap eax
cmp eax, 0x6d697368
jne 0x100875f1
mov ecx, dword [esi + 4]
bswap ecx
cmp ecx, 1
je 0x100875f9
xor eax, eax
inc eax
jmp 0x100877cf
mov eax, dword [esi + 0x14]
bswap eax
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x28], eax
bswap ecx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ecx
bswap eax
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x10], eax
bswap ecx
push edi
lea eax, [esi + 0x40]
mov dword [ebx + 0x14], ecx
push eax
lea ecx, [ebx + 0x30]
call fcn.10087591
mov edi, dword [esi + 0xc8]
bswap edi
mov dword [ebp - 4], edi
cmp edi, 0x10000000
ja 0x100877cb
mov eax, edi
imul eax, eax, 0x28
add eax, 0xcc
cmp eax, dword [ebp + 0xc]
jne 0x100877cb
xor eax, eax
lea ecx, [ebx + 0x24]
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.10085247
add esi, 0xcc
xor edx, edx
mov byte [ebx + 0xb8], 1
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
test edi, edi
je 0x10087786
mov eax, dword [esi]
bswap eax
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18], eax
bswap ecx
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xc]
bswap eax
shld ecx, eax, 9
shl eax, 9
mov dword [ebp - 8], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 0x10]
bswap eax
bswap ecx
shld ecx, eax, 9
shl eax, 9
cmp dword [ebx + 0x28], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x18]
bswap ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x20]
bswap eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x24]
bswap ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ecx
bswap eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
je 0x1008772d
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
imul edx, edx, 0x28
mov ecx, dword [edx + eax - 0x18]
add ecx, dword [edx + eax - 0x20]
mov edi, dword [edx + eax - 0x14]
adc edi, dword [edx + eax - 0x1c]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 4]
cmp dword [ebp - 8], ecx
jne 0x100877cb
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x100877cb
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x7ffffffe
je 0x10087774
cmp ecx, 0xffffffff
je 0x10087786
add dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
je 0x10087774
cmp ecx, 2
jne 0x1008775a
mov byte [ebx + 0xb8], 0
mov edi, dword [ebx + 0x28]
imul edi, edi, 0x28
add edi, dword [ebx + 0x24]
push 0xa
pop ecx
lea esi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x28]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
inc edx
add esi, 0x28
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], esi
cmp edx, edi
jb 0x10087683
lea eax, [edi - 1]
cmp edx, eax
jne 0x100877cb
cmp dword [ebx + 0x28], 0
je 0x100877b1
mov esi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
imul esi, esi, 0x28
mov ecx, dword [esi + edx - 0x18]
add ecx, dword [esi + edx - 0x20]
mov eax, dword [esi + edx - 0x14]
adc eax, dword [esi + edx - 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
shld ecx, eax, 9
shl eax, 9
cmp dword [ebx], eax
jne 0x100877cb
cmp dword [ebx + 4], ecx
jne 0x100877cb
xor eax, eax
jmp 0x100877ce
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8