Function at 0x43c800
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402e50
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x28]
call fcn.00422d74
test ax, ax
jne 0x43c95f
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov ebx, eax
mov edi, 0x80020004
mov dword [ebp - 0x88], edi
push 0xa
pop esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], esi
push 0x40eac8
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40eb0c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 0x80040003
push ebx
call dword [eax + 0x44]
fnclex
test eax, eax
jge 0x43c92d
push 0x44
push 0x40a720
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeObj
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
jmp 0x43cd84
push 1
call sub.MSVBVM60.DLL___vbaOnError
push 0x40a908
call sub.MSVBVM60.DLL___vbaNew
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov edi, 0x80020004
mov dword [ebp - 0x58], edi
push 0xa
pop esi
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcFreeFile
movsx ebx, ax
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
push dword [ebp - 0x28]
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
push 0xffffffffffffffff
push 0x2120
call sub.MSVBVM60.DLL___vbaFileOpen
push ebx
call 0x43d790
test ax, ax
jne 0x43ca88
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], esi
push 0x40eb14
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40eb0c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x60]
push edx
push 0x80040001
push eax
call dword [ecx + 0x44]
fnclex
test eax, eax
jge 0x43ca5b
push 0x44
push 0x40a720
push dword [ebp - 0xe0]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeObj
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcFileLength
mov edx, eax
mov ecx, ebx
mov dword [ebp - 0x128], edx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcFileSeek
mov ecx, dword [ebp - 0x128]
cmp eax, ecx
jge 0x43cbbd
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [ebp - 0x2c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaGet3
push 0
mov eax, dword [ebp - 0x2c]
sub eax, 1
jo 0x43ce12
push eax
push 1
push 0x11
lea eax, [ebp - 0x30]
push eax
push 1
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [ebp - 0x30]
push eax
push 0x40c468
call sub.MSVBVM60.DLL___vbaGetOwner3
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [ebp - 0x2c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaGet3
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
mov ecx, ebx
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcFileSeek
add eax, dword [ebp - 0x2c]
jo 0x43ce12
push eax
call sub.MSVBVM60.DLL___vbaFileSeek
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 0x2011
lea eax, [ebp - 0xa0]
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x60]
push edx
push eax
call dword [ecx + 0x20]
fnclex
test eax, eax
jge 0x43ca6b
push 0x20
push 0x40a054
push dword [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
jmp 0x43ca6b
mov ecx, dword [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL___vbaFileClose
jmp 0x43cd84
call sub.MSVBVM60.DLL___vbaExitProc
push 0x43cdfe
jmp 0x43cdea
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x30]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow