Function at 0x10088cb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x1026bea
push ebx
lea eax, [esi + 0xb4]
cmp word [eax], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, 0x400
je 0x101b7a1
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x101b7b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1026bf1
push ebx
mov ecx, esi
call fcn.01021f7f
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
cmp eax, ebx
je 0x100894b
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008b18
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sar edi, 1
cmp eax, dword [ebp - 0x18]
jle 0x1008984
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008a3a
mov eax, dword [ebp - 0xc]
add eax, edi
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x101a44e
xor edi, edi
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x10089b8
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
push eax
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov edx, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
sub esi, edx
cmp esi, eax
jge 0x1008a1b
lea ecx, [edx + eax]
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop ebx
pop esi
leave
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10089a2
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x101a464
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.0101a48d
mov eax, dword [ebp - 0xc]
add edi, eax
lea eax, [edi + ebx]
cmp eax, dword [ebp + 0xc]
jl 0x1026bf8
jmp 0x10089a2
push 0x28
push eax
push 0x1003
push ebx
call edi
and word [esi + 0x104], 0
jmp 0x1008909
push 0x28
push eax
push 0x1f
push ebx
call edi
and word [esi + 0x60], 0
jmp 0x1008916
xor eax, eax
jmp 0x1008a30
xor eax, eax
jmp 0x1008a2e
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10089a2
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x10089a2
mov dword [ebp - 0x18], ecx
jmp 0x10089a2