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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00430e70
push ebx
mov ebx, ecx
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx]
push esi
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
xor esi, esi
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x34], eax
call fcn.0042fc88
mov eax, dword [edx + 8]
add dword [ebp - 4], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, dword [ebp - 0xc]
mov edx, dword [0x90fac4]
mov ecx, eax
shl ecx, 4
add ecx, dword [ebp - 0x30]
cmp edx, 0xfa9
jne 0x42fd13
mov dword [0x90751c], 0xedeb2e40
cmp edx, 0x3eb
jne 0x42fd21
mov dword [0x904018], esi
mov edx, dword [ebp - 4]
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, dword [ebp - 0x10]
add eax, dword [ebp - 0x2c]
mov dword [0x907518], 0xf4ea3dee
xor eax, ecx
cmp dword [0x90fac4], 0x516
mov dword [ebp - 8], eax
jne 0x42fe08
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push esi
push esi
push esi
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea eax, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push esi
lea eax, [ebp - 0x1190]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x48]
push eax
push esi
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push esi
push 0x401240
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
lea eax, [ebp - 0x590]
push eax
push 0x401260
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
lea eax, [ebp - 0x990]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 8]
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 4]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
add dword [ebp - 8], eax
mov edi, dword [ebp - 0x1c]
shl edi, 4
add edi, dword [ebp - 0x28]
xor edi, dword [ebp - 0x10]
cmp dword [0x90fac4], 0x121
jne 0x42fe52
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenEventW]
xor edi, dword [ebp - 8]
mov dword [0x467d24], esi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 4], eax
dec dword [ebp - 0x20]
jne 0x42fce5
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret