Function at 0x10013605
Capabilities:
Check for software breakpoints
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [ebp + 0xc], 0xcc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
jb 0x1001398c
mov ebx, dword [ebp + 8]
xor eax, eax
mov ah, byte [ebx]
mov al, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 3]
shl eax, 8
or eax, ecx
cmp eax, 0x6d697368
jne 0x1001398c
movzx eax, byte [ebx + 6]
xor ecx, ecx
push 1
mov ch, byte [ebx + 4]
mov cl, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 7]
shl ecx, 8
or ecx, eax
pop eax
cmp ecx, eax
jne 0x10013993
movzx eax, byte [ebx + 0x12]
xor ecx, ecx
mov ch, byte [ebx + 0x10]
mov cl, byte [ebx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x13]
shl ecx, 8
movzx edx, byte [ebx + 0x16]
or ecx, eax
xor eax, eax
mov edi, ecx
xor ecx, ecx
mov ch, byte [ebx + 0x14]
mov cl, byte [ebx + 0x15]
shl ecx, 8
or ecx, edx
movzx edx, byte [ebx + 0x17]
shl ecx, 8
or ecx, edx
xor edx, edx
or eax, ecx
or edi, edx
mov dh, byte [ebx + 0x1c]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebx + 0x1a]
mov dl, byte [ebx + 0x1d]
xor eax, eax
mov ah, byte [ebx + 0x18]
mov dword [ebp - 8], edi
mov al, byte [ebx + 0x19]
movzx edi, byte [ebx + 0x1e]
shl eax, 8
shl edx, 8
or eax, ecx
or edx, edi
movzx ecx, byte [ebx + 0x1b]
movzx edi, byte [ebx + 0x1f]
shl eax, 8
shl edx, 8
or eax, ecx
xor ecx, ecx
or edx, edi
xor edi, edi
or ecx, edx
or eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebx + 0x40]
lea ecx, [esi + 0x30]
push eax
call fcn.1001318a
movzx ecx, byte [ebx + 0xca]
xor eax, eax
mov ah, byte [ebx + 0xc8]
mov al, byte [ebx + 0xc9]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0xcb]
shl eax, 8
or eax, ecx
mov edi, eax
cmp edi, 0x10000000
mov dword [ebp + 8], edi
ja 0x1001398c
lea eax, [edi + edi*4]
lea eax, [eax*8 + 0xcc]
cmp eax, dword [ebp + 0xc]
jne 0x1001398c
xor eax, eax
lea ecx, [esi + 0x24]
mov dword [esi + 8], eax
mov dword [esi], eax
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
call fcn.10016609
and dword [ebp + 0xc], 0
add ebx, 0xcc
test edi, edi
mov byte [esi + 0xb8], 1
jbe 0x10013946
movzx ecx, byte [ebx + 2]
xor eax, eax
xor edx, edx
mov ah, byte [ebx]
mov dh, byte [ebx + 8]
mov al, byte [ebx + 1]
mov dl, byte [ebx + 9]
shl eax, 8
or eax, ecx
push 9
movzx ecx, byte [ebx + 3]
movzx esi, byte [ebx + 0xe]
shl eax, 8
or eax, ecx
xor ecx, ecx
mov ch, byte [ebx + 0xc]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebx + 0xa]
mov cl, byte [ebx + 0xd]
shl edx, 8
shl ecx, 8
or edx, eax
or ecx, esi
movzx eax, byte [ebx + 0xb]
movzx esi, byte [ebx + 0xf]
shl edx, 8
shl ecx, 8
or edx, eax
xor eax, eax
or ecx, esi
xor esi, esi
or eax, ecx
or edx, esi
pop ecx
call fcn.100ce2e0
movzx esi, byte [ebx + 0x16]
mov dword [ebp - 0x28], edx
xor edx, edx
mov dh, byte [ebx + 0x10]
xor ecx, ecx
mov ch, byte [ebx + 0x14]
mov dl, byte [ebx + 0x11]
mov cl, byte [ebx + 0x15]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebx + 0x12]
shl edx, 8
shl ecx, 8
or edx, eax
or ecx, esi
movzx eax, byte [ebx + 0x13]
movzx esi, byte [ebx + 0x17]
shl edx, 8
shl ecx, 8
or edx, eax
xor eax, eax
or ecx, esi
xor esi, esi
push 9
or eax, ecx
or edx, esi
pop ecx
call fcn.100ce2e0
movzx ecx, byte [ebx + 0x1a]
mov edi, eax
xor eax, eax
mov ah, byte [ebx + 0x18]
mov dword [ebp - 0x20], edx
mov al, byte [ebx + 0x19]
xor edx, edx
mov dh, byte [ebx + 0x1c]
mov dword [ebp - 0x24], edi
mov dl, byte [ebx + 0x1d]
movzx esi, byte [ebx + 0x1e]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0x1b]
shl eax, 8
or eax, ecx
xor ecx, ecx
shl edx, 8
or edx, esi
movzx esi, byte [ebx + 0x1f]
shl edx, 8
or edx, esi
xor esi, esi
or eax, esi
or ecx, edx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ah, byte [ebx + 0x20]
mov dword [ebp - 0x1c], ecx
mov al, byte [ebx + 0x21]
xor edx, edx
movzx ecx, byte [ebx + 0x22]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0x23]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0x26]
mov esi, eax
xor eax, eax
mov ah, byte [ebx + 0x24]
mov al, byte [ebx + 0x25]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0x27]
shl eax, 8
or eax, ecx
xor ecx, ecx
or edx, eax
mov eax, dword [ebp - 4]
or esi, ecx
mov dword [ebp - 0x14], edx
cmp dword [eax + 0x28], ecx
mov dword [ebp - 0x10], esi
je 0x100138e6
lea ecx, [eax + 0x24]
mov eax, dword [eax + 0x28]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*8 - 0x14]
lea ecx, [ecx + eax*8 - 0x28]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 8]
adc edi, dword [ecx + 0xc]
cmp dword [ebp - 0x2c], eax
jne 0x1001398c
cmp dword [ebp - 0x28], edi
jne 0x1001398c
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0x7ffffffe
je 0x1001392e
cmp dword [ebp - 0x34], 0xffffffff
je 0x10013940
mov ecx, dword [ebp - 4]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], esi
or edi, dword [ebp - 0x20]
je 0x1001392e
cmp dword [ebp - 0x34], 2
jne 0x10013912
mov eax, ecx
and byte [eax + 0xb8], 0
mov eax, dword [ebp - 4]
push 0xa
add eax, 0x24
lea esi, [ebp - 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*8]
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [eax + 4]
inc dword [ebp + 0xc]
add ebx, 0x28
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jb 0x10013775
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
dec edi
cmp dword [ebp + 0xc], edi
jne 0x1001398c
cmp dword [esi + 0x28], 0
je 0x10013971
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 - 0x14]
lea eax, [ecx + eax*8 - 0x28]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 8]
adc edx, dword [eax + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push 9
pop ecx
call fcn.100ce2e0
mov ecx, dword [esi]
cmp ecx, eax
jne 0x1001398c
mov eax, dword [esi + 4]
cmp eax, edx
je 0x10013991
push 1
pop eax
jmp 0x10013993
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8