Function at 0x10042467
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [ebp + 0xc], 0xcc
push ebx
push esi
push edi
mov ebx, ecx
jb 0x1004266e
mov esi, dword [ebp + 8]
mov eax, dword [esi]
bswap eax
cmp eax, 0x6d697368
jne 0x1004266e
mov eax, dword [esi + 4]
bswap eax
cmp eax, 1
jne 0x1004266e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
bswap eax
bswap ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x18]
bswap eax
bswap ecx
mov dword [ebx + 0x10], eax
lea eax, [esi + 0x40]
mov dword [ebx + 0x14], ecx
lea ecx, [ebx + 0x30]
push eax
call fcn.1004243a
mov edi, dword [esi + 0xc8]
bswap edi
mov dword [ebp - 4], edi
cmp edi, 0x10000000
ja 0x1004266e
imul eax, edi, 0x28
add eax, 0xcc
cmp eax, dword [ebp + 0xc]
jne 0x1004266e
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.1004136d
add esi, 0xcc
mov byte [ebx + 0xb8], 1
xor edx, edx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
test edi, edi
je 0x10042625
mov eax, dword [esi]
mov ecx, dword [esi + 8]
bswap eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xc]
bswap eax
bswap ecx
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
bswap eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x20]
bswap ecx
bswap eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
je 0x100425ce
imul ecx, dword [ebx + 0x28], 0x28
mov eax, dword [ebx + 0x24]
mov edx, dword [ecx + eax - 0x20]
add edx, dword [ecx + eax - 0x18]
mov edi, dword [ecx + eax - 0x1c]
adc edi, dword [ecx + eax - 0x14]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 4]
cmp dword [ebp - 8], edx
jne 0x1004266e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x1004266e
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x7ffffffe
je 0x10042613
cmp ecx, 0xffffffff
je 0x10042625
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 0x10042613
cmp ecx, 2
jne 0x100425fb
mov byte [ebx + 0xb8], 0
imul edi, dword [ebx + 0x28], 0x28
lea esi, [ebp - 0x54]
push 0xa
pop ecx
add edi, dword [ebx + 0x24]
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 0x10042526
lea eax, [edi - 1]
cmp edx, eax
jne 0x1004266e
cmp dword [ebx + 0x28], 0
je 0x10042650
imul ecx, dword [ebx + 0x28], 0x28
mov eax, dword [ebx + 0x24]
mov esi, dword [ecx + eax - 0x20]
add esi, dword [ecx + eax - 0x18]
mov edx, dword [ecx + eax - 0x1c]
adc edx, dword [ecx + eax - 0x14]
mov dword [ebx], esi
mov dword [ebx + 4], edx
jmp 0x10042655
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
shld ecx, eax, 9
shl eax, 9
cmp esi, eax
jne 0x1004266e
cmp edx, ecx
jne 0x1004266e
xor eax, eax
jmp 0x10042671
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8