Function at 0x418f40
Capabilities:
Get common file path
Get geographical location
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x421004]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov edi, 0x3661b338
jmp 0x418f70
cmp dword [0x22c6f8c], 0xc31
jne 0x418f84
push 0
push 0
push 0
call ebx
push 0
call esi
dec edi
jne 0x418f70
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x418fa7
mov eax, dword [0x422cd4]
mov dword [0x22c6f90], eax
cmp dword [0x22c6f8c], 0x3c
jne 0x418fb5
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x418f95
cmp dword [0x22c6f8c], 0x7c
jne 0x41904c
push ebx
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CreateIcon]
push ebx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [0x22c6f8c], 0x11
jne 0x419029
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
cmp dword [0x22c6f8c], 0x2d
jne 0x41903a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x41fa66
push 0x423ea8
call fcn.004011eb
add esp, 8
cmp dword [0x22c6f8c], 0x110a
jne 0x4190d4
mov dword [0x22c6c00], ebx
mov dword [0x22c6c04], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push ebx
push str.tiniyipokolevuf
push 0x41fa78
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
call fcn.00401071
push ebx
call fcn.00401037
add esp, 0xc
push ebx
push ebx
call fcn.00401071
push ebx
push ebx
call fcn.00401071
push ebx
call fcn.004011d4
add esp, 0x14
push ebx
call fcn.0040100f
add esp, 4
push ebx
push ebx
call fcn.00401364
add esp, 8
call fcn.00418460
xor esi, esi
cmp dword [0x22c6f8c], ebx
jbe 0x419130
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
lea esp, [esp]
mov edx, dword [0x22c6f90]
mov dword [esp + 0x10], edx
mov eax, 0xa231
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax + esi]
mov edx, dword [0x22c6930]
mov byte [edx + esi], cl
cmp dword [0x22c6f8c], 0x5ab
jne 0x419127
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x22c6f8c]
jb 0x4190f0
call fcn.00418d30
call fcn.00418490
call fcn.00418ed0
call fcn.00418480
mov ebx, dword [esp + 0x24]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abd1
jle 0x419166
cmp ebx, 0xf5bed7
jne 0x41916f
inc esi
cmp esi, 0x1ebf3812
jl 0x419150
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov dword [esp + 0x14], 0x1519a5
mov ebx, 0x8e46a6f0
jmp 0x419190
cmp dword [0x22c6f8c], 0x3dc
mov dword [0x22c6934], ebx
jne 0x4191bb
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call esi
push 0
push 0
push 0
call edi
dec dword [esp + 0x14]
jne 0x419190
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret