Function at 0x10018f96
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 0x10019320
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 0x10019320
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 0x10019327
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.10018b21
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 0x10019320
lea eax, [edi + edi*4]
lea eax, [eax*8 + 0xcc]
cmp eax, dword [ebp + 0xc]
jne 0x10019320
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.1001bf6b
and dword [ebp + 0xc], 0
add ebx, 0xcc
test edi, edi
mov byte [esi + 0xb8], 1
jbe 0x100192da
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.100e05e0
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.100e05e0
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 0x10019277
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 0x10019320
cmp dword [ebp - 0x28], edi
jne 0x10019320
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0x7ffffffe
je 0x100192c2
cmp dword [ebp - 0x34], 0xffffffff
je 0x100192d4
mov ecx, dword [ebp - 4]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], esi
or edi, dword [ebp - 0x20]
je 0x100192c2
cmp dword [ebp - 0x34], 2
jne 0x100192a3
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]
lea edx, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [eax + 4], edx
mov eax, dword [eax]
lea edi, [eax + ecx*8]
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [ebp + 0xc]
add ebx, 0x28
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jb 0x10019106
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
dec edi
cmp dword [ebp + 0xc], edi
jne 0x10019320
cmp dword [esi + 0x28], 0
je 0x10019305
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.100e05e0
mov ecx, dword [esi]
cmp ecx, eax
jne 0x10019320
mov eax, dword [esi + 4]
cmp eax, edx
je 0x10019325
push 1
pop eax
jmp 0x10019327
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8