Function at 0x100282f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x14], ax
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
jne 0x1002832c
xor eax, eax
jmp 0x100286fb
cmp dword [ebp + 8], 0
je 0x10028338
cmp dword [ebp + 0xc], 0
ja 0x1002833f
xor eax, eax
jmp 0x100286fb
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10028376
xor eax, eax
jmp 0x100286fb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x3c]
ja 0x10028388
xor eax, eax
jmp 0x100286fb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x100283af
xor eax, eax
jmp 0x100286fb
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
add ecx, 0xf8
cmp dword [ebp + 0xc], ecx
ja 0x100283c7
xor eax, eax
jmp 0x100286fb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x100283fb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
xor edx, edx
mov ecx, 0xc8
div ecx
test edx, edx
jne 0x100283fb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x38]
cmp ecx, dword [eax + 0x3c]
jae 0x1002840a
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
cmp eax, 1
jl 0x10028422
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
cmp edx, 0x60
jle 0x10028438
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x18]
or ecx, 0xf
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], ecx
xor eax, eax
jmp 0x100286fb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x10028450
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x18]
or edx, 2
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x1002846e
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x18]
or ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x10028480
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1002848f
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 6]
mov word [ebp - 0x14], dx
mov eax, dword [ebp + 0x10]
mov cx, word [ebp - 0x14]
mov word [eax + 4], cx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
movzx ecx, word [ebp - 0x14]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
cmp ecx, edx
jbe 0x100284e0
xor eax, eax
jmp 0x100286fb
movzx eax, word [ebp - 0x14]
imul eax, eax, 0x1c
push eax
call fcn.1007ae24
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x14], 0
jne 0x10028506
xor eax, eax
jmp 0x100286fb
mov dword [ebp - 8], 0
jmp 0x10028521
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
mov dword [ebp - 0x10], ecx
movzx edx, word [ebp - 0x14]
cmp dword [ebp - 8], edx
jae 0x1002863a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x1002863a
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x10], ecx
jb 0x1002855e
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
xor eax, eax
jmp 0x100286fb
cmp dword [ebp - 0x10], 0
je 0x100285b1
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1007aeee
add esp, 8
cmp eax, 8
ja 0x1002859c
push 7
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x14]
push edx
call fcn.10028ac0
add esp, 0xc
jmp 0x100285b1
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov dl, byte [0x1008b6c4]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 8]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x24]
mov dword [edx + eax + 0x18], ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + edx + 0x14], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov dword [eax + ecx + 0x10], edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [edx + eax + 0xc], ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ecx + edx + 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
mov dword [eax + ecx + 8], edx
jmp 0x1002850f
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
call fcn.10028730
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], 0xffffffff
jne 0x1002868d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 0xc]
jb 0x1002868d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.10028960
add esp, 4
movsx eax, al
cmp eax, 0xffffffff
jne 0x100286b0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x18]
or edx, 4
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10028870
add esp, 4
movsx edx, al
cmp edx, 0xffffffff
jne 0x100286d3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x18]
or ecx, 4
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.100288f0
add esp, 4
movsx ecx, al
cmp ecx, 0xffffffff
jne 0x100286f6
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
mov eax, 1
mov esp, ebp
pop ebp
ret