Function at 0x10749f9
Capabilities:
Get geographical location

Disassembly:
push 0x248
mov eax, 0x10b8e09
call fcn.010aacd7
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.010ab86f
mov dword [ebp - 4], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x23c], 0xc
cmp edi, esi
jne 0x1074a7a
mov esi, 0x80070057
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0x10
cmp ebx, esi
je 0x1074a56
cmp dword [ebp - 0x21c], esi
jl 0x1074e2c
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 0x1074aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1074acf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1074aff
test byte [eax + 0x1c], 4
je 0x1074aff
push dword [ebp - 0x21c]
push 0x1019d30
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
cmp dword [ebp - 0x21c], esi
jl 0x1074e2c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], eax
jl 0x1074e2c
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 0x1074ba9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1074b77
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1074bf1
test byte [eax + 0x1c], 4
je 0x1074bf1
push dword [ebp - 0x21c]
push 0x1019d30
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
jmp 0x1074bec
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 0x1074bd2
sub eax, ecx
sar eax, 1
je 0x1074bec
mov dword [ebp - 0x23c], 0xd
mov eax, dword [section..data]
cmp dword [ebp - 0x21c], ebx
jl 0x1074e2c
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 0x1074cdf
dec ecx
je 0x1074c7b
dec ecx
je 0x1074c6d
dec ecx
je 0x1074c64
dec ecx
je 0x1074c53
cmp eax, section..data
je 0x1074cfd
test byte [eax + 0x1c], 4
je 0x1074cfd
push 0x1019d30
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
jmp 0x1074cf8
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
jmp 0x1074cfd
mov ecx, esi
mov word [ebp - 0x236], cx
mov ecx, esi
mov word [ebp - 0x232], cx
jmp 0x1074cfd
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.01074978
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jl 0x1074e2c
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.010aae90
sub dword [ebp - 0x224], eax
sbb dword [ebp - 0x220], edx
jmp 0x1074cf8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.01074978
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp dword [ebp - 0x21c], ebx
jl 0x1074e2c
mov ecx, dword [ebp + 0xc]
sub ecx, ebx
je 0x1074dca
dec ecx
je 0x1074db4
dec ecx
je 0x1074d61
dec ecx
je 0x1074d54
dec ecx
je 0x1074deb
cmp eax, section..data
je 0x1074deb
test byte [eax + 0x1c], 4
je 0x1074deb
push 0x1019d30
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
jmp 0x1074deb
mov ax, word [ebp + 0x10]
sub word [ebp - 0x238], ax
jmp 0x1074d99
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 0x1074d92
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.01074978
mov dword [ebp - 0x21c], eax
jmp 0x1074deb
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 7
mov eax, 0xc9
push eax
mov eax, 0x2a69c000
push eax
push ebx
push ecx
jmp 0x1074dda
mov eax, 0xc9
push eax
mov eax, 0x2a69c000
push eax
push ebx
push dword [ebp + 0x10]
call fcn.010aae90
sub dword [ebp - 0x224], eax
sbb dword [ebp - 0x220], edx
cmp dword [ebp - 0x21c], ebx
jl 0x1074e2c
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 0x1074e2c
mov dword [ebp - 0x21c], 0x80004005
mov esi, dword [ebp - 0x21c]
jmp 0x1074a61