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

Disassembly:
push 0x38
push 0x1347668
call fcn.012ac3ba
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
call fcn.010f9f16
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x10fae12
mov edi, dword [ebp - 0x34]
movzx eax, word [edi]
mov ecx, 0x5a4d
mov edx, ecx
cmp ax, dx
je 0x10fab41
mov edx, 0x4550
cmp ax, dx
je 0x10fab41
mov dword [ebp - 0x1c], 0xd000007b
jmp 0x10fae12
cmp ax, cx
jne 0x10fab79
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x10fab35
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
mov ecx, esi
call fcn.010fa021
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x10fae12
lea eax, [edi + 0x40]
mov edi, dword [ebp - 0x28]
cmp edi, eax
jae 0x10fab9f
jmp 0x10fab35
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
mov ecx, esi
call fcn.010fa021
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x10fae12
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x28]
cmp dword [edi], 0x4550
jne 0x10fab35
cmp word [edi + 0x14], bx
je 0x10fab35
movzx eax, word [edi + 4]
mov ecx, 0x14c
sub eax, ecx
je 0x10fabcf
sub eax, 0x74
je 0x10fabcf
sub eax, 0x40
je 0x10fabcf
sub eax, 0x8464
jne 0x10fab35
cmp byte [edi + 0x1a], 3
jae 0x10fabdf
cmp byte [edi + 0x1b], 5
jb 0x10fab35
movzx eax, word [edi + 0x18]
mov edx, 0x10b
mov ebx, edx
cmp ax, bx
je 0x10fabfd
mov ebx, 0x20b
cmp ax, bx
jne 0x10fab35
cmp ax, dx
movzx eax, word [edi + 4]
jne 0x10fac39
sub eax, ecx
je 0x10fac13
sub eax, 0x74
jne 0x10fab35
xor ebx, ebx
push ebx
push ebx
push 1
push dword [ebp - 0x20]
mov ecx, esi
call fcn.010fa021
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x10fae12
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
jmp 0x10fac74
cmp eax, 0x200
je 0x10fac4b
cmp eax, 0x8664
jne 0x10fab35
push 0
push 0
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x20]
mov ecx, esi
call fcn.010fa140
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10fae12
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], ebx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x14], eax
mov ebx, dword [edi + 0x54]
test ebx, ebx
je 0x10fab35
mov ecx, esi
call fcn.010f9b03
cmp ebx, eax
jae 0x10fab35
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x30], ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10fab35
lea edx, [eax - 1]
test eax, edx
jne 0x10fab35
lea edx, [ecx - 1]
test ecx, edx
jne 0x10fab35
cmp ecx, eax
jb 0x10fab35
test eax, 0x1ff
je 0x10facd5
cmp eax, ecx
jne 0x10fab35
movzx ebx, word [edi + 6]
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jbe 0x10fab35
movzx eax, word [edi + 0x14]
lea eax, [edi + eax + 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
sub eax, ecx
push eax
call fcn.010f9d96
test eax, eax
jl 0x10fab35
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x20]
mov ecx, esi
call fcn.010fa25f
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10fae12
and dword [ebp - 0x24], 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], eax
jae 0x10fad90
mov eax, dword [ebp - 0x24]
mov ecx, ebx
imul eax, eax, 0x28
lea ebx, [ecx + eax]
cmp dword [esi + 0x20], 0
je 0x10fad49
mov eax, dword [ebx + 0xc]
jmp 0x10fad4c
mov eax, dword [ebx + 0x14]
push 0
push 0
push dword [ebx + 0x10]
push eax
mov ecx, esi
call fcn.010fa379
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10fae12
cmp dword [esi + 0x20], 0
je 0x10fad79
mov eax, dword [ebp - 0x30]
dec eax
test dword [ebx + 0xc], eax
jne 0x10fab35
mov ebx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x30]
lea eax, [ebx + eax - 1]
cmp eax, ebx
jb 0x10fab35
inc dword [ebp - 0x24]
jmp 0x10fad28
imul eax, eax, 0x28
add eax, ebx
cmp dword [esi + 0x20], 0
je 0x10fada0
mov ecx, dword [eax - 0x1c]
jmp 0x10fada3
mov ecx, dword [eax - 0x14]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax - 0x18]
lea edx, [ebp - 0x2c]
push edx
push eax
push ecx
call fcn.0104461b
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10fae12
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ebx
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x44], eax
jmp 0x10fae12
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp - 0x1c], 0
jge 0x10fae46
mov eax, dword [0x136ec90]
cmp eax, 0x136ec90
je 0x10fae46
test byte [eax + 0x3c], 2
je 0x10fae46
push dword [ebp - 0x1c]
push 0x100c5f4
push 0x14
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0103e52d
mov eax, dword [ebp - 0x1c]
call fcn.012b77e3
ret