Function at 0x4b0140
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4054c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403358
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
call fcn.00491c30
mov eax, dword [0x54a708]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea ecx, [ebp - 0x48]
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x48]
movsx eax, word [0x54a714]
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edx*4 + 0x100]
lea edx, [ebp - 0x44]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x44]
movsx eax, word [0x54a716]
sub eax, dword [ecx + 0x14]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xc]
shl edx, 4
mov ecx, dword [edx + eax + 0x10]
lea edx, [ebp - 0x40]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
sub eax, dword [ecx + 0x14]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xc]
mov bx, word [eax + edx*4 + 6]
lea esi, [eax + edx*4]
movsx eax, bx
add eax, 0xa
cmp eax, 9
ja case.0x4b0213.6
jmp dword [eax*4 + 0x4b07e4]
mov cx, word [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
call fcn.004b1b10
push 0
call fcn.004306f0
jmp 0x4b077a
mov eax, dword [esi + 8]
mov edx, dword [0x549f68]
mov dword [ebp - 0x30], eax
mov eax, dword [0x549b74]
mov dword [ebp - 0x38], 0x8003
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
lea eax, [edx + ecx*8 + 0xde8]
lea ecx, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGe]
test ax, ax
je 0x4b077a
mov edx, dword [esi + 8]
lea eax, [ebp - 0x28]
neg edx
push eax
mov dword [0x5499f8], 0x63
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 3
call fcn.0048ad50
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0
lea ecx, [esi + 0xc]
push 0
push ecx
call fcn.004a4ec0
cmp word [esi + 4], 0
jne 0x4b077a
mov ecx, dword [0x54a708]
push 0
movsx eax, word [0x54a714]
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edx*4 + 0x100]
movsx eax, word [0x54a716]
sub eax, dword [ecx + 0x14]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xc]
shl edx, 4
xor ecx, ecx
mov cl, byte [edx + eax + 0x20]
push ecx
call fcn.004b1b10
jmp 0x4b077a
mov al, byte [esi + 0xc]
test al, al
jne 0x4b032f
mov eax, dword [esi + 8]
test eax, eax
jle 0x4b0550
movsx edx, word [esi + 4]
push edx
push eax
push 2
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 1
jne 0x4b0362
xor eax, eax
mov al, byte [esi + 0xd]
push eax
push 0
push 4
call fcn.0044b950
xor ecx, ecx
mov cl, byte [esi + 0xe]
push ecx
push 0
push 5
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 2
jne 0x4b038c
mov esi, dword [esi + 8]
test esi, esi
jle 0x4b0550
push 0
push esi
push 6
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 3
jne 0x4b03b0
xor edx, edx
mov dl, byte [esi + 0xd]
push edx
push 0
push 7
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 4
jne 0x4b03e3
mov al, byte [esi + 0xe]
test al, al
jbe 0x4b0550
xor ecx, ecx
and eax, 0xff
mov cl, byte [esi + 0xd]
push ecx
push eax
push 8
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 5
jne 0x4b0405
mov edx, dword [esi + 8]
push edx
push 0
push 1
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 6
jne 0x4b042f
mov esi, dword [esi + 8]
test esi, esi
jle 0x4b0550
push esi
push 0
push 0
call fcn.0044b950
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 0x15
jne 0x4b0453
mov al, byte [esi + 8]
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 0x3c], al
call fcn.00444a80
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 0x16
jne 0x4b0479
mov dx, word [esi + 8]
mov ax, word [0x54a714]
push edx
push eax
call fcn.004affe0
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
cmp al, 0x1a
jne 0x4b0550
mov eax, dword [0x549b74]
mov edx, dword [0x549f68]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
mov eax, dword [edx + ecx*8 + 0x9ff0]
mov dword [ebp - 0x60], eax
lea ebx, [edx + ecx*8 + 0x9ff0]
movsx ecx, word [esi + 4]
push ecx
call fcn.004a5cb0
mov edx, dword [ebp - 0x60]
mov ecx, dword [esi + 8]
push 0x549f5c
sub ecx, dword [edx + 0x14]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + edx*4 + 0x14], eax
mov ebx, dword [ebx]
mov eax, dword [esi + 8]
mov cl, byte [esi + 0xe]
sub eax, dword [ebx + 0x14]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebx + 0xc]
mov byte [eax + edx*4 + 2], cl
lea edx, [ebp - 0x18]
push edx
call edi
mov eax, dword [0x549b74]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
mov eax, dword [edx + 0xc]
lea edx, [ebp - 0x14]
mov ecx, dword [eax + ecx*8 + 0x9ff0]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 8]
push 0xffffffffffffffff
push 0xff
mov ebx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub esi, ebx
push 0xff
lea ecx, [esi*8]
sub ecx, esi
lea eax, [edx + ecx*4]
push eax
call fcn.004b1ae0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea ecx, [ebp - 0x14]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
call esi
push 0
call fcn.00491c30
call fcn.004b2710
jmp 0x4b077a
call fcn.004b0c50
call fcn.004b2710
jmp 0x4b077a
mov eax, dword [esi + 8]
mov edx, dword [0x549f68]
mov dword [ebp - 0x30], eax
mov eax, dword [0x549b74]
mov dword [ebp - 0x38], 0x8003
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
lea eax, [edx + ecx*8 + 0xde8]
lea ecx, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGe]
test ax, ax
je 0x4b077a
mov edx, dword [esi + 8]
lea eax, [ebp - 0x28]
neg edx
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 3
call fcn.0048ad50
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [esi + 4]
push ecx
call fcn.004a4d80
jmp 0x4b077a
mov dl, byte [esi + 4]
push edx
call fcn.004b24e0
jmp 0x4b077a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x28]
neg eax
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 3
call fcn.0048ad50
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 3
sub eax, edx
movsx edx, word [esi + 4]
movsx ecx, word [eax + 0xa]
push ecx
push edx
push 2
call fcn.0044b950
push 0
call fcn.00491c30
mov al, byte [esi + 0xc]
test al, al
jne 0x4b0651
push 0
push 0
push 0xfffffffffffffff9
mov dword [0x549a10], 0xffffffff
call fcn.0044b950
jmp 0x4b077a
cmp al, 1
jne 0x4b066f
push 0
push 0
push 0xfffffffffffffff9
mov dword [0x549a10], 0xfffffff7
call fcn.0044b950
jmp 0x4b077a
cmp al, 2
jne 0x4b068d
xor eax, eax
push 0
mov al, byte [esi + 0xd]
push 0
push 0xfffffffffffffff9
mov dword [0x549a10], eax
call fcn.0044b950
jmp 0x4b077a
cmp al, 3
jne 0x4b0697
push 0
push 2
jmp 0x4b06a9
cmp al, 4
jne 0x4b06a1
push 0
push 0
jmp 0x4b06a9
cmp al, 5
jne 0x4b06ae
push 0
push 1
call fcn.004b1b10
push 0
push 0
push 0xfffffffffffffff9
call fcn.0044b950
jmp 0x4b077a
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
shl ecx, 3
sub edx, ecx
cmp byte [edx + 8], 1
jne 0x4b06e4
mov eax, dword [esi + 8]
mov cx, word [esi + 4]
push 0
push eax
push ecx
call fcn.00493940
jmp 0x4b0705
mov edx, dword [esi + 8]
lea eax, [ebp - 0x28]
neg edx
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 3
call fcn.0048ad50
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0
call fcn.00491c30
mov cl, byte [esi + 0xc]
lea eax, [esi + 0xc]
test cl, cl
jne 0x4b072b
mov cl, byte [esi + 0xd]
test cl, cl
jne 0x4b072b
mov cl, byte [esi + 0xe]
test cl, cl
jne 0x4b072b
call fcn.004b2710
jmp 0x4b077a
push 0
push 0
push eax
call fcn.004a4ec0
jmp 0x4b077a
cmp word [esi + 4], 0
mov dword [0x5499f8], 0x63
jne 0x4b075f
xor ecx, ecx
push 0
mov cl, byte [esi + 0xe]
push ecx
call fcn.004b1b10
push 0
push ebx
call fcn.004ab300
jmp 0x4b077a
xor edx, edx
mov word [0x54a4b4], 6
mov dl, byte [esi + 0xe]
mov word [0x54a4c0], bx
mov dword [0x54a4c8], edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea eax, [ebp - 0x40]
push eax
call esi
lea ecx, [ebp - 0x44]
push ecx
call esi
lea edx, [ebp - 0x48]
push edx
call esi
push 0x4b07ce
jmp 0x4b07b5
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea edx, [ebp - 0x40]
push edx
call esi
lea eax, [ebp - 0x44]
push eax
call esi
lea ecx, [ebp - 0x48]
push ecx
call esi
ret