Function at 0x1013e96
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 8]
push esi
xor edx, edx
push edi
inc edx
xor edi, edi
cmp byte [eax + ecx], 0
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edi
jne 0x1013f0d
mov ecx, dword [ebx + 0x60]
cmp byte [ecx], 0xff
jne 0x1013f0d
inc dword [ebx + 0x68]
inc ecx
inc eax
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0x60], ecx
cmp dword [eax + 4], edi
je 0x1013f05
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3a], edi
mov dword [ebp - 0x42], edi
mov edi, dword [ebx + 0x5c]
imul edi, edi, 0x3c
add edi, dword [eax + 0xe2]
push 0xf
pop ecx
push 0x3c
add eax, 0xde
lea esi, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0x66
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.01012a8e
inc dword [ebx + 0x5c]
push 4
pop eax
jmp 0x10142a6
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
movsx ecx, word [eax + 0x16]
add dword [ebx + 0x50], ecx
cmp word [eax + 0xa], di
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 8], ecx
je 0x1013f32
push edx
push eax
call fcn.01011fa7
add dword [ebx + 0x50], eax
mov eax, dword [ebx]
movsx ecx, word [eax + 0x1e]
mov edx, dword [ebp + 0x10]
sub edx, ecx
mov dword [ebx + 0x3c], edx
cmp word [eax + 0xa], di
je 0x1013f51
push 4
push eax
call fcn.01011fa7
sub dword [ebx + 0x3c], eax
mov dword [ebp + 0xc], edi
cmp dword [ebp + 0xc], 3
mov esi, dword [ebp + 8]
jl 0x1013f69
cmp dword [esi + 0xf6], edi
jle 0x1014122
cmp dword [ebx + 0xc], edi
jne 0x1014039
lea eax, [esi + 0xf6]
cmp dword [eax], edi
jle 0x1014039
push 0xa
lea edx, [esi + 0xf2]
mov esi, dword [edx]
pop ecx
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
dec dword [eax]
mov eax, dword [eax]
mov edx, dword [edx]
lea eax, [eax + eax*4]
shl eax, 3
push eax
lea eax, [edx + 0x28]
push eax
push edx
call dword [sym.imp.msvcrt.dll_memmove]
xor ecx, ecx
inc ecx
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x10], esi
mov dword [ebx + 0xc], ecx
jne 0x1013fd6
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x24]
cmp eax, 0xa
mov dword [ebx + 0x1c], eax
jge 0x1013fcb
mov dword [ebx + 0x10], ecx
jmp 0x1013fd1
add eax, 0xfffffff6
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x10], esi
je 0x1014001
mov eax, dword [ebx]
movsx ecx, word [eax + 0x1c]
mov dword [ebx + 0x1c], ecx
mov dx, word [eax + 0x20]
cmp dx, si
jge 0x1013ff0
movsx edx, dx
add edx, ecx
mov dword [ebx + 0x1c], edx
cmp word [eax + 0xa], si
je 0x1014001
push 2
push eax
call fcn.01011fa7
add dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x20], eax
jge 0x1014034
mov edx, ecx
imul edx, edx, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xe2]
mov esi, dword [ebx + 0x1c]
add eax, edx
add dword [eax + 2], esi
mov esi, dword [ebx + 0x20]
add dword [eax + 6], esi
inc ecx
add edx, 0x3c
cmp ecx, dword [ebx + 0x18]
jl 0x1014014
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
cmp dword [ebx + 0xc], edi
sete al
mov dword [ebx + 0x40], eax
mov eax, dword [ebx]
movsx ecx, word [eax + 0x1c]
mov dword [ebx + 0x38], ecx
cmp word [eax + 0xa], di
je 0x101405e
push 2
push eax
call fcn.01011fa7
add dword [ebx + 0x38], eax
cmp dword [ebx + 0xc], edi
je 0x1014071
cmp dword [ebx + 0x10], edi
je 0x1014071
mov eax, dword [ebx + 0x24]
add eax, 0xa
add dword [ebx + 0x38], eax
cmp dword [ebp - 0xc], edi
je 0x1014096
mov eax, dword [ebx]
cmp word [eax + 0x10], di
movsx eax, word [eax + 0x20]
je 0x101408e
sub dword [ebx + 0x3c], eax
mov dword [ebp - 4], 1
jmp 0x1014091
add dword [ebx + 0x38], eax
mov dword [ebp - 0xc], edi
jmp 0x10140ad
cmp dword [ebp - 4], edi
je 0x10140ad
mov eax, dword [ebx]
cmp word [eax + 0x10], di
je 0x10140ad
movsx eax, word [eax + 0x20]
add dword [ebx + 0x3c], eax
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 3
je 0x10140c3
cmp dword [ebp + 0xc], 4
je 0x10140c3
push ebx
push esi
call fcn.01013a9a
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0xc], edi
je 0x1013f54
cmp dword [ebp + 0xc], 3
je 0x10140e7
cmp dword [ebp + 0xc], 4
je 0x10140e7
mov eax, dword [ebx + 0x28]
add eax, dword [ebx + 0x20]
cmp dword [ebx + 0x50], eax
jle 0x1013f54
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0xc], edi
movsx ecx, word [eax + 0x1e]
sub edx, ecx
mov dword [ebx + 0x3c], edx
cmp word [eax + 0xa], di
je 0x1014109
push 4
push eax
call fcn.01011fa7
sub dword [ebx + 0x3c], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x28]
add eax, ecx
mov ecx, dword [ebx + 0x50]
cmp ecx, eax
jle 0x101411a
mov eax, ecx
mov dword [ebx + 0x50], eax
jmp 0x1013f54
mov eax, dword [ebp - 8]
cmp dword [ebx + 0x50], eax
jne 0x101417d
cmp dword [ebp + 0xc], 4
je 0x101417d
cmp word [ebx + 0x48], 0xffff
jne 0x101413b
mov word [ebx + 0x48], di
movsx eax, word [ebx + 0x48]
cmp dword [esi + 0x13e], eax
je 0x101416e
push eax
push esi
call fcn.0100f30f
lea eax, [esi + 0x142]
push eax
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
movsx eax, word [ebx + 0x48]
mov dword [esi + 0x13a], eax
mov dword [esi + 0x13e], eax
mov eax, dword [esi + 0x152]
add eax, dword [esi + 0x142]
add dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x5c]
imul ecx, ecx, 0x3c
mov edx, dword [esi + 0xe2]
imul eax, eax, 0x3c
mov dword [ebp + 0x10], edi
lea edi, [ecx + edx]
add edx, eax
cmp edi, edx
mov dword [ebp - 4], edi
jae 0x10141d0
mov edx, dword [ebx + 0x5c]
mov edi, dword [esi + 0xe2]
imul edx, edx, 0x3c
add edx, edi
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x12]
mov edx, dword [edx + 6]
add edx, edi
cmp dword [ebp + 0x10], edx
jg 0x10141c2
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 4]
add edx, 0x3c
cmp edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jb 0x10141b2
mov edx, dword [ebx + 0x50]
cmp edx, dword [ebp + 0x10]
jg 0x10141db
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x50], edx
mov edx, dword [ebx]
cmp word [edx + 0xa], 0
je 0x101429a
mov edi, dword [esi + 0xe2]
and dword [ebp + 0x10], 0
add ecx, edi
add edi, eax
cmp ecx, edi
jae 0x1014223
mov eax, dword [ebx + 0x5c]
mov edx, dword [esi + 0xe2]
imul eax, eax, 0x3c
lea esi, [eax + edx]
mov eax, dword [ecx + 0xe]
mov edx, dword [ecx + 2]
add eax, edx
cmp dword [ebp + 0x10], eax
jg 0x101421c
mov dword [ebp + 0x10], eax
add ecx, 0x3c
cmp ecx, esi
jb 0x101420c
mov al, byte [edi + 1]
and al, 0xfe
or al, 2
mov byte [edi + 1], al
mov byte [edi], 5
mov eax, dword [ebx]
movsx ecx, word [eax + 0x1c]
movsx eax, word [eax + 0x20]
add eax, ecx
cmp ecx, eax
jge 0x1014242
mov eax, ecx
mov dword [edi + 2], eax
mov eax, dword [ebp - 8]
mov dword [edi + 6], eax
mov esi, dword [ebx + 0x3c]
cmp dword [ebp + 0x10], esi
jle 0x1014256
mov esi, dword [ebp + 0x10]
push 4
push dword [ebx]
call fcn.01011fa7
sub esi, dword [edi + 2]
push 3
add eax, esi
mov dword [edi + 0xe], eax
push dword [ebx]
call fcn.01011fa7
add dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x50]
sub eax, dword [ebp - 8]
add edi, 0x2a
mov dword [edi - 0x18], eax
mov esi, dword [ebx]
mov eax, dword [ebp + 8]
add esi, 0x24
movsw word es:[edi], word [esi]
push 0x3c
add eax, 0xde
push eax
movsb byte es:[edi], byte [esi]
call fcn.01012a8e
inc dword [ebx + 0x5c]
mov eax, dword [ebx]
movsx eax, word [eax + 0x18]
add dword [ebx + 0x50], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc