Function at 0x461aaf
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
push 3
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.0040e02d
push 0x55
mov ecx, edi
pop ebx
push ebx
call fcn.0040e02d
push ebx
mov ecx, edi
call fcn.0040e02d
push ebx
mov ecx, edi
call fcn.0040e02d
mov esi, dword [ebp + 0xc]
push dword [esi + 0x54]
call fcn.004607c1
mov dword [ebp - 0xc], eax
pop ecx
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0040e0d4
mov al, byte [esi]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 2]
mov ecx, edi
push eax
call fcn.0040e02d
push dword [esi + 0x58]
call fcn.0046078b
pop ecx
push eax
mov ecx, edi
call fcn.0040e02d
mov al, byte [esi + 6]
mov ecx, edi
push eax
call fcn.0040e02d
push dword [esi + 0x5c]
call fcn.0046078b
pop ecx
push eax
mov ecx, edi
call fcn.0040e02d
mov al, byte [esi + 8]
mov ecx, edi
push eax
call fcn.0040e02d
push dword [esi + 0x60]
call fcn.0046078b
pop ecx
push eax
mov ecx, edi
call fcn.0040e02d
mov al, byte [esi + 0xa]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0xc]
mov ecx, edi
push eax
call fcn.0040e02d
push dword [esi + 0x64]
call fcn.0046078b
pop ecx
push eax
mov ecx, edi
call fcn.0040e02d
mov al, byte [esi + 0xe]
mov ecx, edi
push eax
call fcn.0040e02d
push ebx
mov ecx, edi
call fcn.0040e02d
mov ax, word [esi + 0x10]
mov ecx, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e0d4
mov eax, dword [esi + 0x14]
mov ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040e14c
mov eax, dword [esi + 0x18]
mov ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040e14c
mov al, byte [esi + 0x1c]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x1e]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x20]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x22]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x24]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x26]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x28]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x2a]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x2c]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x2e]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x30]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x32]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x34]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x36]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x38]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x3a]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x3c]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x3e]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x40]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x42]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x44]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x46]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x48]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x4a]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x4c]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x4e]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x50]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x52]
mov ecx, edi
push eax
call fcn.0040e02d
mov eax, dword [esi + 0x54]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
je 0x461d6b
push eax
call ebx
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x461d62
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [ebp + 0xc], eax
jae 0x461d46
mov eax, dword [ebp - 8]
mov ecx, edi
mov al, byte [eax]
push eax
call fcn.0040e02d
inc dword [ebp + 0xc]
add dword [ebp - 8], 2
jmp 0x461d1c
cmp dword [ebp + 8], 0
je 0x461d62
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x461d62
push 0
mov ecx, edi
call fcn.0040e02d
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x461dce
push eax
call ebx
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x461dc5
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [ebp + 0xc], eax
jae 0x461da9
mov eax, dword [ebp - 8]
mov ecx, edi
mov al, byte [eax]
push eax
call fcn.0040e02d
inc dword [ebp + 0xc]
add dword [ebp - 8], 2
jmp 0x461d7f
cmp dword [ebp + 8], 0
je 0x461dc5
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x461dc5
push 0
mov ecx, edi
call fcn.0040e02d
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x461e31
push eax
call ebx
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x461e28
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [ebp + 0xc], eax
jae 0x461e0c
mov eax, dword [ebp - 8]
mov ecx, edi
mov al, byte [eax]
push eax
call fcn.0040e02d
inc dword [ebp + 0xc]
add dword [ebp - 8], 2
jmp 0x461de2
cmp dword [ebp + 8], 0
je 0x461e28
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x461e28
push 0
mov ecx, edi
call fcn.0040e02d
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x461e94
push eax
call ebx
and dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x461e8b
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [ebp + 0xc], eax
jae 0x461e6f
mov eax, dword [ebp - 8]
mov ecx, edi
mov al, byte [eax]
push eax
call fcn.0040e02d
inc dword [ebp + 0xc]
add dword [ebp - 8], 2
jmp 0x461e45
cmp dword [ebp + 8], 0
je 0x461e8b
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x461e8b
push 0
mov ecx, edi
call fcn.0040e02d
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esi + 0x64]
test esi, esi
je 0x461eef
push esi
call ebx
and dword [ebp + 0xc], 0
mov ebx, eax
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0
je 0x461ee6
push dword [ebp + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
cmp dword [ebp + 0xc], eax
jae 0x461ece
mov al, byte [ebx]
mov ecx, edi
push eax
call fcn.0040e02d
inc dword [ebp + 0xc]
inc ebx
inc ebx
jmp 0x461ea7
cmp dword [ebp + 8], 0
je 0x461ee6
push dword [ebp + 8]
call esi
test eax, eax
je 0x461ee6
push 0
mov ecx, edi
call fcn.0040e02d
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x461f0c
mov eax, dword [edi + 4]
push 4
dec eax
pop ecx
cdq
idiv ecx
test edx, edx
je 0x461f0c
push 0x55
mov ecx, edi
call fcn.0040e02d
jmp 0x461ef3
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0040e02d
movsx eax, word [ebp + 0x10]
test eax, eax
jle 0x461f33
mov esi, dword [ebp + 0x14]
mov ebx, eax
mov ecx, dword [ebp - 0x14]
push esi
push edi
call fcn.00462c5a
add esi, 8
dec ebx
jne 0x461f23
test edi, edi
je 0x461f5b
mov cx, word [edi + 4]
mov eax, dword [ebp - 0x18]
mov esi, dword [edi + 4]
sub cx, ax
add eax, 2
mov dword [ebp + 0x10], ecx
mov dword [edi + 4], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.0040e0d4
mov dword [edi + 4], esi
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 0x10