Function at 0x40d710
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
push ebx
push esi
push edi
push 0xb
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
push str.pa_launcher
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00409400
mov dword [ebp - 4], 0
mov edx, 0x501e48
cmp dword [0x501e5c], 0x10
mov dword [ebp - 0x1c], 0
cmovae edx, dword [0x501e48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [edx], 0
jne 0x40d7a3
xor ecx, ecx
jmp 0x40d7b1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d7a8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409400
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2fc]
push 0x100
push 0
push eax
call fcn.0049edb0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x2fc]
push str._s_s2FEEF8BCB6C34E8097440FDDE8F768CF
push eax
call fcn.0040cf10
add esp, 0x1c
mov dword [ebp - 0x64], 0
cmp byte [ebp - 0x2fc], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
jne 0x40d82b
xor ecx, ecx
jmp 0x40d83d
lea ecx, [ebp - 0x2fc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d834
sub ecx, edx
push ecx
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x74]
call fcn.00409400
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3d4]
push eax
call fcn.00401000
add esp, 4
test eax, eax
jne 0x40d87d
push str.makeBasicJson_init_error
push 3
push 0xd8
call fcn.00423ab0
add esp, 0xc
jmp 0x40e0c5
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x3d4]
push eax
call fcn.00401bd0
add esp, 0xc
test eax, eax
jne 0x40d8b8
push str.makeBasicJson_update_error
push 3
push 0xde
call fcn.00423ab0
add esp, 0xc
jmp 0x40e0c5
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00401750
add esp, 8
test eax, eax
jne 0x40d8eb
push str.makeBasicJson_final_error
push 3
push 0xe4
call fcn.00423ab0
add esp, 0xc
jmp 0x40e0c5
push 0x4d3608
lea ecx, [ebp - 0x8c]
call fcn.004037e0
mov byte [ebp - 4], 3
xor esi, esi
movzx eax, byte [ebp + esi - 0xfc]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push str._02X
push eax
call fcn.0040cf10
add esp, 0xc
cmp byte [ebp - 0x10], 0
jne 0x40d92c
xor ecx, ecx
jmp 0x40d93b
lea ecx, [ebp - 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d932
sub ecx, edx
push ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004090d0
inc esi
cmp esi, 0x40
jl 0x40d901
mov edi, str.persproduct
inc edi
cmp byte [edi], 0
jne 0x40d956
mov esi, dword [ebp + 8]
mov ecx, esi
push 5
call fcn.0040d250
sub edi, str.persproduct
mov ecx, esi
push edi
push str.persproduct
call fcn.0040d3b0
cmp dword [ebp - 0x30], 0x10
lea ebx, [ebp - 0x44]
cmovae ebx, dword [ebp - 0x44]
mov edi, ebx
cmp byte [ebx], 0
je 0x40d996
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x40d990
push 5
mov ecx, esi
call fcn.0040d250
sub edi, ebx
mov ecx, esi
push edi
push ebx
call fcn.0040d3b0
mov edi, str.persbranch
nop
inc edi
cmp byte [edi], 0
jne 0x40d9b0
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.persbranch
mov ecx, esi
push edi
push str.persbranch
call fcn.0040d3b0
cmp dword [ebp - 0x18], 0x10
lea ebx, [ebp - 0x2c]
cmovae ebx, dword [ebp - 0x2c]
mov edi, ebx
cmp byte [ebx], 0
je 0x40d9ea
inc edi
cmp byte [edi], 0
jne 0x40d9e4
push 5
mov ecx, esi
call fcn.0040d250
sub edi, ebx
mov ecx, esi
push edi
push ebx
call fcn.0040d3b0
mov edi, str.perssign
inc edi
cmp byte [edi], 0
jne 0x40da03
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.perssign
mov ecx, esi
push edi
push str.perssign
call fcn.0040d3b0
cmp dword [ebp - 0x78], 0x10
lea ebx, [ebp - 0x8c]
cmovae ebx, dword [ebp - 0x8c]
mov edi, ebx
cmp byte [ebx], 0
je 0x40da46
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x40da40
push 5
mov ecx, esi
call fcn.0040d250
sub edi, ebx
mov ecx, esi
push edi
push ebx
call fcn.0040d3b0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xa8], 0x100
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa4]
push eax
call fcn.0040d160
add esp, 4
mov byte [ebp - 4], 6
mov edi, str.Status
inc edi
cmp byte [edi], 0
jne 0x40da94
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.Status
mov ecx, esi
push edi
push str.Status
call fcn.0040d3b0
mov ebx, dword [ebp + 0xc]
mov edi, ebx
cmp byte [ebx], 0
je 0x40dac6
inc edi
cmp byte [edi], 0
jne 0x40dac0
push 5
mov ecx, esi
call fcn.0040d250
sub edi, ebx
mov ecx, esi
push edi
push ebx
call fcn.0040d3b0
mov edi, str.StatusID
nop
inc edi
cmp byte [edi], 0
jne 0x40dae0
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.StatusID
mov ecx, esi
push edi
push str.StatusID
call fcn.0040d3b0
push 6
mov ecx, esi
call fcn.0040d250
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
add eax, 0xb
cmp eax, dword [edi + 0x10]
jbe 0x40db21
push 0xb
mov ecx, edi
call fcn.0040cf80
mov ebx, dword [edi + 0xc]
mov ecx, ebx
lea eax, [ebx + 0xb]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jns 0x40db3c
not eax
mov byte [ebx], 0x2d
lea ecx, [ebx + 1]
inc eax
push ecx
push eax
call fcn.0040ecd0
mov ecx, dword [esi]
sub eax, ebx
sub eax, 0xb
add esp, 8
mov edi, str.PreStatusID
add dword [ecx + 0xc], eax
inc edi
cmp byte [edi], 0
jne 0x40db55
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.PreStatusID
mov ecx, esi
push edi
push str.PreStatusID
call fcn.0040d3b0
mov ebx, dword [ebp + 0x14]
mov edi, ebx
cmp byte [ebx], 0
je 0x40db87
inc edi
cmp byte [edi], 0
jne 0x40db81
push 5
mov ecx, esi
call fcn.0040d250
sub edi, ebx
mov ecx, esi
push edi
push ebx
call fcn.0040d3b0
mov edi, str.CPUID
inc edi
cmp byte [edi], 0
jne 0x40dba0
push 5
mov ecx, esi
call fcn.0040d250
sub edi, str.CPUID
mov ecx, esi
push edi
push str.CPUID
call fcn.0040d3b0
push 0x104
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.0049edb0
lea eax, [ebp - 0x4d8]
push 0x104
push eax
call fcn.0040d520
mov edi, eax
mov ebx, edx
call fcn.0040d4d0
push 0x100
mov dword [ebp - 0x14], eax
mov esi, edx
lea eax, [ebp - 0x1fc]
push 0
push eax
call fcn.0049edb0
mov eax, dword [ebp - 0x14]
add eax, edi
adc esi, ebx
push esi
push eax
lea eax, [ebp - 0x1fc]
push str._llu
push eax
call fcn.0040cf10
add esp, 0x30
lea esi, [ebp - 0x1fc]
cmp byte [ebp - 0x1fc], 0
je 0x40dc39
inc esi
cmp byte [esi], 0
jne 0x40dc33
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 5
call fcn.0040d250
lea eax, [ebp - 0x1fc]
mov ecx, ebx
sub esi, eax
push esi
push eax
call fcn.0040d3b0
mov esi, str.Time
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x40dc60
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Time
mov ecx, ebx
push esi
push str.Time
call fcn.0040d3b0
cmp dword [ebp - 0x90], 0x10
lea edi, [ebp - 0xa4]
cmovae edi, dword [ebp - 0xa4]
mov esi, edi
cmp byte [edi], 0
je 0x40dca6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40dca0
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
mov esi, 0x4d490c
nop
inc esi
cmp byte [esi], 0
jne 0x40dcc0
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, 0x4d490c
mov ecx, ebx
push esi
push 0x4d490c
call fcn.0040d3b0
cmp dword [0x501dfc], 0x10
mov edi, 0x501de8
cmovae edi, dword [0x501de8]
mov esi, edi
cmp byte [edi], 0
je 0x40dd06
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40dd00
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
mov esi, str.Language
nop
inc esi
cmp byte [esi], 0
jne 0x40dd20
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Language
mov ecx, ebx
push esi
push str.Language
call fcn.0040d3b0
cmp dword [0x501e14], 0x10
mov edi, 0x501e00
cmovae edi, dword [0x501e00]
mov esi, edi
cmp byte [edi], 0
je 0x40dd66
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40dd60
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
mov esi, str.Country
nop
inc esi
cmp byte [esi], 0
jne 0x40dd80
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Country
mov ecx, ebx
push esi
push str.Country
call fcn.0040d3b0
cmp dword [0x501e2c], 0x10
mov edi, 0x501e18
cmovae edi, dword [0x501e18]
mov esi, edi
cmp byte [edi], 0
je 0x40ddc6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40ddc0
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
mov esi, str.Title
nop
inc esi
cmp byte [esi], 0
jne 0x40dde0
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Title
mov ecx, ebx
push esi
push str.Title
call fcn.0040d3b0
cmp dword [0x501e44], 0x10
mov edi, 0x501e30
cmovae edi, dword [0x501e30]
mov esi, edi
cmp byte [edi], 0
je 0x40de26
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40de20
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
mov esi, str.Service
nop
inc esi
cmp byte [esi], 0
jne 0x40de40
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Service
mov ecx, ebx
push esi
push str.Service
call fcn.0040d3b0
cmp dword [0x501e5c], 0x10
mov edi, 0x501e48
cmovae edi, dword [0x501e48]
mov esi, edi
cmp byte [edi], 0
je 0x40de86
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x40de80
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
push 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push 0x4d3608
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00409400
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
cmp byte [0x501dd8], 1
jne 0x40dee2
push 2
push 0x4d4934
jmp 0x40dee9
push 3
push 0x4d4938
call fcn.00409400
mov esi, str.IsFamily
inc esi
cmp byte [esi], 0
jne 0x40def3
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.IsFamily
mov ecx, ebx
push esi
push str.IsFamily
call fcn.0040d3b0
cmp dword [ebp - 0x48], 0x10
lea edi, [ebp - 0x5c]
cmovae edi, dword [ebp - 0x5c]
mov esi, edi
cmp byte [edi], 0
je 0x40df2d
inc esi
cmp byte [esi], 0
jne 0x40df27
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, edi
mov ecx, ebx
push esi
push edi
call fcn.0040d3b0
call fcn.00414240
mov ecx, eax
call fcn.00419370
cmp al, 1
jne 0x40e012
mov esi, str.Special
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x40df60
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Special
mov ecx, ebx
push esi
push str.Special
call fcn.0040d3b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4d4950
call fcn.004037e0
mov byte [ebp - 4], 8
call fcn.00414240
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004143c0
cmp al, 1
jne 0x40dfd5
mov esi, str.Geforce_Now
inc esi
cmp byte [esi], 0
jne 0x40dfb1
push 5
mov ecx, ebx
call fcn.0040d250
sub esi, str.Geforce_Now
mov ecx, ebx
push esi
push str.Geforce_Now
call fcn.0040d3b0
jmp 0x40e012
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.EndGame
call fcn.004037e0
mov byte [ebp - 4], 9
call fcn.00414240
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004143c0
mov ecx, ebx
cmp al, 1
jne 0x40e008
push str.EndGame
jmp 0x40e00d
push 0x4d3608
call fcn.0040d370
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x40e02b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409cd0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x40e05f
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00409cd0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 3
push 0
call fcn.004a315b
push 1
push 0
call fcn.00424042
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x40e0b0
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00409cd0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x40e113
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x1000
jb 0x40e10a
test cl, 0x1f
je 0x40e0e6
call fcn.004a3100
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40e0f2
call fcn.004a3100
sub ecx, eax
cmp ecx, 4
jae 0x40e0fe
call fcn.004a3100
cmp ecx, 0x23
jbe 0x40e108
call fcn.004a3100
mov ecx, eax
push ecx
call fcn.0042400a
add esp, 4
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40e173
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x40e16a
test cl, 0x1f
je 0x40e146
call fcn.004a3100
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40e152
call fcn.004a3100
sub ecx, eax
cmp ecx, 4
jae 0x40e15e
call fcn.004a3100
cmp ecx, 0x23
jbe 0x40e168
call fcn.004a3100
mov ecx, eax
push ecx
call fcn.0042400a
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40e1d6
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x1000
jb 0x40e1cd
test cl, 0x1f
je 0x40e1a9
call fcn.004a3100
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40e1b5
call fcn.004a3100
sub ecx, eax
cmp ecx, 4
jae 0x40e1c1
call fcn.004a3100
cmp ecx, 0x23
jbe 0x40e1cb
call fcn.004a3100
mov ecx, eax
push ecx
call fcn.0042400a
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret