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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x80b004]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov edi, 0x3661b338
jmp 0x8064b0
cmp dword [0x26b0e8c], 0xc31
jne 0x8064d2
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0
call esi
dec edi
jne 0x8064b0
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x8064f5
mov eax, dword [0x80d004]
mov dword [0x26b0e90], eax
cmp dword [0x26b0e8c], 0x3c
jne 0x806503
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x8064e3
cmp dword [0x26b0e8c], 0x7c
jne 0x80659e
push ebx
lea ecx, [esp + 0x10]
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.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 [0x26b0e8c], 0x11
jne 0x80656f
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetBoundsRect]
cmp dword [0x26b0e8c], 0x2d
jne 0x806580
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x809c37
push 0x80dda8
call fcn.004012e1
fldz
fstp qword [esp]
call fcn.00401010
fstp st(0)
add esp, 8
cmp dword [0x26b0e8c], 0x110a
jne 0x806625
mov dword [0x26b0b00], ebx
mov dword [0x26b0b04], 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.cekuduzupuwuhoxixomagahimuvecigicucesuhayoxoyo
push 0x809c68
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.00401167
push ebx
call fcn.0040112d
add esp, 0xc
push ebx
push ebx
call fcn.00401167
push ebx
push ebx
call fcn.00401167
push ebx
call fcn.004012ca
add esp, 0x14
push ebx
call fcn.0040139e
add esp, 4
push ebx
call fcn.00401433
add esp, 4
call fcn.00805990
xor esi, esi
cmp dword [0x26b0e8c], ebx
jbe 0x806680
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
lea ebx, [ebx]
mov edx, dword [0x26b0e90]
mov dword [esp + 0xc], edx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov cl, byte [eax + esi]
mov edx, dword [0x26b0830]
mov byte [edx + esi], cl
cmp dword [0x26b0e8c], 0x5ab
jne 0x806677
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x26b0e8c]
jb 0x806640
call fcn.00806260
call fcn.008059c0
call fcn.00806400
call fcn.008059b0
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abd1
jle 0x8066b6
cmp ebx, 0xf5bed7
jne 0x8066bf
inc esi
cmp esi, 0x1ebf3812
jl 0x8066a0
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, 0x1519a5
mov edi, 0x8e46a6f0
nop
cmp dword [0x26b0e8c], 0x3dc
mov dword [0x26b0834], edi
jne 0x8066fb
xor eax, eax
lea edx, [esp + 0x10]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x20], eax
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
dec ebx
jne 0x8066d0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret