Function at 0x45a560
Capabilities:
Gather total-commander information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x405ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402dc8
xor edi, edi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], 0x41532c
mov dword [ebp - 0x58], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcEnvironBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x415350
lea ecx, [ebp - 0x30]
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstrB]
test eax, eax
je 0x45a655
mov ecx, dword [0x4b013c]
mov eax, dword [0x4b015c]
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push 0x410804
push eax
call dword [edx + 0x40]
cmp eax, edi
fnclex
jge 0x45a63b
mov edx, dword [0x4b015c]
push 0x40
push 0x411f78
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x18]
push eax
call fcn.00457a90
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push 0x45a8e8
jmp 0x45a8bf
push 0x4062e8
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
lea ecx, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edx, 0x41539c
lea ecx, [ebp - 0x20]
call ebx
mov edx, 0x4153e4
lea ecx, [ebp - 0x1c]
call ebx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
mov ebx, dword [edx]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push 0x414f20
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebx + 0x20]
cmp eax, edi
fnclex
jge 0x45a6c2
mov ecx, dword [ebp - 0x2c]
push 0x20
push 0x414ca0
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
lea edx, [ebp - 0x48]
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push edx
push eax
call edi
push eax
call fcn.004585d0
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x34]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x4b0114]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrTextCmp]
push eax
push ecx
call ebx
test eax, eax
jne 0x45a792
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
mov ebx, dword [edx]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push 0x414f48
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebx + 0x20]
test eax, eax
fnclex
jge 0x45a757
mov ecx, dword [ebp - 0x2c]
push 0x20
push 0x414ca0
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x48]
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push edx
push eax
call edi
push eax
call fcn.004585d0
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x34]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrTextCmp]
push 0x414ca0
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x4b0114]
push ecx
push edx
call ebx
test eax, eax
mov eax, dword [0x4b015c]
mov ecx, dword [eax]
je 0x45a7fe
mov edx, dword [0x4b013c]
push edx
mov edx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
push edx
push 0x410804
push eax
call dword [ecx + 0x40]
test eax, eax
fnclex
jge 0x45a7f5
mov ecx, dword [0x4b015c]
push 0x40
push 0x411f78
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x28]
push edx
jmp 0x45a63f
lea edx, [ebp - 0x48]
push edx
mov edx, dword [0x4b013c]
push 0x1000
push edx
mov edx, dword [0x4b0114]
push edx
mov edx, dword [ebp - 0x30]
push edx
push 0x410804
push eax
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x45a83d
mov ecx, dword [0x4b015c]
push 0x34
push 0x411f78
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x48]
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push edx
push eax
call edi
push eax
call fcn.004585d0
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x4b0114]
push ecx
push edx
call ebx
test eax, eax
jne 0x45a63b
mov edx, dword [0x4b0114]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x45a8e8
jmp 0x45a8bf
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x30]
call esi
ret