Function at 0x8065f0
Capabilities:
Create directory
Get common file path
Get geographical location
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x14f4
call fcn.00409fb0
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x14f0], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [0xbfdda4], 0xc31
jne 0x806649
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x176ee4
jg 0x806668
inc esi
cmp esi, 0x3661b338
jl 0x80661f
jmp 0x80667b
cmp dword [0xbfdda4], 0xa
jne 0x80667b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x806697
mov eax, dword [0x80bffc]
mov dword [0xbfdda8], eax
cmp dword [0xbfdda4], 0x3c
jne 0x8066a3
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x806685
cmp dword [0xbfdda4], 0x7c
jne 0x80675c
push ebx
lea ecx, [esp + 0x4fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
call dword [sym.imp.ole32.dll_CreateDataAdviseHolder]
push ebx
call dword [sym.imp.KERNEL32.dll_DebugSetProcessKillOnExit]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0xcf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push str.vehexu
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea ecx, [esp + 0xf8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0xbfdda4], 0x2d
jne 0x806738
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x808bef
push 0x80cda8
call fcn.0040135c
fldz
fstp qword [esp]
call fcn.00401010
fstp st(0)
push ebx
call fcn.00401217
add esp, 0xc
cmp dword [0xbfdda4], 0x110a
jne 0x8067c1
mov dword [0xbfda18], ebx
mov dword [0xbfda1c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push ebx
push ebx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call fcn.0040112d
push ebx
call fcn.0040116d
add esp, 0xc
push ebx
push ebx
call fcn.0040112d
push ebx
push ebx
call fcn.0040112d
push ebx
call fcn.00401345
add esp, 0x14
push ebx
call fcn.00401419
add esp, 4
call fcn.00805b40
xor esi, esi
cmp dword [0xbfdda4], ebx
jbe 0x80681e
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
jmp 0x8067e0
mov eax, dword [0xbfdda8]
mov dword [esp + 0x14], eax
mov eax, 0xa231
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + esi]
mov eax, dword [0xbfb934]
mov byte [eax + esi], dl
cmp dword [0xbfdda4], 0x5ab
jne 0x806815
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0xbfdda4]
jb 0x8067e0
call fcn.00806430
call fcn.00805b70
call fcn.00806580
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
xor esi, esi
cmp dword [0xbfdda4], 0x41
jne 0x806845
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x806852
call fcn.00805b60
inc esi
cmp esi, 0x15a63d
jl 0x806835
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abd1
jle 0x80687d
cmp ebx, 0xf5bed7
jne 0x806886
inc esi
cmp esi, 0x1ebf3812
jl 0x806867
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov dword [esp + 0x18], 0x1519a5
mov ebx, 0x8e46a6f0
nop
cmp dword [0xbfdda4], 0x3dc
mov dword [0xbfda14], ebx
jne 0x8068cc
push 0
push str.rigokakogogogarulitit
call esi
xor ecx, ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x28], ecx
call edi
dec dword [esp + 0x18]
jne 0x8068a0
mov ecx, dword [esp + 0x14fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret