Function at 0x4c5bf3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x774c
call fcn.0059fbd0
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov word [esp + 0x33c], bx
call fcn.00590318
pop ecx
mov edi, eax
lea eax, [esp + 0x130]
push eax
mov esi, SysReAllocString
push str._installer
mov dword [esp + 0x14], esi
call fcn.004a92dd
cmp word [esp + 0x130], bx
je 0x4c5c64
lea eax, [esp + 0x130]
push eax
call fcn.00401ee5
sub edi, eax
lea ecx, [esp + 0x130]
lea eax, [esp + 0x338]
mov dword [esp + 0xc], edi
call fcn.004016d4
lea eax, [esp + 0x3750]
push eax
push 0x5b07d8
push 0x5dbe18
push str.Software
call fcn.00457b24
cmp dword [esp + 0xc], esi
je 0x4c5c9e
push dword [esp + 0xc]
lea eax, [esp + 0x2c]
push str.age_d
push eax
call fcn.00592135
add esp, 0xc
jmp 0x4c5ca2
mov byte [esp + 0x28], bl
lea eax, [esp + 0x338]
push eax
lea eax, [esp + 0x544]
call fcn.00447284
lea eax, [esp + 0x3750]
push eax
mov esi, 0x104
lea edi, [esp + 0x33c]
call fcn.00401584
lea eax, [esp + 0x540]
push eax
lea edi, [esp + 0x134]
call fcn.00401584
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x33c]
push eax
mov eax, edi
push eax
push str.https:__secure.nch.com.au_cgi_bin_getrefdata.exe_softwareSwitchlangKOplatformWindownload_siid_s_s
mov esi, 0x2002
lea edi, [esp + 0x1758]
call fcn.004a901c
add esp, 0x10
push 0x4e20
push 0x1000
lea eax, [esp + 0x750]
push eax
push dword [ebp + 0xc]
mov edx, edi
lea edi, [esp + 0x1c]
call fcn.004c816d
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x4c5d3e
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x4c5e91
lea eax, [esp + 0x748]
call fcn.004c8561
cmp eax, 0xc8
je 0x4c5d5f
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x4c5e91
lea eax, [esp + 0x748]
push str.refdata
lea esi, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], eax
call fcn.00560b94
test al, al
je 0x4c5e0e
mov edi, dword [esp + 0xc]
push 0x26
lea eax, [esp + 0x20]
call fcn.00574cbc
lea eax, [esp + 0x10]
push 0x104
mov esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
call fcn.00434f3d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x4c5dcc
mov eax, 0x5daec0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0056b92b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4c5def
mov ecx, dword [esp + 0x14]
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4c5df4
mov eax, 0x5b07d8
push eax
push str.RefData
push str.Software
call fcn.00457b57
push dword [esp + 0x10]
call fcn.0058f8c9
pop ecx
lea eax, [esp + 0x748]
push str.country
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00560b94
test al, al
je 0x4c5e80
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
push 0x26
call fcn.00574d05
cmp byte [esp + 0x28], bl
je 0x4c5e80
push 0x104
lea eax, [esp + 0x134]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x130]
push eax
push str.InstCountry
push str.Software
mov word [esp + 0x342], bx
call fcn.00457b57
mov esi, dword [ebp + 8]
push dword [esp + 0x1c]
mov dword [esi], ebx
call fcn.0058f8c9
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8