Function at 0x10748a5
Capabilities:
Get geographical location

Disassembly:
push 0x248
mov eax, 0x10b8e59
call fcn.010aac9f
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x21c]
push eax
xor esi, esi
push 0x1019e44
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x21c], esi
call fcn.010ab83f
mov dword [ebp - 4], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x23c], 0xc
cmp edi, esi
jne 0x1074926
mov esi, 0x80070057
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 0x10
cmp ebx, esi
je 0x1074902
cmp dword [ebp - 0x21c], esi
jl 0x1074cd8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 0x228], ax
lea edi, [ebp - 0x226]
stosw word es:[edi], ax
push 2
lea eax, [ebp - 0x228]
push eax
push 0x100c
mov edi, 0x400
push edi
call ebx
cmp eax, esi
jne 0x10749ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x107497b
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x10749ab
test byte [eax + 0x1c], 4
je 0x10749ab
push dword [ebp - 0x21c]
push 0x1019d30
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
cmp dword [ebp - 0x21c], esi
jl 0x1074cd8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], eax
jl 0x1074cd8
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push 0x1009
push edi
call ebx
xor ebx, ebx
cmp eax, ebx
jne 0x1074a55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1074a23
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1074a9d
test byte [eax + 0x1c], 4
je 0x1074a9d
push dword [ebp - 0x21c]
push 0x1019d30
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
jmp 0x1074a98
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push ebx
push esi
lea ecx, [ebp - 0x218]
push ecx
push 0x21
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
lea eax, [ebp - 0x218]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x1074a7e
sub eax, ecx
sar eax, 1
je 0x1074a98
mov dword [ebp - 0x23c], 0xd
mov eax, dword [section..data]
cmp dword [ebp - 0x21c], ebx
jl 0x1074cd8
mov esi, dword [ebp - 0x24c]
mov ecx, dword [ebp + 0xc]
sub ecx, ebx
lea edi, [ebp - 0x238]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
pop esi
je 0x1074b8b
dec ecx
je 0x1074b27
dec ecx
je 0x1074b19
dec ecx
je 0x1074b10
dec ecx
je 0x1074aff
cmp eax, section..data
je 0x1074ba9
test byte [eax + 0x1c], 4
je 0x1074ba9
push 0x1019d30
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
jmp 0x1074ba4
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
jmp 0x1074ba9
mov ecx, esi
mov word [ebp - 0x236], cx
mov ecx, esi
mov word [ebp - 0x232], cx
jmp 0x1074ba9
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.01074824
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jl 0x1074cd8
movzx eax, word [ebp - 0x234]
add eax, 6
push 7
pop ecx
xor edx, edx
div ecx
mov eax, edx
sub eax, dword [ebp - 0x228]
xor edx, edx
add eax, ecx
div ecx
mov ecx, 0xc9
push ecx
mov ecx, 0x2a69c000
push ecx
mov eax, edx
cdq
push edx
push eax
call fcn.010aae60
sub dword [ebp - 0x224], eax
sbb dword [ebp - 0x220], edx
jmp 0x1074ba4
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.01074824
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp dword [ebp - 0x21c], ebx
jl 0x1074cd8
mov ecx, dword [ebp + 0xc]
sub ecx, ebx
je 0x1074c76
dec ecx
je 0x1074c60
dec ecx
je 0x1074c0d
dec ecx
je 0x1074c00
dec ecx
je 0x1074c97
cmp eax, section..data
je 0x1074c97
test byte [eax + 0x1c], 4
je 0x1074c97
push 0x1019d30
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
jmp 0x1074c97
mov ax, word [ebp + 0x10]
sub word [ebp - 0x238], ax
jmp 0x1074c45
mov eax, dword [ebp + 0x10]
xor edx, edx
div dword [ebp - 0x23c]
sub word [ebp - 0x238], ax
movzx eax, word [ebp - 0x236]
sub eax, edx
cmp eax, esi
jge 0x1074c3e
mov ecx, 0xffff
add word [ebp - 0x238], cx
add eax, dword [ebp - 0x23c]
mov word [ebp - 0x236], ax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.01074824
mov dword [ebp - 0x21c], eax
jmp 0x1074c97
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 7
mov eax, 0xc9
push eax
mov eax, 0x2a69c000
push eax
push ebx
push ecx
jmp 0x1074c86
mov eax, 0xc9
push eax
mov eax, 0x2a69c000
push eax
push ebx
push dword [ebp + 0x10]
call fcn.010aae60
sub dword [ebp - 0x224], eax
sbb dword [ebp - 0x220], edx
cmp dword [ebp - 0x21c], ebx
jl 0x1074cd8
mov eax, dword [ebp - 0x224]
push dword [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, ebx
jne 0x1074cd8
mov dword [ebp - 0x21c], 0x80004005
mov esi, dword [ebp - 0x21c]
jmp 0x107490d