Function at 0x4069cf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x45a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0xc4]
push section.Shared
call fcn.00406783
cmp dword [ebp - 0xb4], 0
je 0x406a0d
push esi
lea ecx, [ebp - 0xc4]
call fcn.0041ebf9
pop ecx
mov ecx, 0x45e20a
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
lea edx, [ecx + 1]
mov byte [ebp - 0x34], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406a23
sub ecx, edx
push ecx
push 0x45e20a
lea ecx, [ebp - 0x34]
call fcn.0040256f
cmp dword [ebp - 0x24], ebx
je 0x406a6e
push 0xc
push str.country_code
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f19b
lea ecx, [ebp - 0x1c]
call fcn.00402525
push 0x45e426
lea ecx, [ebp - 0xac]
call fcn.00406783
cmp dword [ebp - 0x9c], ebx
je 0x406ab8
push 0xd
push str.installerdata
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f1e0
lea ecx, [ebp - 0x1c]
call fcn.00402525
push 0x45e21c
lea ecx, [ebp - 0x94]
call fcn.00406783
cmp dword [ebp - 0x84], ebx
je 0x406b02
push 0xa
push str.clids_file
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f1e0
lea ecx, [ebp - 0x1c]
call fcn.00402525
push 0x45e630
lea ecx, [ebp - 0x7c]
call fcn.00406783
cmp dword [ebp - 0x6c], ebx
je 0x406b43
push 0xd
push str.brand_package
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f1e0
lea ecx, [ebp - 0x1c]
call fcn.00402525
push 0x45e83a
lea ecx, [ebp - 0x64]
call fcn.00406783
cmp dword [ebp - 0x54], ebx
je 0x406b83
push edi
push str.partner_package
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f1e0
lea ecx, [ebp - 0x1c]
call fcn.00402525
push 0x45ea44
lea ecx, [ebp - 0x4c]
call fcn.00406783
cmp dword [ebp - 0x3c], ebx
je 0x406bc4
push 0x18
push str.override_partner_package
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f1e0
lea ecx, [ebp - 0x1c]
call fcn.00402525
lea ecx, [ebp - 0x4c]
call fcn.00402499
lea ecx, [ebp - 0x64]
call fcn.00402499
lea ecx, [ebp - 0x7c]
call fcn.00402499
lea ecx, [ebp - 0x94]
call fcn.00402499
lea ecx, [ebp - 0xac]
call fcn.00402499
lea ecx, [ebp - 0x34]
call fcn.00402525
lea ecx, [ebp - 0xc4]
call fcn.00402499
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427412
mov esp, ebp
pop ebp
ret