Function at 0x101457b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [edi + 0x40]
mov ebp, dword [edi + 8]
lea ecx, [eax + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x3c]
cmp ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
jg 0x101457e8
lea edx, [esi + ecx]
sub eax, ecx
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], eax
jmp 0x101457f9
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [edi + 0x4c], eax
mov esi, edx
mov al, byte [edi + 0x13]
test al, al
jne 0x1014580c
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x18], eax
jmp 0x1014581c
dec al
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [esp + 0x18], edx
mov edx, edi
call fcn.10128f60
push 0
push esi
push edi
mov eax, ebx
call fcn.1012a410
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 4]
add esp, 0xc
add esi, eax
push 0
push esi
push ecx
push 0x40
mov eax, ebp
call fcn.101169d0
lea ebx, [esi + 1]
mov esi, dword [esp + 0x3c]
push 1
call fcn.10128fb0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x14
push esi
push edx
push eax
push 0x2b
mov eax, ebp
call fcn.101169d0
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx + 6]
mov ecx, dword [esp + 0x34]
not dl
movzx eax, dl
mov edx, dword [ecx + 4]
xor ebx, ebx
push ebx
shr eax, 6
push esi
or eax, 0x66
push edx
push eax
mov eax, ebp
call fcn.101169d0
add esp, 0x20
cmp esi, ebx
je 0x101458c8
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x101458c8
xor eax, eax
lea ecx, [edi + 0x68]
lea ebx, [ebx]
cmp dword [ecx + 0x10], esi
je 0x1014590b
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x101458b0
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], esi
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
mov esi, edi
call fcn.10128d30
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, dword [edi + 0x3c]
jle 0x101458ee
mov edx, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x10145a5c
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x10145911
inc eax
mov dword [esp + 0x28], eax
jmp 0x10145915
mov byte [ecx + 8], 1
jmp 0x101458c8
mov dword [esp + 0x28], ecx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1014592f
mov edi, ebp
call fcn.10116950
test eax, eax
je 0x1014592f
mov esi, 1
jmp 0x10145954
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x80
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x1c], eax
jg 0x1014596f
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x10145998
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x20
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
push 0xe
mov eax, ebp
call fcn.10116a30
add esp, 4
cmp esi, ebx
mov dword [esp + 0x1c], eax
jl 0x101459bd
mov eax, dword [ebp + 0x1c]
cmp eax, esi
jbe 0x101459bd
mov edx, dword [ebp + 4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
jg 0x101459db
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x10145a00
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x28]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x62
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
jg 0x10145a1e
mov edi, ebp
call fcn.10116950
test eax, eax
jne 0x10145a43
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jl 0x10145a5c
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x10145a5c
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret