Function at 0x429bc9
Capabilities:
Write file on windows

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, 0xdc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402240
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
mov dword [ebp - 0xa0], 0x40bb6c
mov dword [ebp - 0xa8], 8
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL___vbaInStrVar
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 3
cmp dword [ebp - 0x24], 0
jne 0x429c77
jmp 0x429ee5
mov dword [ebp - 4], 6
push 1
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
mov eax, dword [ebp - 0x24]
sub eax, 1
jo 0x429ff4
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call fcn.0042152b
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaI4Str
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 8
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x24]
add eax, 1
jo 0x429ff4
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call fcn.0042152b
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 9
push dword [ebp - 0x30]
push 0
push 0x100000
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x28], 0
je 0x429db6
mov dword [ebp - 4], 0xb
push 0xffffffffffffffff
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [ebp - 4], 0xc
push dword [ebp - 0x28]
call fcn.00403e46
mov dword [ebp - 4], 0xe
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
call fcn.004217fa
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xfc], eax
and dword [ebp - 0x38], 0
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call 0x429ff9
not ax
mov word [ebp - 0xe4], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
movsx eax, word [ebp - 0xe4]
test eax, eax
je 0x429e2e
jmp 0x429f94
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 0xa0], 0x40c76c
mov dword [ebp - 0xa8], 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x40
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x4008
push 1
lea eax, [ebp - 0xa8]
push eax
call sub.MSVBVM60.DLL_rtcShell
fstp qword [ebp - 0xe0]
jmp 0x429f94
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
push 0x40c7bc
push 0x40a1d8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
push 6
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x1c
call sub.MSVBVM60.DLL___vbaExitProc
wait
push 0x429fe5
jmp 0x429fdc
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4022d0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push dword [ebp - 0x30]
call fcn.00428563
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
mov dword [ebp - 4], 4
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
push dword [ebp - 0xd0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x42a0ec
push 0x1c
push 0x40a720
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x42a0f3
and dword [ebp - 0xf4], 0
xor eax, eax
cmp dword [ebp - 0xcc], 0
setne al
neg eax
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0xd8]
test eax, eax
je 0x42a1b1
mov dword [ebp - 4], 5
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x90], 0x40c878
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
jmp 0x42a3b2
mov dword [ebp - 4], 8
push 0
push 0
push 5
push 0
push 0
push 0x40000000
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0xcc], eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 9
cmp dword [ebp - 0x28], 0xffffffff
jne 0x42a29f
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x90], 0x40c950
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
jmp 0x42a3b2
mov dword [ebp - 4], 0xd
push dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x42a42f
push eax
push 0
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_WriteFile
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x24], 0
jne 0x42a397
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x90], 0x40c950
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
jmp 0x42a3a3
mov dword [ebp - 4], 0x11
or word [ebp - 0x2c], 0xffff
mov dword [ebp - 4], 0x13
push dword [ebp - 0x28]
call fcn.00403e46
push 0x42a41a
jmp 0x42a3f0
lea eax, [ebp - 0xdc]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x38]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow