Function at 0x4ee880
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov cl, byte [eax + 4]
push edi
test cl, cl
mov dword [esp + 0x10], 0
mov byte [esp + 0x18], cl
je 0x4eecd7
mov eax, dword [eax]
mov ebp, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov ebx, esi
mov dword [esp + 0x28], esi
lea ecx, [ebp + ebp]
sub ebx, ecx
mov dword [esp + 0x24], ecx
mov al, byte [ebx + 2]
cmp al, 3
jne 0x4ee8e2
mov eax, dword [0x544b3c]
push 0x219
push 0x76
push 0xe
mov ecx, dword [eax]
push 0xf
push 0x1f8
push 0x5de
jmp 0x4eea6d
cmp al, 4
jne 0x4ee92f
mov ecx, dword [esp + 0x38]
mov eax, dword [0x544b3c]
mov edi, dword [esp + 0x34]
push 0x219
mov edx, dword [eax]
push 0x76
push 0xd
push 0xf
push 0x1f8
push 0x50d
push ecx
push edi
push 5
push eax
call dword [edx + 0x74]
test eax, eax
fnclex
jge 0x4eea98
mov edx, dword [0x544b3c]
push 0x74
push 0x42099c
push edx
jmp 0x4eea91
cmp al, 5
jne 0x4ee954
mov eax, dword [0x544b3c]
push 0x219
push 0x76
push 0xd
mov ecx, dword [eax]
push 0xf
push 0x1f8
push 0x592
jmp 0x4eea6d
cmp al, 0x20
jne 0x4ee9af
mov ecx, dword [esp + 0x38]
mov eax, dword [0x544b3c]
mov edi, dword [esp + 0x34]
push 0x219
mov edx, dword [eax]
push 0x76
push 0xd
push 0xc
push 0x1f8
push 0x5cb
push ecx
push edi
push 5
push eax
call dword [edx + 0x74]
test eax, eax
fnclex
jge 0x4ee99f
mov edx, dword [0x544b3c]
push 0x74
push 0x42099c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x10
mov dword [esp + 0x10], 1
jmp 0x4eeaa9
cmp al, 0x3c
jne 0x4ee9f5
mov edx, dword [esp + 0x38]
mov eax, dword [0x544b3c]
mov edi, dword [esp + 0x34]
push 0x219
mov ecx, dword [eax]
push 0x76
push 0xd
push 0xd
push 0x1f8
push 0x533
push edx
push edi
push 5
push eax
call dword [ecx + 0x74]
test eax, eax
fnclex
jge 0x4eea40
mov ecx, dword [0x544b3c]
push 0x74
push 0x42099c
push ecx
jmp 0x4eea39
cmp al, 0x5b
jne 0x4eea4d
mov ecx, dword [esp + 0x38]
mov eax, dword [0x544b3c]
mov edi, dword [esp + 0x34]
push 0x219
mov edx, dword [eax]
push 0x76
push 0xd
push 0xd
push 0x1f8
push 0x4fa
push ecx
push edi
push 5
push eax
call dword [edx + 0x74]
test eax, eax
fnclex
jge 0x4eea40
mov edx, dword [0x544b3c]
push 0x74
push 0x42099c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x11
mov dword [esp + 0x10], 1
jmp 0x4eeaa9
cmp al, 0x5d
jne 0x4eeaa5
mov eax, dword [0x544b3c]
push 0x219
push 0x76
push 0xd
mov ecx, dword [eax]
push 0xf
push 0x1f8
push 0x4e7
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push edx
push edi
push 5
push eax
call dword [ecx + 0x74]
test eax, eax
fnclex
jge 0x4eea98
mov ecx, dword [0x544b3c]
push 0x74
push 0x42099c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add edi, 0x13
mov dword [esp + 0x10], 1
jmp 0x4eeaa9
mov edi, dword [esp + 0x34]
movzx ax, byte [ebx + 3]
cwd
mov cx, 0xf
idiv cx
test dx, dx
jne 0x4eeace
mov dword [esp + 0x34], 0xe
mov dword [esp + 0x14], 0x104
jmp 0x4eeade
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x14], 0x3f9
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
sub eax, ebp
mov dl, byte [esi + eax*2]
mov cl, byte [esi + eax*2 + 1]
lea eax, [esi + eax*2]
mov ebp, edx
mov edx, dword [0x544f34]
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [edx + 0x14]
mov eax, dword [edx + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x34]
sub ecx, ebx
mov dword [esp + 0x30], eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx*2]
xor eax, eax
mov al, byte [ecx + ebp + 6]
mov ecx, dword [esp + 0x3c]
add eax, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jge 0x4eec38
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and eax, 0xff
mov dword [esp + 0x20], eax
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub ecx, ebx
push 0x219
mov eax, ecx
push 0x76
shl eax, 4
add eax, ecx
push 0xf
lea ecx, [eax + eax*2]
movsx eax, word [edx + ecx*2]
push eax
imul eax, ebp
mov ecx, dword [0x544b3c]
push esi
push eax
mov eax, dword [esp + 0x50]
mov edx, dword [ecx]
push eax
push edi
push 5
push ecx
call dword [edx + 0x74]
test eax, eax
fnclex
jge 0x4eebae
mov ecx, dword [0x544b3c]
push 0x74
push 0x42099c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp edx, eax
je 0x4eecd7
mov ecx, edx
mov esi, dword [esp + 0x24]
inc ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
add ecx, 2
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x18], ecx
sub eax, esi
mov bl, byte [eax + edx]
mov eax, ecx
sub eax, esi
xor ecx, ecx
mov ebp, ebx
mov cl, byte [eax + edx + 1]
mov edx, dword [0x544f34]
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [edx + 0x14]
mov eax, dword [edx + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x34]
sub ecx, ebx
mov dword [esp + 0x30], eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx*2]
xor eax, eax
mov al, byte [ecx + ebp + 6]
mov ecx, dword [esp + 0x3c]
add eax, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4eeb58
mov dword [esp + 0x3c], 3
mov ebx, dword [esp + 0x34]
mov eax, dword [edx + 0x14]
mov ecx, ebx
push 0x219
sub ecx, eax
push 0x76
mov eax, ecx
push 0xf
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
mov ax, word [ecx + eax*2]
mov ecx, dword [0x544b3c]
movsx ebp, ax
push ebp
lea ebp, [eax*8]
sub ebp, eax
mov edx, dword [ecx]
shl ebp, 1
movsx eax, bp
push esi
push eax
mov eax, dword [esp + 0x50]
push eax
push edi
push 5
push ecx
call dword [edx + 0x74]
test eax, eax
fnclex
jge 0x4eeca8
mov ecx, dword [0x544b3c]
push 0x74
push 0x42099c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x544f34]
mov ecx, ebx
xor ebx, ebx
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
mov bl, byte [ecx + eax*2 + 0x14]
mov eax, dword [esp + 0x3c]
add edi, ebx
dec eax
mov dword [esp + 0x3c], eax
jne 0x4eec40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10