Function at 0x4027af
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [str._tv_]
imul eax, eax, 0x2c
mov dword [str.s_tv_], eax
and dword [ebp - 0x14], 0
jmp 0x4027f6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
jge 0x4029e9
mov eax, dword [str.s_tv_]
add eax, 0x17
mov dword [str.s_tv_], eax
mov eax, dword [str._tv_]
imul eax, eax, 0x2c
mov dword [str.s_tv_], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x402930
mov eax, dword [str.s_tv_]
imul eax, dword [str._tv_]
sub eax, dword [str.s_tv_]
sub eax, dword [str.s_tv_]
add eax, 3
mov dword [str._tv_], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [str.s_tv_]
imul eax, dword [str.s_tv_]
imul eax, dword [str._tv_]
imul eax, dword [str._tv_]
add eax, 0x14
mov dword [str._tv_], eax
cmp dword [ebp - 4], 0
jle 0x40291e
mov eax, dword [str.s_tv_]
add eax, 0x17
mov dword [str.s_tv_], eax
push 4
push 0x1000
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [str.s_tv_]
add eax, 0x17
mov dword [str.s_tv_], eax
mov eax, dword [str.s_tv_]
add eax, dword [str.s_tv_]
mov ecx, dword [str._tv_]
imul ecx, dword [str.s_tv_]
add eax, ecx
sub eax, dword [str._tv_]
mov dword [str._tv_], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [str.s_tv_]
add eax, dword [str.s_tv_]
mov ecx, dword [str._tv_]
imul ecx, dword [str.s_tv_]
add eax, ecx
sub eax, dword [str._tv_]
mov dword [str._tv_], eax
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call fcn.004020d0
add esp, 0xc
mov eax, dword [str._tv_]
imul eax, eax, 0x2c
mov dword [str.s_tv_], eax
jmp 0x4027e6
mov eax, dword [str.s_tv_]
add eax, dword [str.s_tv_]
mov ecx, dword [str._tv_]
imul ecx, dword [str.s_tv_]
add eax, ecx
sub eax, dword [str._tv_]
mov dword [str._tv_], eax
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [str._tv_]
imul eax, eax, 0x2c
mov dword [str.s_tv_], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xc]
call fcn.00402092
add esp, 0xc
mov eax, dword [str.s_tv_]
add eax, dword [str._tv_]
sub eax, dword [str.s_tv_]
add eax, 0x17
mov dword [str.s_tv_], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [str.s_tv_]
add eax, dword [str.s_tv_]
mov ecx, dword [str._tv_]
imul ecx, dword [str.s_tv_]
add eax, ecx
sub eax, dword [str._tv_]
mov dword [str._tv_], eax
jmp 0x4027e6
mov eax, dword [str.s_tv_]
add eax, 0x17
mov dword [str.s_tv_], eax
leave
ret