Function at 0x43e2bb
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, 0xec
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402f00
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push 1
pop ebx
push ebx
push dword [ebp - 0x30]
mov edi, 0x40acc0
push edi
push ebx
call sub.MSVBVM60.DLL___vbaInStr
test eax, eax
jne 0x43e3eb
cmp dword [0x44f010], esi
jne 0x43e394
push 0x44f010
push 0x404c8c
call sub.MSVBVM60.DLL___vbaNew2
mov edi, dword [0x44f010]
mov ebx, dword [edi]
push dword [ebp + 0x14]
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push eax
push dword [ebp - 0x30]
push edi
call dword [ebx + 0x1c]
fnclex
cmp eax, esi
jge 0x43e3d4
push 0x1c
push 0x40aaac
push edi
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
jmp 0x43e746
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0x4008
push ebx
push dword [ebp - 0x30]
push edi
push ebx
call sub.MSVBVM60.DLL___vbaInStr
sub eax, ebx
jo 0x43e7e3
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 0x5c], 0x80020004
mov dword [ebp - 0x64], 0xa
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0x4008
lea eax, [ebp - 0x64]
push eax
push ebx
push dword [ebp - 0x30]
push edi
push ebx
call sub.MSVBVM60.DLL___vbaInStr
add eax, ebx
jo 0x43e7e3
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 0x40ec64
push esi
call fcn.00422018
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push ebx
call sub.MSVBVM60.DLL___vbaOnError
push dword [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0043ce17
cmp dword [0x44f010], esi
jne 0x43e4eb
push 0x44f010
push 0x404c8c
call sub.MSVBVM60.DLL___vbaNew2
mov edi, dword [0x44f010]
mov ebx, dword [edi]
push dword [ebp + 0x14]
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaObjSetAddref
push eax
push dword [ebp - 0x24]
push edi
call dword [ebx + 0x1c]
fnclex
cmp eax, esi
jge 0x43e52b
push 0x1c
push 0x40aaac
push edi
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_DeleteFileA
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x43e746
call sub.MSVBVM60.DLL___vbaExitProc
push 0x43e7d2
jmp 0x43e7a1
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow