Function at 0x4370b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402666
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402350
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], 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 - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
push 1
call dword [sym.imp.MSVBVM50.DLL___vbaOnError]
mov eax, dword [0x43c054]
push eax
call dword [sym.imp.MSVBVM50.DLL___vbaLenBstr]
sub eax, 1
jo 0x4375cc
push eax
mov ecx, dword [0x43c054]
push ecx
mov edi, dword [sym.imp.MSVBVM50.DLL_rtcLeftCharBstr]
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.MSVBVM50.DLL___vbaStrMove]
call esi
mov edx, 0x40b7b0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM50.DLL___vbaStrCopy]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x38]
call esi
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00436e90
push eax
call dword [sym.imp.MSVBVM50.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
push 3
call dword [sym.imp.MSVBVM50.DLL___vbaFreeStrList]
add esp, 0x10
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM50.DLL___vbaI4Str]
push eax
mov edx, dword [0x43c054]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
push 0x411f24
call dword [sym.imp.MSVBVM50.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x38]
mov edi, dword [sym.imp.MSVBVM50.DLL___vbaFreeStr]
call edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], 0x4008
push ebx
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.MSVBVM50.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
call dword [sym.imp.MSVBVM50.DLL___vbaLenBstr]
test eax, eax
setg bl
neg ebx
lea ecx, [ebp - 0x38]
call edi
test bx, bx
je 0x437560
lea edx, [ebp - 0x28]
push edx
push 0x411d2c
push 0x40aaac
call fcn.004392d0
mov edx, eax
mov ecx, 0x43c050
call esi
push 1
mov eax, dword [0x43c050]
push eax
push 0x411f1c
push 0
call dword [sym.imp.MSVBVM50.DLL___vbaInStr]
mov ecx, eax
call dword [sym.imp.MSVBVM50.DLL___vbaI2I4]
test ax, ax
jle 0x4372a3
mov dword [ebp - 0x78], 0x43c050
mov dword [ebp - 0x80], 0x4008
sub ax, 1
jo 0x4375cc
movsx ecx, ax
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM50.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM50.DLL_rtcRightTrimVar]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM50.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x43c050
call esi
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 2
call dword [sym.imp.MSVBVM50.DLL___vbaFreeVarList]
add esp, 0xc
mov eax, dword [0x43c050]
push eax
mov ebx, dword [sym.imp.MSVBVM50.DLL___vbaLenBstr]
call ebx
test eax, eax
jne 0x4372f8
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00436fa0
mov edx, eax
mov ecx, 0x43c050
call esi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x80], 0x4008
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVBVM50.DLL_rtcKillFiles]
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x43c050]
push edx
push 0x411d2c
push 0x40aaac
call fcn.004394f0
mov eax, dword [0x43c050]
push eax
call ebx
test eax, eax
jle 0x437560
push 0x43c050
call fcn.00439760
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x28]
push ecx
push 0x411d48
push 0x40aaac
call fcn.004392d0
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
lea edx, [ebp - 0x30]
push edx
call fcn.00439760
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
lea ecx, [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x30]
push eax
call ebx
test eax, eax
jle 0x437409
mov dword [ebp - 0x78], 0x43c050
mov dword [ebp - 0x80], 0x4008
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ebx, dword [sym.imp.MSVBVM50.DLL_rtcUpperCaseVar]
call ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 0x4008
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x60]
push edx
call ebx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM50.DLL___vbaVarTstNe]
mov ebx, eax
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x50]
push eax
push 2
call dword [sym.imp.MSVBVM50.DLL___vbaFreeVarList]
add esp, 0xc
test bx, bx
je 0x437403
mov edx, dword [ebp - 0x30]
mov ecx, 0x43c050
mov ebx, dword [sym.imp.MSVBVM50.DLL___vbaStrCopy]
call ebx
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x43c050]
push edx
push 0x411d2c
push 0x40aaac
call fcn.004394f0
mov edx, 0x411b48
lea ecx, [ebp - 0x38]
call ebx
lea eax, [ebp - 0x38]
push eax
call fcn.004305c0
lea ecx, [ebp - 0x38]
call edi
mov ebx, dword [sym.imp.MSVBVM50.DLL___vbaLenBstr]
mov ecx, dword [0x43c050]
push ecx
push 0x411b74
call dword [sym.imp.MSVBVM50.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x80], 0x4008
push 0x20
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVBVM50.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
call ebx
xor ebx, ebx
test eax, eax
setg bl
neg ebx
lea ecx, [ebp - 0x38]
call edi
test bx, bx
je 0x437560
push 0x411f40
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVBVM50.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
lea edx, [ebp - 0x38]
push edx
call fcn.004305c0
lea ecx, [ebp - 0x38]
call edi
mov edx, dword [ebp - 0x2c]
mov ecx, 0x43c04c
call dword [sym.imp.MSVBVM50.DLL___vbaStrCopy]
mov dword [ebp - 0x34], 0xffffffff
call dword [sym.imp.MSVBVM50.DLL___vbaExitProc]
push 0x4375b7
jmp 0x43759c
call dword [sym.imp.MSVBVM50.DLL___vbaExitProc]
push 0x4375b7
jmp 0x43759c
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM50.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
jmp esi
call dword [sym.imp.MSVBVM50.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop