Function at 0x43593e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4027e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x16c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402260
cmp word [0x449050], 0xffff
jne 0x43597d
jmp 0x435a7f
push 0x404fc0
push 0x40d164
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x28]
push eax
call fcn.0043db20
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
and dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 2
lea eax, [ebp - 0x58]
push eax
push 0x104
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x15c], eax
call sub.MSVBVM60.DLL___vbaSetSystemError
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x24], 0
jne 0x435a3b
mov edx, 0x403f20
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
push 0x405604
push 0x40d164
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x28]
push eax
call fcn.0043db20
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
jmp 0x4360a9
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax]
push dword [ebp - 0x160]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jge 0x435add
push 0x1c
push 0x4041a4
push dword [ebp - 0x160]
push dword [ebp - 0x164]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x178], eax
jmp 0x435ae4
and dword [ebp - 0x178], 0
xor eax, eax
cmp dword [ebp - 0x15c], 0
setne al
neg eax
mov word [ebp - 0x168], ax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0x168]
test eax, eax
je 0x435e5b
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x16c]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
push dword [ebp - 0x16c]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jge 0x435b6b
push 0x1c
push 0x4041a4
push dword [ebp - 0x16c]
push dword [ebp - 0x160]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x17c], eax
jmp 0x435b72
and dword [ebp - 0x17c], 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
push dword [ebp - 0x16c]
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jge 0x435bb8
push 0x2c
push 0x4041a4
push dword [ebp - 0x16c]
push dword [ebp - 0x164]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x180], eax
jmp 0x435bbf
and dword [ebp - 0x180], 0
push 0x4049a4
push dword [ebp - 0x15c]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4049b8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4049c0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40d164
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 8
mov dword [ebp - 0x100], 0x404a38
mov dword [ebp - 0x108], 8
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaVarDup
push 0x404a20
mov ax, word [0x449052]
push eax
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404a38
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 8
xor eax, eax
cmp word [0x449052], 0
setne al
neg eax
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xf8], 0xb
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
mov dword [ebp - 0x110], 0x4043c8
mov dword [ebp - 0x118], 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], 8
mov dword [ebp - 0x130], 0x4043c8
mov dword [ebp - 0x138], 8
mov dword [ebp - 0x140], 0x404a40
mov dword [ebp - 0x148], 8
mov ax, word [0x449050]
mov word [ebp - 0x150], ax
mov dword [ebp - 0x158], 0xb
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xe8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x24
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xf8]
push eax
push 0xc
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x34
push 0
lea eax, [ebp - 0x16c]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
jmp 0x43603c
push 0x4049a4
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4049c0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40d164
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 8
mov dword [ebp - 0x100], 0x404a38
mov dword [ebp - 0x108], 8
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaVarDup
push 0x404a20
mov ax, word [0x449052]
push eax
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404a38
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 8
xor eax, eax
cmp word [0x449052], 0
setne al
neg eax
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xf8], 0xb
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
mov dword [ebp - 0x110], 0x4043c8
mov dword [ebp - 0x118], 8
mov dword [ebp - 0x120], 0x404a40
mov dword [ebp - 0x128], 8
mov ax, word [0x449050]
mov word [ebp - 0x130], ax
mov dword [ebp - 0x138], 0xb
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xf8]
push eax
push 0xa
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x2c
push 0x404a6c
push 0x40d164
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4043c8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x30]
push eax
call fcn.0043db20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov edx, 0x403f20
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
push 0x43615b
jmp 0x43613f
lea ecx, [ebp - 0x16c]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret