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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
and dword [ebp - 0x44], 0
and dword [ebp - 0x10], 0
push 0x40
push dword [ebp + 0xc]
call fcn.10014a18
pop ecx
pop ecx
test eax, eax
jne 0x10015250
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10015275
push 0xc1
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, 0xf8
push eax
push dword [ebp + 0xc]
call fcn.10014a18
pop ecx
pop ecx
test eax, eax
jne 0x10015296
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0x4550
je 0x100152bf
push 0xc1
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 4]
cmp eax, 0x14c
je 0x100152df
push 0xc1
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
and eax, 1
je 0x100152fc
push 0xc1
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
and dword [ebp - 8], 0
jmp 0x1001532c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
add eax, 0x28
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 6]
cmp dword [ebp - 8], eax
jae 0x1001536e
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x10], 0
jne 0x1001534f
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
jmp 0x1001535e
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x10]
jbe 0x1001536c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
jmp 0x1001531c
lea eax, [ebp - 0x40]
push eax
call dword [0x3daa190]
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x50]
call fcn.100149f6
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
call fcn.100149f6
pop ecx
pop ecx
cmp dword [ebp - 0x18], eax
je 0x100153af
push 0xc1
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
push dword [ebp + 0x24]
push 4
push 0x3000
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x34]
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100153fe
push dword [ebp + 0x24]
push 4
push 0x3000
push dword [ebp - 0x18]
push 0
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100153fe
push 0xe
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
push 0x40
push 8
call dword [0x3daa0c4]
push eax
call dword [0x3daa2c0]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1001543a
push dword [ebp + 0x24]
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [ebp + 0x14]
add esp, 0x10
push 0xe
call dword [0x3daa270]
xor eax, eax
jmp 0x1001560e
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x16]
and eax, 0x2000
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x54]
push dword [ebp + 0xc]
call fcn.10014a18
pop ecx
pop ecx
test eax, eax
jne 0x100154b8
jmp 0x10015603
push dword [ebp + 0x24]
push 4
push 0x1000
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x54]
push dword [ebp - 0x14]
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x54]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.100234d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x34], ecx
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10014a34
add esp, 0x10
test eax, eax
jne 0x10015523
jmp 0x10015603
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + 0x34]
sub eax, dword [ecx + 0x34]
mov dword [ebp - 0x48], eax
je 0x1001554b
push dword [ebp - 0x48]
push dword [ebp - 0x44]
call fcn.10014eb7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x18], eax
jmp 0x10015555
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x18], 1
push dword [ebp - 0x44]
call fcn.10014f9f
pop ecx
test eax, eax
jne 0x1001556c
jmp 0x10015603
push dword [ebp - 0x44]
call fcn.10014ce9
pop ecx
test eax, eax
jne 0x10015583
jmp 0x10015603
push dword [ebp - 0x44]
call fcn.10014e50
pop ecx
test eax, eax
jne 0x10015594
jmp 0x10015603
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100155f7
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 0
je 0x100155e4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x5c], ecx
push 0
push 1
push dword [ebp - 0x14]
call dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x100155d8
push 0x45a
call dword [0x3daa270]
jmp 0x10015603
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x10], 1
jmp 0x100155f5
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x38], ecx
jmp 0x100155fe
mov eax, dword [ebp - 0x44]
and dword [eax + 0x38], 0
mov eax, dword [ebp - 0x44]
jmp 0x1001560e
push dword [ebp - 0x44]
call fcn.1001587b
pop ecx
xor eax, eax
leave
ret