Function at 0x4bcdc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
xor esi, esi
sub esp, 0x10c
mov eax, dword [ecx + 4]
lea ebx, [eax + 4]
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_trylock
test eax, eax
je 0x4bcdf0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov dword [esp + 8], 7
mov dword [esp + 4], 0
mov dword [esp], str.country
call fcn.004e3f08
sub esp, 0xc
cmp eax, 0xffffffff
je 0x4bd080
lea ecx, [ebp - 0xf8]
mov dword [esp], 0
call fcn.004d9700
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x38]
sub esp, 4
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xc0], 0
mov dword [ebp - 0xc8], eax
call fcn.004c73a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + 4]
call fcn.004c8bb0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
mov eax, dword [eax]
mov edx, dword [edx]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0xfc]
add esi, edx
mov dword [esp], edx
mov dword [esp + 4], esi
call dword [eax + 8]
sub esp, 0x10
test al, al
mov esi, eax
jne 0x4bcef0
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_unlock
xor esi, esi
mov ecx, dword [ebp - 0xfc]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.004c5730
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc0]
cmp eax, edx
je 0x4bced4
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea ecx, [ebp - 0xf8]
call fcn.004da5e0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea ecx, [ebp - 0xf8]
call fcn.004d6bf0
test al, al
jne 0x4bce9f
lea ecx, [ebp - 0xf8]
call fcn.004d5eb0
cmp eax, 7
jne 0x4bce9f
lea ecx, [ebp - 0xf8]
mov dword [esp], 0xc8518f
call fcn.004dc6e0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004db1e0
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d6bf0
test al, al
je 0x4bd0f0
lea ecx, [ebp - 0xf8]
mov dword [esp], str.country
call fcn.004dc6e0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004db240
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d6bf0
test al, al
je 0x4bd090
lea ecx, [ebp - 0xf8]
mov dword [esp], str.country_code
call fcn.004dc6e0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004db240
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d6ea0
test al, al
je 0x4bcfed
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x80]
mov dword [esp], eax
call fcn.004d87d0
lea eax, [ebp - 0x80]
sub esp, 4
lea ecx, [edi + 0x38]
mov dword [esp], eax
call fcn.004e3d28
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x78]
sub esp, 4
cmp eax, edx
je 0x4bcfed
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea ecx, [ebp - 0xf8]
mov dword [esp], str.province
call fcn.004dc6e0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004db240
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d6bf0
test al, al
je 0x4bd1a3
lea ecx, [ebp - 0xf8]
mov dword [esp], str.city
call fcn.004dc6e0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004db240
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d6bf0
test al, al
je 0x4bd150
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_unlock
lea ecx, [ebp - 0xe0]
call fcn.004da5e0
jmp 0x4bcea9
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_unlock
jmp 0x4bcde2
lea ecx, [ebp - 0xe0]
call fcn.004d6ea0
test al, al
je 0x4bcf81
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x98]
mov dword [esp], eax
call fcn.004d87d0
lea eax, [ebp - 0x98]
sub esp, 4
lea ecx, [edi + 0x20]
mov dword [esp], eax
call fcn.004e3d28
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x90]
sub esp, 4
cmp eax, edx
je 0x4bcf81
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bcf81
lea ecx, [ebp - 0xe0]
call fcn.004d6ea0
test al, al
je 0x4bcf48
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
mov dword [esp], eax
call fcn.004d87d0
lea eax, [ebp - 0xb0]
sub esp, 4
lea ecx, [edi + 8]
mov dword [esp], eax
call fcn.004e3d28
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xa8]
sub esp, 4
cmp eax, edx
je 0x4bcf48
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bcf48
lea ecx, [ebp - 0xe0]
call fcn.004d6ea0
test al, al
je 0x4bd05f
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x50]
mov dword [esp], eax
call fcn.004d87d0
lea eax, [ebp - 0x50]
sub esp, 4
lea ecx, [edi + 0x68]
mov dword [esp], eax
call fcn.004e3d28
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
sub esp, 4
cmp eax, edx
je 0x4bd05f
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bd05f
lea ecx, [ebp - 0xe0]
call fcn.004d6ea0
test al, al
je 0x4bd026
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x68]
mov dword [esp], eax
call fcn.004d87d0
lea eax, [ebp - 0x68]
sub esp, 4
lea ecx, [edi + 0x50]
mov dword [esp], eax
call fcn.004e3d28
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x60]
sub esp, 4
cmp eax, edx
je 0x4bd026
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bd026