Function at 0x435ef0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4037c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402a60
mov edx, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x74], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x405718
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x74]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [ebp - 0x74]
push 0x80000002
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
cmp eax, edi
fnclex
jge 0x435f9c
mov edx, dword [ebp - 0x74]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x4c
push 0x40b030
push edx
push eax
call ebx
jmp 0x435fa2
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x74]
push 0x40e610
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x435fc4
mov edx, dword [ebp - 0x74]
push 0x54
push 0x40b030
push edx
push eax
call ebx
mov eax, dword [ebp - 0x74]
push 0x40e670
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
cmp eax, edi
fnclex
jge 0x435fe6
mov edx, dword [ebp - 0x74]
push 0x5c
push 0x40b030
push edx
push eax
call ebx
mov eax, dword [ebp - 0x74]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
cmp eax, edi
fnclex
jge 0x436005
mov edx, dword [ebp - 0x74]
push 0x44
push 0x40b030
push edx
push eax
call ebx
cmp word [ebp + 8], di
mov eax, dword [0x45c040]
je 0x43615c
cmp eax, edi
jne 0x436028
push 0x45c040
push 0x40b880
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45c040]
lea ecx, [ebp - 0x38]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x14]
cmp eax, edi
fnclex
jge 0x436049
push 0x14
push 0x40b870
push esi
push eax
call ebx
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x50]
cmp eax, edi
fnclex
jge 0x436069
push 0x50
push 0x40b890
push esi
push eax
call ebx
cmp dword [0x45c040], edi
jne 0x436081
push 0x45c040
push 0x40b880
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45c040]
lea eax, [ebp - 0x3c]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
cmp eax, edi
fnclex
jge 0x4360a2
push 0x14
push 0x40b870
push esi
push eax
call ebx
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x58]
cmp eax, edi
fnclex
jge 0x4360c2
push 0x58
push 0x40b890
push esi
push eax
call ebx
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x409628
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
push 0x40e690
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x40991c
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
push eax
push 0x40b994
call esi
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40990c
call esi
sub esp, 0x10
mov edx, dword [ebp - 0x74]
mov edi, esp
mov ecx, 8
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
mov esi, dword [edx]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x48]
push edx
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0xc], eax
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4362a8
jmp 0x43629a
cmp eax, edi
jne 0x436170
push 0x45c040
push 0x40b880
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45c040]
lea eax, [ebp - 0x38]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
cmp eax, edi
fnclex
jge 0x436191
push 0x14
push 0x40b870
push esi
push eax
call ebx
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x50]
cmp eax, edi
fnclex
jge 0x4361b1
push 0x50
push 0x40b890
push esi
push eax
call ebx
cmp dword [0x45c040], edi
jne 0x4361c9
push 0x45c040
push 0x40b880
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45c040]
lea ecx, [ebp - 0x3c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x14]
cmp eax, edi
fnclex
jge 0x4361ea
push 0x14
push 0x40b870
push esi
push eax
call ebx
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x58]
cmp eax, edi
fnclex
jge 0x43620a
push 0x58
push 0x40b890
push esi
push eax
call ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push edx
push 0x409628
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
push eax
mov eax, dword [ebp - 0x20]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
push 0x40e690
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x40990c
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
push eax
push 0x40b994
call esi
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call esi
sub esp, 0x10
mov edx, dword [ebp - 0x74]
mov edi, esp
mov ecx, 8
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
mov esi, dword [edx]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x48]
push edx
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0xc], eax
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4362a8
mov ecx, dword [ebp - 0x74]
push 0x30
push 0x40b030
push ecx
push eax
call ebx
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x2c
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x74]
push 0
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push 0x40b030
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x43636e
jmp 0x436354
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x74]
call esi
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret