Function at 0x43d7ce
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, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402eb0
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xec], ebx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
push 1
pop edi
push edi
push dword [ebp - 0x2c]
mov esi, 0x40acc0
push esi
push edi
call sub.MSVBVM60.DLL___vbaInStr
test eax, eax
jne 0x43d97e
cmp dword [0x450184], ebx
jne 0x43d8a5
push 0x450184
push 0x40a0dc
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x450184]
mov dword [ebp - 0xf0], eax
mov edi, 0x80020004
mov dword [ebp - 0xd8], edi
push 0xa
pop esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb0], esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa0], 8
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x10
lea esi, [ebp - 0xe0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xd0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xc0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xa0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x43d969
push 0x44
push 0x40a0cc
push dword [ebp - 0xf0]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
jmp 0x43dd52
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 0x4008
push edi
push dword [ebp - 0x2c]
push esi
push edi
call sub.MSVBVM60.DLL___vbaInStr
sub eax, edi
jo 0x43dded
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edi, 0x80020004
mov dword [ebp - 0x58], edi
push 0xa
pop esi
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 0x4008
lea eax, [ebp - 0x60]
push eax
push 1
push dword [ebp - 0x2c]
push 0x40acc0
push 1
call sub.MSVBVM60.DLL___vbaInStr
add eax, 1
jo 0x43dded
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 0x40ec64
push ebx
call fcn.00422018
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push 1
call sub.MSVBVM60.DLL___vbaOnError
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0043ce17
cmp dword [0x450184], ebx
jne 0x43da86
push 0x450184
push 0x40a0dc
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x450184]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb0], esi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa0], 8
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x10
lea esi, [ebp - 0xe0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xd0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xc0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0xa0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
call dword [ecx + 0x44]
fnclex
cmp eax, ebx
jge 0x43db42
push 0x44
push 0x40a0cc
push dword [ebp - 0xf0]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_DeleteFileA
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x43dd52
call sub.MSVBVM60.DLL___vbaExitProc
push 0x43ddd9
jmp 0x43ddb8
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow