Function at 0x52a580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x774c
call fcn.006ab750
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov word [esp + 0x234], bx
call fcn.0069c84d
add esp, 4
mov esi, eax
lea eax, [esp + 0x28]
push eax
push str._installer
mov edi, SysReAllocStringLen
call fcn.004af660
cmp word [esp + 0x28], bx
je 0x52a5e0
lea eax, [esp + 0x28]
call fcn.004970a0
sub esi, eax
mov edi, esi
lea edx, [esp + 0x28]
lea esi, [esp + 0x230]
call fcn.004ad160
lea ecx, [esp + 0x3750]
push ecx
mov word [esp + 0x3754], bx
call fcn.004c2310
cmp edi, 0x80000000
je 0x52a615
push edi
lea edx, [esp + 0x43c]
push str.age_d
push edx
call fcn.0069d463
add esp, 0xc
jmp 0x52a61c
mov byte [esp + 0x438], bl
lea eax, [esp + 0x540]
lea ecx, [esp + 0x230]
mov dword [esp + 0x10], eax
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x103
call fcn.00480c70
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push 0x104
lea ecx, [esp + 0x23c]
push ecx
push 0xffffffffffffffff
mov word [eax + edx*2], bx
lea edx, [esp + 0x3764]
push edx
push ebx
push 0xfde9
call esi
push ebx
push ebx
push 0x104
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x554]
push ecx
push ebx
push 0xfde9
mov byte [esp + 0x353], bl
call esi
lea edx, [esp + 0x438]
push edx
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.https:__secure.nch.com.au_cgi_bin_getrefdata.exe_softwareDebutlangENplatformWindownload_siid_s_s
mov esi, 0x2002
lea edi, [esp + 0x1758]
mov byte [esp + 0x13b], bl
call fcn.004af0b0
mov eax, dword [ebp + 0xc]
add esp, 0x10
push 0x4e20
push 0x1000
lea edx, [esp + 0x750]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.005420f0
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x52a709
mov eax, dword [ebp + 8]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [esp + 0x748]
call fcn.00542470
cmp eax, 0xc8
je 0x52a72e
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x748]
xor edi, edi
mov eax, str.refdata
lea esi, [esp + 0xc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], edx
call fcn.00558a50
test al, al
je 0x52a7e5
mov eax, dword [esp + 0xc]
push 0x26
push eax
lea eax, [esp + 0x24]
call fcn.0057d4b0
lea ecx, [esp + 0x10]
push 0x104
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
call fcn.00480af0
mov edi, dword [esp + 0x1c]
cmp edi, ebx
mov dword [esp + 0x14], ebx
mov eax, edi
jne 0x52a7a0
mov eax, 0x6bc0ce
push eax
lea edx, [esp + 0x10]
push edx
call fcn.005758e0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52a7c3
mov ecx, dword [esp + 0x14]
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x52a7c8
mov eax, 0x6bc0cc
push eax
push str.RefData
mov eax, str.Software
call fcn.00401870
mov edx, dword [esp + 0x10]
push edx
call fcn.0069c8fa
add esp, 4
lea eax, [esp + 0x748]
mov dword [esp + 0xc], eax
mov eax, str.country
lea esi, [esp + 0xc]
call fcn.00558a50
test al, al
je 0x52a839
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dl, 0x26
call fcn.0057d530
cmp byte [esp + 0x28], bl
je 0x52a839
lea eax, [esp + 0x28]
lea esi, [esp + 0x540]
call fcn.00496ce0
push eax
push str.InstCountry
mov eax, str.Software
call fcn.00401870
mov esi, dword [ebp + 8]
push edi
mov dword [esi], ebx
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8