Function at 0x100709b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100bc5a8
push 0x10059220
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [0x100c7210]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x10070a21
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx]
cmp edx, 0x4550
je 0x10070a21
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x10070a5c
mov edx, dword [ebp + 8]
mov byte [edx + 0x21], 1
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x3c], 0
jne 0x10070a4b
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
jmp 0x10070a65
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
add ecx, 0xf8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x2c]
cmp ecx, eax
ja 0x10070a8f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 8]
jae 0x10070a9b
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x4550
je 0x10070adf
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
cmp ecx, 0x454e
je 0x10070aca
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
cmp eax, 0x454c
jne 0x10070ad1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x21], 1
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov edx, dword [ebp + 8]
mov byte [edx + 0x21], 0
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x10]
test edx, edx
jne 0x10070b06
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x10070b54
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x34], 0x80000000
jb 0x10070b2a
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], 1
jmp 0x10070b31
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x1a]
cmp eax, 3
jge 0x10070b52
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x1b]
cmp edx, 5
jge 0x10070b52
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
jmp 0x10070b5b
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
imul ecx, ecx, 0x28
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x2c]
cmp ecx, edx
jbe 0x10070b98
mov dword [ebp - 0x20], 0
jmp 0x10070bcd
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
call fcn.10070990
add esp, 4
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x12]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 2]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10070bed
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret