Function at 0x1000aa80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x13]
push eax
push ebx
push 1
push 0x14
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x10000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call dword [0x14131b4]
mov esi, dword [ebp + 8]
mov edi, dword [0x14131c4]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0x1fffff
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x48], 0x18
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call edi
test eax, eax
jge 0x1000ac92
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0x1fffff
lea eax, [esp + 0x28]
inc esi
push eax
mov dword [esp + 0x40], esi
call edi
test eax, eax
jge 0x1000ac92
mov esi, dword [0x14131cc]
push 4
push 0x1000
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push 0xffffffffffffffff
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [0x14131d0]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push 0x10
call edi
test eax, eax
je 0x1000abb3
lea esp, [esp]
push 0x8000
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
call dword [0x14131b0]
mov edx, dword [esp + 0x18]
push 4
push 0x1000
lea ecx, [esp + 0x20]
push ecx
lea eax, [edx + edx]
push ebx
lea edx, [esp + 0x24]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push 0x10
call edi
test eax, eax
jne 0x1000ab60
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
add esi, 4
xor edi, edi
mov dword [esp + 0x2c], eax
cmp eax, ebx
jbe 0x1000ac75
lea ebx, [ebx]
cmp byte [esi + 4], 5
jne 0x1000ac42
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x38], eax
push 0x40
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], ebx
call dword [0x14131c4]
test eax, eax
jl 0x1000ac3e
movzx edx, word [esi + 6]
mov eax, dword [esp + 0x20]
push ebx
push ebx
push 0x1fffff
lea ecx, [esp + 0x34]
push ecx
push 0xffffffffffffffff
push edx
push eax
call dword [0x14131c0]
test eax, eax
jl 0x1000ac3e
mov edx, dword [esp + 0x28]
push ebx
push 0x18
lea ecx, [esp + 0x58]
push ecx
push ebx
push edx
call dword [0x14131c8]
test eax, eax
jl 0x1000ac3e
mov eax, dword [ebp + 8]
cmp dword [esp + 0x60], eax
je 0x1000ac4c
mov eax, dword [esp + 0x2c]
inc edi
add esi, 0x10
cmp edi, eax
jb 0x1000abd0
jmp 0x1000ac75
movzx edx, word [esi + 6]
mov eax, dword [esp + 0x20]
push ebx
push ebx
push 0x1fffff
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
push edx
push eax
call dword [0x14131c0]
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x14131bc]
cmp dword [esp + 0x14], ebx
je 0x1000ac92
push 0x8000
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
call dword [0x14131b0]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret