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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4a4004]
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 0x49c270
cmp dword [0x1f7b684], 0xc31
jne 0x49c284
push 0
push 0
push 0
call ebx
push 0
call esi
dec edi
jne 0x49c270
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x49c2a7
mov eax, dword [0x4a7da4]
mov dword [0x1f7b688], eax
cmp dword [0x1f7b684], 0x3c
jne 0x49c2b5
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x49c295
cmp dword [0x1f7b684], 0x7c
jne 0x49c34c
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_AddAtomA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [0x1f7b684], 0x11
jne 0x49c329
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
cmp dword [0x1f7b684], 0x2d
jne 0x49c33a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4a2a66
push 0x4a8f68
call fcn.004011eb
add esp, 8
cmp dword [0x1f7b684], 0x110a
jne 0x49c3e4
mov dword [0x1f7b3c0], ebx
mov dword [0x1f7b3c4], 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 str.Habexovej
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push str.tiniyipokolevuf
push 0x4a2a8c
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 dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
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.0049b760
xor esi, esi
cmp dword [0x1f7b684], ebx
jbe 0x49c440
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
lea esp, [esp]
mov edx, dword [0x1f7b688]
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 [0x1f7b0f0]
mov byte [edx + esi], cl
cmp dword [0x1f7b684], 0x5ab
jne 0x49c437
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x1f7b684]
jb 0x49c400
call fcn.0049c030
call fcn.0049b790
call fcn.0049c1d0
call fcn.0049b780
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 0x49c476
cmp ebx, 0xf5bed7
jne 0x49c47f
inc esi
cmp esi, 0x1ebf3812
jl 0x49c460
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 0x49c4a0
cmp dword [0x1f7b684], 0x3dc
mov dword [0x1f7b0f4], ebx
jne 0x49c4cb
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 0x49c4a0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret