Function at 0x41305a
Capabilities:
Create process on windows
Create thread
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4011e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], sym.imp.MSVBVM60.DLL___vbaStrFixstr
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], esi
call edi
mov ecx, dword [ebp + 0xc]
mov edx, 0x401b20
call edi
mov ecx, dword [ebp + 0x10]
mov edx, 0x401b20
call edi
mov ecx, dword [ebp + 0x14]
mov edx, 0x401b20
call edi
mov ecx, dword [ebp + 0x18]
mov edx, 0x401b20
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, 0x401b20
call edi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
push 0x401b20
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4134be
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x54], 0x401b28
mov dword [ebp - 0x5c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x3c]
push 2
push edx
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL__adj_fptan]
lea edx, [ebp - 0x4c]
push edx
push 0x2008
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL__adj_fdiv_m32]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push edx
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitNamedPipeA]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 1
jl 0x4134be
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x4131b8
cmp word [ecx], 1
jne 0x4131b8
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
neg eax
cmp eax, edx
mov dword [ebp - 0x64], eax
jb 0x4131b3
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
shl eax, 2
jmp 0x4131c1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ecx, dword [ebp + 0xc]
mov edx, eax
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x41321e
cmp word [ecx], 1
jne 0x41321e
mov edx, dword [ecx + 0x14]
mov eax, 1
sub eax, edx
mov edx, dword [ecx + 0x10]
cmp eax, edx
mov dword [ebp - 0x64], eax
jb 0x413219
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
shl eax, 2
jmp 0x413227
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
mov edx, dword [eax]
call edi
mov ecx, dword [ebp - 0x68]
push ecx
push 0x401a24
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x413483
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x54], 0x401b30
mov dword [ebp - 0x5c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov eax, dword [ebp - 0x24]
push esi
lea edx, [ebp - 0x3c]
push 0xffffffffffffffff
push edx
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL__adj_fptan]
lea edx, [ebp - 0x4c]
push edx
push 0x2008
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL__adj_fdiv_m32]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push edx
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitNamedPipeA]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, dword [ebp - 0x1c]
cmp eax, 1
jge 0x413331
cmp ecx, esi
je 0x4132fa
cmp word [ecx], 1
jne 0x4132fa
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4132f1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
lea eax, [esi*4]
jmp 0x413303
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov esi, dword [ebp + 0x10]
mov edx, eax
mov ecx, esi
call ebx
mov edx, dword [esi]
mov ecx, dword [ebp + 0x18]
call edi
mov edx, dword [esi]
mov ecx, dword [ebp + 0x1c]
call edi
push 0x402656
jmp 0x4134e9
cmp ecx, esi
je 0x413359
cmp word [ecx], 1
jne 0x413359
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x413350
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
lea eax, [esi*4]
jmp 0x413362
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
mov eax, dword [ebp - 0x20]
push 7
push eax
call dword [sym.imp.MSVBVM60.DLL_Zombie_GetTypeInfo]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov edx, eax
lea ecx, [ebp - 0x2c]
call ebx
push eax
push 0x401b38
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, eax
lea ecx, [ebp - 0x2c]
neg esi
sbb esi, esi
lea edx, [ebp - 0x28]
push ecx
inc esi
push edx
push 2
neg esi
call dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseBstr]
add esp, 0xc
test si, si
je 0x413474
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.DLL_CreateProcessAsUserA]
mov ecx, dword [ebp - 0x20]
sub eax, 7
jo 0x413523
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov ecx, dword [ebp + 0x10]
mov edx, eax
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x413434
cmp word [ecx], 1
jne 0x413434
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, 1
sub esi, edx
cmp esi, eax
jb 0x41342b
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
lea eax, [esi*4]
jmp 0x41343d
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
call edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, 0x401b20
call edi
push 0x402656
jmp 0x4134e9
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
call edi
push 0x402656
jmp 0x4134e9
mov edx, dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
push edx
push 0x401a7c
call esi
test eax, eax
je 0x4134b6
mov eax, dword [ebp - 0x68]
push eax
push 0x401ab8
call esi
test eax, eax
je 0x4134b6
mov ecx, dword [ebp - 0x68]
push ecx
push 0x401aec
call esi
test eax, eax
jne 0x4134be
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
call edi
push 0x402656
jmp 0x4134e9
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x68]
call esi
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_RtlZeroMemory]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL__adj_fdiv_m64]
nop