Function at 0x4bdc90
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 0x4bdcc0
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.004e4dd8
sub esp, 0xc
cmp eax, 0xffffffff
je 0x4bdf50
lea ecx, [ebp - 0xf8]
mov dword [esp], 0
call fcn.004da5d0
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.004c8270
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + 4]
call fcn.004c9a80
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 0x4bddc0
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.004c6600
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc0]
cmp eax, edx
je 0x4bdda4
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea ecx, [ebp - 0xf8]
call fcn.004db4b0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea ecx, [ebp - 0xf8]
call fcn.004d7ac0
test al, al
jne 0x4bdd6f
lea ecx, [ebp - 0xf8]
call fcn.004d6d80
cmp eax, 7
jne 0x4bdd6f
lea ecx, [ebp - 0xf8]
mov dword [esp], 0xc863af
call fcn.004dd5b0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004dc0b0
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d7ac0
test al, al
je 0x4bdfc0
lea ecx, [ebp - 0xf8]
mov dword [esp], str.country
call fcn.004dd5b0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004dc110
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d7ac0
test al, al
je 0x4bdf60
lea ecx, [ebp - 0xf8]
mov dword [esp], str.country_code
call fcn.004dd5b0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004dc110
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d7d70
test al, al
je 0x4bdebd
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x80]
mov dword [esp], eax
call fcn.004d96a0
lea eax, [ebp - 0x80]
sub esp, 4
lea ecx, [edi + 0x38]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x78]
sub esp, 4
cmp eax, edx
je 0x4bdebd
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea ecx, [ebp - 0xf8]
mov dword [esp], str.province
call fcn.004dd5b0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004dc110
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d7ac0
test al, al
je 0x4be073
lea ecx, [ebp - 0xf8]
mov dword [esp], str.city
call fcn.004dd5b0
sub esp, 4
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call fcn.004dc110
lea ecx, [ebp - 0xe0]
sub esp, 4
call fcn.004d7ac0
test al, al
je 0x4be020
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_unlock
lea ecx, [ebp - 0xe0]
call fcn.004db4b0
jmp 0x4bdd79
mov dword [esp], ebx
call sub.libwinpthread_1.dll_pthread_mutex_unlock
jmp 0x4bdcb2
lea ecx, [ebp - 0xe0]
call fcn.004d7d70
test al, al
je 0x4bde51
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x98]
mov dword [esp], eax
call fcn.004d96a0
lea eax, [ebp - 0x98]
sub esp, 4
lea ecx, [edi + 0x20]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x90]
sub esp, 4
cmp eax, edx
je 0x4bde51
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bde51
lea ecx, [ebp - 0xe0]
call fcn.004d7d70
test al, al
je 0x4bde18
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
mov dword [esp], eax
call fcn.004d96a0
lea eax, [ebp - 0xb0]
sub esp, 4
lea ecx, [edi + 8]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xa8]
sub esp, 4
cmp eax, edx
je 0x4bde18
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bde18
lea ecx, [ebp - 0xe0]
call fcn.004d7d70
test al, al
je 0x4bdf2f
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x50]
mov dword [esp], eax
call fcn.004d96a0
lea eax, [ebp - 0x50]
sub esp, 4
lea ecx, [edi + 0x68]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
sub esp, 4
cmp eax, edx
je 0x4bdf2f
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bdf2f
lea ecx, [ebp - 0xe0]
call fcn.004d7d70
test al, al
je 0x4bdef6
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x68]
mov dword [esp], eax
call fcn.004d96a0
lea eax, [ebp - 0x68]
sub esp, 4
lea ecx, [edi + 0x50]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x60]
sub esp, 4
cmp eax, edx
je 0x4bdef6
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4bdef6