Function at 0x100958e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x100b7bfc]
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 0x10095954
cmp dword [ebp + 0xc], ebx
jbe 0x10095954
xor eax, eax
mov word [edi], ax
push edx
call fcn.10096d57
test al, al
je 0x10095b31
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x2fc]
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 - 0x2fc]
push edi
call fcn.100919a2
test al, al
je 0x1009599b
push edi
call fcn.100919c8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1009599b
cmp eax, 1
cmovne edi, eax
mov dword [ebp - 0x2fc], edi
mov esi, dword [ebp - 0x2f0]
push esi
call fcn.100919a2
test al, al
je 0x100959c4
push esi
call fcn.100919c8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100959c4
cmp eax, 1
cmovne esi, eax
mov dword [ebp - 0x2f0], esi
lea eax, [ebp - 0x2fc]
push eax
call fcn.10096d57
test al, al
je 0x10095a2d
mov ecx, dword [ebp - 0x2c0]
imul eax, ecx, 0x14
test byte [eax + 0x100d0ad0], 0xa
je 0x10095a6c
test dword [ebp + 0x1c], 0x7100
jne 0x10095a6c
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.100919a2
test al, al
je 0x10095a20
lea eax, [ebp - 0x2fc]
push eax
push dword [esi]
call fcn.1009727c
test eax, eax
js 0x10096314
mov edi, dword [ebp - 0x2fc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi]
jne 0x10095a4a
mov dword [ebp - 0x2f0], edi
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x2fc]
mov edi, dword [ebp - 0x2d4]
mov dword [ebp - 0x2bc], eax
jmp 0x10095b37
push eax
call fcn.100919a2
test al, al
je 0x10095a2d
lea eax, [ebp - 0x2f0]
push eax
push dword [esi + 0xc]
call fcn.1009727c
test eax, eax
jns 0x10095a2d
jmp 0x10096314
cmp ecx, 1
jne 0x10096314
mov esi, dword [ebp - 0x2bc]
push dword [esi]
call fcn.100919c8
test eax, eax
je 0x10096314
mov edi, 0xc00
cmp dword [eax + 8], edi
jne 0x10095ae6
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.10098116
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x2d4]
test eax, eax
js 0x10095b07
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 0x10095b0d
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.1009699f
mov ebx, eax
jmp 0x10095ae1
mov esi, dword [ebp - 0x2d0]
test edi, edi
je 0x10096314
xor ecx, ecx
cmp cx, word [edi]
jne 0x10096314
cmp eax, dword [esi]
jbe 0x10096314
xor ebx, ebx
and dword [esi], ecx
jmp 0x10096314
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2c4], eax
call fcn.100919c8
mov edx, eax
mov dword [ebp - 0x2e4], edx
test edx, edx
jne 0x10095b68
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], 0x80004005
jmp 0x10096329
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc
jg 0x10095d5a
je 0x10095cb5
sub eax, 0
je 0x10095c0b
sub eax, 1
je 0x10095bea
dec eax
sub eax, 1
je 0x10095c0b
sub eax, 1
jne 0x10095d75
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x10095bdb
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.10098116
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0xb0]
push ecx
push eax
jmp 0x10096308
mov ecx, dword [ebp - 0x2b4]
push ecx
push dword [edx + 4]
jmp 0x10096308
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 0x10095d22
push dword [ebp - 0x2b8]
call fcn.10092947
test al, al
jne 0x10096314
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.10095649
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2b8]
test eax, eax
js 0x10095c62
cmp dword [ebp - 0x2dc], ebx
cmovne ecx, dword [ebp - 0x2dc]
cmp eax, 0x8007000e
je 0x10096314
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.100919c8
test eax, eax
jne 0x10095cb0
mov eax, dword [ebp - 0x2b4]
mov dword [eax], 0x80004005
jmp 0x10096329
mov eax, dword [eax + 4]
jmp 0x10095d22
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 0x10095cf8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2b8]
call fcn.100956df
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x10096314
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x1b0]
push 0
push 5
push eax
push dword [ebp - 0x2d8]
call fcn.10095392
test eax, eax
je 0x10096314
lea eax, [ebp - 0x1b0]
mov edx, dword [ebp + 0x1c]
mov ecx, edx
and ecx, 0x7100
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x314], ecx
je 0x10095f73
xor ecx, ecx
test dword [ecx*8 + 0x100d2580], edx
jne 0x10095f49
inc ecx
cmp ecx, 4
jae 0x10095f73
jmp 0x10095d41
sub eax, 0xd
je 0x10095cc4
sub eax, 0x1c
je 0x10095eee
sub eax, 1
je 0x10095efd
push dword [ebp - 0x2b8]
or dword [ebp - 0x2e8], 0xffffffff
or dword [ebp - 0x2ec], 0xffffffff
or dword [ebp - 0x2e0], 0xffffffff
call fcn.100928ac
test al, al
je 0x10095dc0
lea eax, [ebp - 0x2e8]
push eax
push 4
push dword [ebp - 0x2b8]
call fcn.10095649
lea eax, [ebp - 0x2ec]
push eax
mov eax, dword [ebp - 0x2bc]
push 5
push dword [eax]
jmp 0x10095dde
push dword [ebp - 0x2b8]
call fcn.1009197c
test al, al
je 0x10095de3
lea eax, [ebp - 0x2e0]
push eax
push 3
push dword [ebp - 0x2b8]
call fcn.10095649
imul eax, dword [ebp - 0x2c0], 0x14
mov dword [ebp - 0x2b8], eax
mov eax, dword [eax + 0x100d0ad0]
test al, 0x10
je 0x10095e76
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x2dc], eax
call fcn.100928ac
test al, al
je 0x10095e31
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2e8]
test dword [eax + 0x100d0ad0], 0x80000
cmovne ecx, dword [ebp - 0x2ec]
jmp 0x10095e51
push dword [ebp - 0x2dc]
call fcn.1009197c
mov ecx, dword [ebp - 0x2c4]
test al, al
mov eax, dword [ebp - 0x2b8]
cmovne ecx, dword [ebp - 0x2e0]
test dword [eax + 0x100d0ad0], 0x80000
mov edx, str.CultureInfoLanguage
mov dword [ebp - 0x2c4], ecx
mov ecx, str.CultureInfoRegion
cmove ecx, edx
mov dword [ebp - 0x2c8], ecx
jmp 0x10095ee3
test al, 0x20
je 0x10095edd
cmp dword [ebp - 0x2cc], ebx
jne 0x10095ea8
lea eax, [ebp - 0x2cc]
push eax
mov eax, dword [ebp - 0x2bc]
push 1
push dword [eax]
call fcn.1009550b
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x10096314
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [0x10108a38]
add ecx, ecx
push 0
push dword [eax + ecx*8 + 4]
lea eax, [ebp - 0x1b0]
push 0x7f
push eax
call fcn.100983f1
test al, al
je 0x10096314
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 0x100d0ac4]
jmp 0x10095d22
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 0x10095f33
lea eax, [ebp - 0x2cc]
push eax
push 1
push dword [ebp - 0x2b8]
call fcn.1009550b
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x10096314
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [0x10108a38]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x10095d22
push eax
push dword [ecx*8 + 0x100d2584]
lea eax, [ebp - 0x2b0]
push 0x7f
push eax
call fcn.10098471
test al, al
je 0x10096314
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
test edi, edi
je 0x10096039
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10096039
mov edx, dword [ebp - 0x2c0]
imul eax, edx, 0x14
test dword [eax + 0x100d0ad0], 0x2000
je 0x10096033
test ecx, ecx
js 0x10095fdb
push 0
push ecx
push edi
push 0
push dword [ebp - 0x2b8]
push dword [ebp - 0x2c8]
push dword [ebp - 0x2c4]
call fcn.10091d83
test eax, eax
js 0x10095fce
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x10096314
xor ebx, ebx
and dword [esi], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c0]
cmp dword [ebp - 0x314], 0
jne 0x10096314
cmp edx, 8
jg 0x100961a8
je 0x1009616f
sub edx, 0
je 0x1009612d
sub edx, 1
je 0x100960fd
dec edx
sub edx, 1
je 0x1009612d
dec edx
sub edx, 1
jne 0x10096314
mov eax, dword [ebp - 0x2e4]
push dword [ebp - 0x2b4]
push dword [eax + 4]
push esi
push ecx
jmp 0x1009630c
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.10005f90
test eax, eax
js 0x10095fd2
mov ecx, dword [ebp - 0x32c]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x1009608b
imul eax, dword [ebp - 0x2c0], 0x14
test dword [eax + 0x100d0ad0], edx
jne 0x1009608b
lea eax, [ebp - 0x32c]
push eax
call fcn.10005ff2
jmp 0x10095fd2
imul eax, dword [ebp - 0x2c0], 0x14
mov eax, dword [eax + 0x100d0ad0]
test eax, 0x2000
je 0x100960b3
push dword [ebp - 0x2b4]
push dword [ecx]
push esi
push dword [ebp + 0xc]
push edi
call fcn.100923b2
jmp 0x100960ea
test eax, 0x8000
je 0x100960cb
push dword [ecx]
push dword [ebp + 0xc]
push edi
call fcn.10098260
mov ebx, eax
mov dword [esi], ebx
jmp 0x100960ec
test edx, eax
je 0x100960ec
push dword [ebp - 0x2b4]
push 0
push 0
push ecx
push dword [ebp - 0x328]
push esi
push dword [ebp + 0xc]
push edi
call fcn.1009812e
mov ebx, eax
lea eax, [ebp - 0x32c]
push eax
call fcn.10005ff2
jmp 0x10096314
mov eax, dword [ebp - 0x2bc]
push dword [eax]
call fcn.100919c8
test eax, eax
je 0x10096314
push dword [ebp + 0x1c]
push dword [ebp - 0x2bc]
push esi
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
call fcn.1009699f
jmp 0x10096312
lea eax, [ebp - 0x32c]
push eax
push 0
push dword [ebp - 0x2b8]
push str.CultureNameDisplay
push dword [ebp - 0x2c4]
call fcn.10005f90
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx], eax
test eax, eax
js 0x10096314
mov eax, dword [ebp - 0x32c]
cmp dword [eax], 0
je 0x100960ec
push ecx
push dword [eax]
jmp 0x100960a7
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x310]
push eax
call fcn.10098351
cmp dword [ebp - 0x30c], 0
jbe 0x100962fd
push dword [ebp - 0x2b4]
push dword [ebp - 0x30c]
push dword [ebp - 0x310]
jmp 0x100962ed
sub edx, 0xb
je 0x100962bc
sub edx, 3
je 0x10096274
sub edx, 4
je 0x10096264
sub edx, 0x72
jne 0x10096314
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.10095649
mov eax, dword [ebp - 0x2e0]
cmp eax, 0xffffffff
je 0x1009624b
cmp eax, dword [ebp - 0x2c4]
je 0x1009624b
mov esi, dword [ebp - 0x2bc]
lea edi, [ebp - 0x30c]
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 - 0x30c], eax
lea eax, [ebp - 0x30c]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.100958e4
mov ebx, eax
test ebx, ebx
jne 0x10096314
cmp dword [esi], 0
jne 0x10096314
push dword [ebp - 0x2b4]
push str.1111100
jmp 0x10096308
push dword [ebp - 0x2b4]
push 0x100b56f8
jmp 0x1009602c
cmp dword [ebp - 0x2d8], 0
je 0x10096293
push dword [ebp - 0x2b4]
push esi
push ecx
push edi
push dword [ebp - 0x2d8]
call fcn.10095392
jmp 0x100962f7
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x310]
push eax
call fcn.10098351
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x100962fd
push dword [ebp - 0x2b4]
push 4
jmp 0x100962e3
mov eax, dword [ebp - 0x2e4]
push dword [eax + 4]
lea eax, [ebp - 0x310]
push eax
call fcn.10098351
mov ecx, dword [ebp - 0x304]
test ecx, ecx
je 0x100962fd
push dword [ebp - 0x2b4]
push 2
mov eax, dword [ebp - 0x310]
lea eax, [eax + ecx*2]
push eax
push esi
push dword [ebp + 0xc]
push edi
call fcn.100968af
mov ebx, eax
test ebx, ebx
jne 0x10096314
push dword [ebp - 0x2b4]
push 0x100b56f8
push esi
push dword [ebp + 0xc]
push edi
call fcn.100923b2
mov ebx, eax
mov esi, dword [ebp - 0x2b4]
cmp dword [esi], 0
jl 0x10096329
test ebx, ebx
jne 0x10096329
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