Function at 0x68c7ab
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0068c695
mov ebx, eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0068c695
cmp bx, ax
setne al
movzx eax, al
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x68c84f
mov eax, dword [0x7ccbd8]
test eax, eax
jne 0x68c84f
mov dword [0x7ccbd8], 1
mov dword [esp], str.src_lib_geoip_geoip.c
call fcn.006c14d2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], str.__ASSERT_PREDICT_UNLIKELY__tor_addr_family_low____tor_addr_family_high___
mov dword [esp + 8], str.geoip_add_entry
mov dword [esp + 4], 0x75
mov dword [esp], eax
call fcn.006c12a3
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x68cadb
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.006b3b1a
shr eax, 0x1f
movzx eax, al
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x68c8da
mov eax, dword [0x7ccbdc]
test eax, eax
jne 0x68c8da
mov dword [0x7ccbdc], 1
mov dword [esp], str.src_lib_geoip_geoip.c
call fcn.006c14d2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], str.__ASSERT_PREDICT_UNLIKELY__tor_addr_compare_high__low__CMP_EXACT____0__
mov dword [esp + 8], str.geoip_add_entry
mov dword [esp + 4], 0x77
mov dword [esp], eax
call fcn.006c12a3
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x68cade
mov eax, dword [0x7ccba4]
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006ae15c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x68c97a
mov dword [esp], 3
call fcn.006c514f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 3
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c1a88
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.006c2261
mov eax, dword [0x7ccba0]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c45a9
mov eax, dword [0x7ccba0]
mov eax, dword [eax + 4]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov edx, eax
mov eax, dword [0x7ccba4]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006ae0d4
jmp 0x68c983
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [0x7ccba0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__stricmp]
call eax
test eax, eax
sete al
movzx eax, al
test eax, eax
jne 0x68c9f0
mov dword [esp], str.src_lib_geoip_geoip.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.__stricmp_c__countrycode__country_
mov dword [esp + 8], str.geoip_add_entry
mov dword [esp + 4], 0x88
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0068c695
cmp ax, 2
jne 0x68ca53
mov dword [esp], 0xc
call fcn.006c514f
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0068c655
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0068c655
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, dword [0x7ccba8]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c45a9
jmp 0x68cadf
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0068c695
cmp ax, 0x17
jne 0x68cadf
mov dword [esp], 0x24
call fcn.006c514f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0068c599
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0068c599
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x20], edx
mov eax, dword [0x7ccbac]
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c45a9
jmp 0x68cadf
nop
jmp 0x68cadf
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x68caef
call sub.libssp_0.dll___stack_chk_fail
add esp, 0x64
pop ebx
pop ebp
ret