Function at 0x438db0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xfc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402cb0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push dword [ebp - 0x2c]
call fcn.00422d74
movsx eax, ax
test eax, eax
jne 0x438e32
mov dword [ebp - 4], 3
or word [ebp - 0x24], 0xffff
jmp 0x43952f
mov dword [ebp - 4], 6
push dword [ebp - 0x28]
call fcn.00422d74
movsx eax, ax
test eax, eax
je 0x438f2f
mov dword [ebp - 4], 7
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
push dword [ebp - 0x28]
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40e734
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], 8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x31
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x438f2f
mov dword [ebp - 4], 8
and word [ebp - 0x24], 0
jmp 0x43952f
mov dword [ebp - 4], 0xc
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 0xe
push dword [ebp - 0x2c]
call fcn.00428563
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
mov dword [ebp - 4], 0xf
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
push dword [ebp - 0xe0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x438fc7
push 0x1c
push 0x40a720
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x438fce
and dword [ebp - 0x110], 0
xor eax, eax
cmp dword [ebp - 0xdc], 0
sete al
neg eax
mov word [ebp - 0xe8], ax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0xe8]
test eax, eax
je 0x439009
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
call fcn.00427c88
mov dword [ebp - 4], 0x12
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
push dword [ebp - 0xe0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x43906e
push 0x1c
push 0x40a720
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x114], eax
jmp 0x439075
and dword [ebp - 0x114], 0
xor eax, eax
cmp dword [ebp - 0xdc], 0
setne al
neg eax
mov word [ebp - 0xe8], ax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0xe8]
test eax, eax
je 0x439365
mov dword [ebp - 4], 0x13
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
push dword [ebp - 0xe0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x439106
push 0x1c
push 0x40a720
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x43910d
and dword [ebp - 0x118], 0
push dword [ebp - 0xdc]
call fcn.00422621
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
push dword [ebp - 0xe8]
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x43917d
push 0x2c
push 0x40a720
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x11c], eax
jmp 0x439184
and dword [ebp - 0x11c], 0
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10c], eax
and dword [ebp - 0x60], 0
push dword [ebp - 0x2c]
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40b7a8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40b7e8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40a1f4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40b80c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], 8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x15
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
sub eax, 4
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
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 - 0x34]
push eax
push 0xc
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x34
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
movsx eax, word [ebp - 0xf0]
test eax, eax
je 0x439354
jmp 0x438f3d
mov dword [ebp - 4], 0x16
and word [ebp - 0x24], 0
jmp 0x43952f
mov dword [ebp - 4], 0x1a
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_DeleteFileA
mov dword [ebp - 0xdc], eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
xor eax, eax
cmp dword [ebp - 0xdc], 0
sete al
neg eax
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x439523
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
push dword [ebp - 0x28]
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40e778
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40e7bc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40e82c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40e894
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], 8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x15
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
sub eax, 4
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0x48]
push eax
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 - 0x34]
push eax
push 6
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x1c
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x439515
jmp 0x439365
mov dword [ebp - 4], 0x1e
or word [ebp - 0x24], 0xffff
jmp 0x43952f
mov dword [ebp - 4], 0x21
or word [ebp - 0x24], 0xffff
push 0x4395d0
jmp 0x4395a6
lea eax, [ebp - 0xf4]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x30]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
ret