Function at 0x55ed50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xcc
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x55ee60
cmp eax, 1
jne 0x55ee40
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xac]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1f
mov dword [esp], eax
call fcn.00560780
mov eax, dword [ebp - 0xac]
sub esp, 0xc
xor edx, edx
cmp eax, 0x880f80
mov ecx, dword [eax + 4]
je 0x55edad
add eax, dword [eax + 0xc]
mov edx, eax
lea esi, [ebp - 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], esi
call fcn.00560e80
mov dword [esp], esi
mov ecx, ebx
call fcn.005cfa30
mov eax, dword [ebp - 0xa8]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x55efa0
cmp edx, 0xffffffff
je 0x55edf5
lock sub dword [eax], 1
mov eax, dword [ebp - 0xa8]
je 0x55efa0
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
test edx, edx
je 0x55ee12
cmp edx, 0xffffffff
je 0x55ee4d
lock sub dword [eax], 1
mov eax, dword [ebp - 0xac]
jne 0x55ee4d
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [ecx + 8], 0x80000000
mov dword [ecx], 0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x98]
mov dword [esp + 0xc], 0x40
mov dword [esp + 4], 0x20
mov dword [ebp - 0xac], 0x8c0d20
mov dword [esp + 8], edi
mov dword [ebp - 0xa4], 0x40
mov eax, dword [eax]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa8], 0x40
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0xbc], eax
call eax
sub esp, 0x10
test eax, eax
mov esi, dword [ebp - 0xa0]
je 0x55f000
lea eax, [ebp - 0xb0]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.005b01a0
mov esi, dword [ebp - 0xa0]
cmp esi, edi
je 0x55eef0
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
test edx, edx
je 0x55efc0
cmp edx, 0xffffffff
je 0x55ef15
lock sub dword [eax], 1
mov eax, dword [ebp - 0xac]
je 0x55efc0
mov eax, dword [ebp - 0xb0]
xor edx, edx
cmp eax, 0x880f80
mov ecx, dword [eax + 4]
je 0x55ef2c
add eax, dword [eax + 0xc]
mov edx, eax
lea esi, [ebp - 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], esi
call fcn.00560e80
mov dword [esp], esi
mov ecx, ebx
call fcn.005cfa30
mov eax, dword [ebp - 0xa8]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x55efe0
cmp edx, 0xffffffff
je 0x55ef70
lock sub dword [eax], 1
mov eax, dword [ebp - 0xa8]
je 0x55efe0
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
test edx, edx
je 0x55ee12
cmp edx, 0xffffffff
je 0x55ee4d
lock sub dword [eax], 1
mov eax, dword [ebp - 0xb0]
jne 0x55ee4d
jmp 0x55ee12
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55edf5
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55ef15
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55ef70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x55f020
mov dword [ebp - 0xb0], 0x880f80
mov esi, dword [ebp - 0xa0]
jmp 0x55eee4
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
call eax
sub esp, 0x10
test eax, eax
mov dword [ebp - 0xc0], eax
mov esi, dword [ebp - 0xa0]
je 0x55f12a
cmp dword [ebp - 0xa4], eax
mov ecx, eax
cmovle ecx, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc4], ecx
jle 0x55f0ed
cmp eax, 0x40
jg 0x55f139
mov dword [ebp - 0xa0], edi
lea edi, [ebp - 0x98]
mov dword [ebp - 0xa8], 0x40
mov eax, ecx
mov dword [ebp - 0xc8], edi
mov edx, edi
add eax, eax
mov dword [esp + 4], esi
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0xa4], 0
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0xc4]
cmp esi, edi
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
je 0x55f170
cmp eax, esi
je 0x55f0ed
mov dword [esp], esi
call sub.msvcrt.dll_free
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc0]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x20
mov dword [esp + 0xc], eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
call eax
sub esp, 0x10
test eax, eax
mov esi, dword [ebp - 0xa0]
jne 0x55eec4
mov dword [ebp - 0xb0], 0x880f80
jmp 0x55eee4
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0xc8], eax
je 0x55f193
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc4]
jmp 0x55f0a5
mov esi, eax
jmp 0x55f0ed
call fcn.0071fff4
mov eax, dword [ebp - 0xc8]
jmp 0x55f14d