Function at 0x10095f6e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x100b7c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
and dword [ebp - 0x2c8], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x2c0], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d8], eax
mov eax, dword [edx + 8]
and dword [esi], ebx
and dword [ecx], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2cc], eax
test edi, edi
je 0x10095fde
cmp dword [ebp + 0xc], ebx
jbe 0x10095fde
xor eax, eax
mov word [edi], ax
push edx
call fcn.10097442
test al, al
je 0x100961bb
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x300]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x300]
push edi
call fcn.10091db4
test al, al
je 0x10096025
push edi
call fcn.10091dda
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10096025
cmp eax, 1
cmovne edi, eax
mov dword [ebp - 0x300], edi
mov esi, dword [ebp - 0x2f4]
push esi
call fcn.10091db4
test al, al
je 0x1009604e
push esi
call fcn.10091dda
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1009604e
cmp eax, 1
cmovne esi, eax
mov dword [ebp - 0x2f4], esi
lea eax, [ebp - 0x300]
push eax
call fcn.10097442
test al, al
je 0x100960b7
mov ecx, dword [ebp - 0x2c0]
imul eax, ecx, 0x14
test byte [eax + 0x100d0b70], 0xa
je 0x100960f6
test dword [ebp + 0x1c], 0x7100
jne 0x100960f6
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.10091db4
test al, al
je 0x100960aa
lea eax, [ebp - 0x300]
push eax
push dword [esi]
call fcn.10097967
test eax, eax
js 0x100969f7
mov edi, dword [ebp - 0x300]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi]
jne 0x100960d4
mov dword [ebp - 0x2f4], edi
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x300]
mov edi, dword [ebp - 0x2d4]
mov dword [ebp - 0x2bc], eax
jmp 0x100961c1
push eax
call fcn.10091db4
test al, al
je 0x100960b7
lea eax, [ebp - 0x2f4]
push eax
push dword [esi + 0xc]
call fcn.10097967
test eax, eax
jns 0x100960b7
jmp 0x100969f7
cmp ecx, 1
jne 0x100969f7
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.10091dda
test eax, eax
je 0x100969f7
mov edi, 0xc00
cmp dword [eax + 8], edi
jne 0x10096170
push 0xaa
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x55
push eax
push edi
call fcn.10098801
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x2d4]
test eax, eax
js 0x10096191
push eax
push edi
push 2
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp - 0x2d0]
mov ebx, eax
mov dword [esi], ebx
mov eax, dword [ebp + 0xc]
jmp 0x10096197
push dword [ebp + 0x1c]
mov edi, dword [ebp - 0x2d4]
push esi
mov esi, dword [ebp - 0x2d0]
push esi
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
call fcn.10097082
mov ebx, eax
jmp 0x1009616b
mov esi, dword [ebp - 0x2d0]
test edi, edi
je 0x100969f7
xor ecx, ecx
cmp cx, word [edi]
jne 0x100969f7
cmp eax, dword [esi]
jbe 0x100969f7
xor ebx, ebx
and dword [esi], ecx
jmp 0x100969f7
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2c4], eax
call fcn.10091dda
mov edx, eax
mov dword [ebp - 0x2e4], edx
test edx, edx
jne 0x100961f2
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], 0x80004005
jmp 0x10096a0c
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc
jg 0x100963e4
je 0x1009633f
sub eax, 0
je 0x10096295
sub eax, 1
je 0x10096274
dec eax
sub eax, 1
je 0x10096295
sub eax, 1
jne 0x100963ff
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x10096265
push 0xaa
push eax
lea eax, [ebp - 0xb0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x55
push eax
push ebx
call fcn.10098801
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0xb0]
push ecx
push eax
jmp 0x100969eb
mov ecx, dword [ebp - 0x2b4]
push ecx
push dword [edx + 4]
jmp 0x100969eb
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c8], str.CultureNameDisplay
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, dword [edx + 4]
jmp 0x100963ac
push dword [ebp - 0x2b8]
call fcn.10092fad
test al, al
jne 0x100969f7
and dword [ebp - 0x2dc], ebx
lea eax, [ebp - 0x2dc]
push eax
xor eax, eax
cmp dword [ebp - 0x2c0], eax
setne al
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.10095cd3
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2b8]
test eax, eax
js 0x100962ec
cmp dword [ebp - 0x2dc], ebx
cmovne ecx, dword [ebp - 0x2dc]
cmp eax, 0x8007000e
je 0x100969f7
mov eax, dword [ebp - 0x2bc]
mov edx, str.CultureNameProof
cmp dword [ebp - 0x2c0], ebx
push ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, str.CultureNameConfig
cmovne eax, edx
mov dword [ebp - 0x2c8], eax
call fcn.10091dda
test eax, eax
jne 0x1009633a
mov eax, dword [ebp - 0x2b4]
mov dword [eax], 0x80004005
jmp 0x10096a0c
mov eax, dword [eax + 4]
jmp 0x100963ac
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], str.ScriptNameDisplay
cmp dword [ebp - 0x2d8], ebx
jne 0x10096382
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2b8]
call fcn.10095d69
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x100969f7
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x1b0]
push 0
push 5
push eax
push dword [ebp - 0x2d8]
call fcn.10095a1c
test eax, eax
je 0x100969f7
lea eax, [ebp - 0x1b0]
mov edx, dword [ebp + 0x1c]
mov ecx, edx
and ecx, 0x7100
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2e8], ecx
je 0x100965fd
xor ecx, ecx
test dword [ecx*8 + 0x100d2620], edx
jne 0x100965d3
inc ecx
cmp ecx, 4
jae 0x100965fd
jmp 0x100963cb
sub eax, 0xd
je 0x1009634e
sub eax, 0x1c
je 0x10096578
sub eax, 1
je 0x10096587
push dword [ebp - 0x2b8]
or dword [ebp - 0x2ec], 0xffffffff
or dword [ebp - 0x2f0], 0xffffffff
or dword [ebp - 0x2e0], 0xffffffff
call fcn.10092f12
test al, al
je 0x1009644a
lea eax, [ebp - 0x2ec]
push eax
push 4
push dword [ebp - 0x2b8]
call fcn.10095cd3
lea eax, [ebp - 0x2f0]
push eax
mov eax, dword [ebp - 0x2bc]
push 5
push dword [eax]
jmp 0x10096468
push dword [ebp - 0x2b8]
call fcn.10091d8e
test al, al
je 0x1009646d
lea eax, [ebp - 0x2e0]
push eax
push 3
push dword [ebp - 0x2b8]
call fcn.10095cd3
imul eax, dword [ebp - 0x2c0], 0x14
mov dword [ebp - 0x2b8], eax
mov eax, dword [eax + 0x100d0b70]
test al, 0x10
je 0x10096500
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2dc], eax
call fcn.10092f12
test al, al
je 0x100964bb
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2ec]
test dword [eax + 0x100d0b70], 0x80000
cmovne ecx, dword [ebp - 0x2f0]
jmp 0x100964db
push dword [ebp - 0x2dc]
call fcn.10091d8e
mov ecx, dword [ebp - 0x2c4]
test al, al
mov eax, dword [ebp - 0x2b8]
cmovne ecx, dword [ebp - 0x2e0]
test dword [eax + 0x100d0b70], 0x80000
mov edx, str.CultureInfoLanguage
mov dword [ebp - 0x2c4], ecx
mov ecx, str.CultureInfoRegion
cmove ecx, edx
mov dword [ebp - 0x2c8], ecx
jmp 0x1009656d
test al, 0x20
je 0x10096567
cmp dword [ebp - 0x2cc], ebx
jne 0x10096532
lea eax, [ebp - 0x2cc]
push eax
mov eax, dword [ebp - 0x2bc]
push 1
push dword [eax]
call fcn.10095b95
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x100969f7
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [0x10108a5c]
add ecx, ecx
push 0
push dword [eax + ecx*8 + 4]
lea eax, [ebp - 0x1b0]
push 0x7f
push eax
call fcn.10098adc
test al, al
je 0x100969f7
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 0x100d0b64]
jmp 0x100963ac
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], str.CalendarNameDisplay
cmp dword [ebp - 0x2cc], ebx
jne 0x100965bd
lea eax, [ebp - 0x2cc]
push eax
push 1
push dword [ebp - 0x2b8]
call fcn.10095b95
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x100969f7
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [0x10108a5c]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x100963ac
push eax
push dword [ecx*8 + 0x100d2624]
lea eax, [ebp - 0x2b0]
push 0x7f
push eax
call fcn.10098b5c
test al, al
je 0x100969f7
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
test edi, edi
je 0x100966c5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100966c5
mov edx, dword [ebp - 0x2c0]
imul eax, edx, 0x14
test dword [eax + 0x100d0b70], 0x2000
je 0x100966bf
test ecx, ecx
js 0x10096665
push 0
push ecx
push edi
push 0
push dword [ebp - 0x2b8]
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.100923c1
test eax, eax
js 0x10096658
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x100969f7
xor ebx, ebx
and dword [esi], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2e8], 0
jne 0x100969f7
cmp edx, 8
jg 0x10096834
je 0x100967fb
mov eax, edx
sub eax, 0
je 0x100967b9
sub eax, 1
je 0x10096789
dec eax
sub eax, 1
je 0x100967b9
dec eax
sub eax, 1
jne 0x10096856
mov eax, dword [ebp - 0x2e4]
push dword [ebp - 0x2b4]
push dword [eax + 4]
push esi
push ecx
jmp 0x100969ef
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x32c]
push ecx
push 0
push eax
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.10005f9e
test eax, eax
js 0x1009665c
mov ecx, dword [ebp - 0x32c]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x10096717
imul eax, dword [ebp - 0x2c0], 0x14
test dword [eax + 0x100d0b70], edx
jne 0x10096717
lea eax, [ebp - 0x32c]
push eax
call fcn.10006000
jmp 0x1009665c
imul eax, dword [ebp - 0x2c0], 0x14
mov eax, dword [eax + 0x100d0b70]
test eax, 0x2000
je 0x1009673f
push dword [ebp - 0x2b4]
push dword [ecx]
push esi
push dword [ebp + 0xc]
push edi
call fcn.10092a18
jmp 0x10096776
test eax, 0x8000
je 0x10096757
push dword [ecx]
push dword [ebp + 0xc]
push edi
call fcn.1009894b
mov ebx, eax
mov dword [esi], ebx
jmp 0x10096778
test edx, eax
je 0x10096778
push dword [ebp - 0x2b4]
push 0
push 0
push ecx
push dword [ebp - 0x328]
push esi
push dword [ebp + 0xc]
push edi
call fcn.10098819
mov ebx, eax
lea eax, [ebp - 0x32c]
push eax
call fcn.10006000
jmp 0x100969f7
mov eax, dword [ebp - 0x2bc]
push dword [eax]
call fcn.10091dda
test eax, eax
je 0x100969f7
push dword [ebp + 0x1c]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
call fcn.10097082
jmp 0x100969f5
lea eax, [ebp - 0x32c]
push eax
push 0
push dword [ebp - 0x2b8]
push str.CultureNameDisplay
push dword [ebp - 0x2c4]
call fcn.10005f9e
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x100969f7
mov eax, dword [ebp - 0x32c]
cmp dword [eax], 0
je 0x10096778
push ecx
push dword [eax]
jmp 0x10096733
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x314]
push eax
call fcn.10098a3c
cmp dword [ebp - 0x310], 0
jbe 0x100969e0
push dword [ebp - 0x2b4]
push dword [ebp - 0x310]
push dword [ebp - 0x314]
jmp 0x100969d0
mov eax, edx
sub eax, 0xb
je 0x1009699f
sub eax, 3
je 0x10096957
sub eax, 4
je 0x10096947
sub eax, 0x72
je 0x100968af
and dword [ebp - 0x2e8], 0
test dword [ebp + 0x1c], 0x7000
jne 0x100969f7
lea eax, [ebp - 0x2e8]
push eax
push edx
push dword [ebp - 0x2bc]
call fcn.100973e0
test al, al
je 0x100969f7
push dword [ebp - 0x2b4]
mov eax, dword [ebp + 0x1c]
or eax, 0x1000
push eax
push dword [ebp - 0x2c0]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
call fcn.10095f6e
jmp 0x100969f5
or dword [ebp - 0x2e0], 0xffffffff
lea eax, [ebp - 0x2e0]
push eax
mov eax, dword [ebp - 0x2bc]
xor ebx, ebx
and dword [esi], ebx
push 5
push dword [eax]
call fcn.10095cd3
mov eax, dword [ebp - 0x2e0]
cmp eax, 0xffffffff
je 0x1009692e
cmp eax, dword [ebp - 0x2c4]
je 0x1009692e
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x310]
push dword [ebp - 0x2b4]
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
push 0x84
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2d4]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x310]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.10095f6e
mov ebx, eax
test ebx, ebx
jne 0x100969f7
cmp dword [esi], 0
jne 0x100969f7
push dword [ebp - 0x2b4]
push str.1111100
jmp 0x100969eb
push dword [ebp - 0x2b4]
push 0x100b5874
jmp 0x100966b8
cmp dword [ebp - 0x2d8], 0
je 0x10096976
push dword [ebp - 0x2b4]
push esi
push ecx
push edi
push dword [ebp - 0x2d8]
call fcn.10095a1c
jmp 0x100969da
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x314]
push eax
call fcn.10098a3c
mov ecx, dword [ebp - 0x30c]
test ecx, ecx
je 0x100969e0
push dword [ebp - 0x2b4]
push 4
jmp 0x100969c6
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x314]
push eax
call fcn.10098a3c
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x100969e0
push dword [ebp - 0x2b4]
push 2
mov eax, dword [ebp - 0x314]
lea eax, [eax + ecx*2]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.10096f92
mov ebx, eax
test ebx, ebx
jne 0x100969f7
push dword [ebp - 0x2b4]
push 0x100b5874
push esi
push dword [ebp + 0xc]
push edi
call fcn.10092a18
mov ebx, eax
mov esi, dword [ebp - 0x2b4]
cmp dword [esi], 0
jl 0x10096a0c
test ebx, ebx
jne 0x10096a0c
mov dword [esi], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001550
mov esp, ebp
pop ebp
ret 0x1c