Function at 0x6d1330
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [ebp + 8], 0
jne 0x6d1346
mov eax, 0xfffffff9
jmp 0x6d1593
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x6d1364
or eax, 0xffffffff
jmp 0x6d1593
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x6d1385
mov eax, 0xfffffffe
jmp 0x6d1593
push 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
call fcn.006d80e7
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6d13ac
mov eax, 0xfffffffd
jmp 0x6d1593
push 4
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 6]
push eax
call fcn.006d80e7
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6d13d3
mov eax, 0xfffffffc
jmp 0x6d1593
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
jmp 0x6d13f8
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x28], ecx
jge 0x6d142f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
jmp 0x6d13ef
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.006d1040
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x6d146f
mov eax, 0xfffffffb
jmp 0x6d1593
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.006d19f0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.006d1610
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x6d14bc
mov eax, 0xfffffffa
jmp 0x6d1593
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.006d1040
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x6d1528
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.006d1aa0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6d1526
mov eax, 0xfffffff7
jmp 0x6d1593
jmp 0x6d152f
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x6d153d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x6d154b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x6d1559
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
cmp dword [ebp + 0x18], 0
je 0x6d1567
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp + 0x1c], 0
je 0x6d1575
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
cmp dword [ebp + 0x24], 0
je 0x6d1583
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
cmp dword [ebp + 0x20], 0
je 0x6d1591
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret