Function at 0x1052028
Capabilities:
Get geographical location

Disassembly:
push 0x28
mov eax, 0x10711c6
call fcn.0100dba4
mov esi, ecx
push 0x108086c
lea ecx, [ebp - 0x10]
call fcn.0100edf3
xor eax, eax
push eax
push eax
push 0x14b
lea edi, [esi + 0xe4]
push dword [edi]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xb1
lea eax, [ebp - 0x10]
push eax
call fcn.01011b08
test eax, eax
jl 0x1052079
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0102e015
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 2
lea eax, [ebp - 0x1c]
push eax
push 0x100c
mov ebx, 0x400
push ebx
call edi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
and dword [ebp - 0x14], 0
pop ecx
mov dword [esi + 0x280], eax
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 0x14]
push 7
pop ecx
cdq
idiv ecx
push 0
push 0
lea eax, [edx + 0x2a]
push eax
push ebx
mov dword [ebp - 0x24], eax
call edi
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x105210e
push 0x1080960
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100d7ed
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x105210e
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push ebx
call edi
push dword [ebp - 0x18]
lea ecx, [esi + 0xe4]
call fcn.0102e015
lea eax, [ebp - 0x18]
push eax
call fcn.0102860d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jl 0x10520a7
lea ecx, [esi + 0xe4]
call fcn.0103145f
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov ebx, 0x14b
push ebx
push dword [esi + 0x134]
call edi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x2a], ax
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], ax
mov dword [ebp - 0x18], 0x18
push 0x108086c
lea ecx, [ebp - 0x14]
call fcn.0100edf3
push 2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.0101ffb6
push dword [ebp - 0x14]
lea ecx, [esi + 0x134]
call fcn.0102e015
mov ecx, dword [ebp - 0x14]
inc word [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0100e7d0
dec dword [ebp - 0x18]
jne 0x105215d
lea ecx, [esi + 0x134]
call fcn.0103145f
push 0
push 0
push ebx
push dword [esi + 0x184]
call edi
push 0x6a
lea eax, [ebp - 0x10]
push eax
call fcn.01011b08
test eax, eax
jl 0x10521d8
push dword [ebp - 0x10]
lea ecx, [esi + 0x184]
call fcn.0102e015
push 0x69
lea eax, [ebp - 0x10]
push eax
call fcn.01011b08
test eax, eax
jl 0x10521f5
push dword [ebp - 0x10]
lea ecx, [esi + 0x184]
call fcn.0102e015
lea ecx, [esi + 0x184]
call fcn.0103145f
call fcn.0100e44f
mov ecx, eax
call fcn.010145b8
test eax, eax
jne 0x1052279
push eax
push eax
push ebx
add esi, 0x200
push dword [esi]
call edi
push 0x108086c
lea ecx, [ebp - 0x14]
call fcn.0100edf3
push 0x1392
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.01011b08
test eax, eax
jl 0x1052267
xor edi, edi
inc edi
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0101204c
add esp, 0xc
test eax, eax
jl 0x1052261
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0102e015
inc edi
cmp edi, 0xc
jle 0x1052243
mov ecx, esi
call fcn.0103145f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0100e7d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0100e7d0
call fcn.0100dc90
ret