Function at 0x55f1e0
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 0x55f2f0
cmp eax, 1
jne 0x55f2d0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xac]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x79
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 0x55f23d
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 0x55f430
cmp edx, 0xffffffff
je 0x55f285
lock sub dword [eax], 1
mov eax, dword [ebp - 0xa8]
je 0x55f430
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
test edx, edx
je 0x55f2a2
cmp edx, 0xffffffff
je 0x55f2dd
lock sub dword [eax], 1
mov eax, dword [ebp - 0xac]
jne 0x55f2dd
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], 0x1003
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 0x55f490
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 0x55f380
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
test edx, edx
je 0x55f450
cmp edx, 0xffffffff
je 0x55f3a5
lock sub dword [eax], 1
mov eax, dword [ebp - 0xac]
je 0x55f450
mov eax, dword [ebp - 0xb0]
xor edx, edx
cmp eax, 0x880f80
mov ecx, dword [eax + 4]
je 0x55f3bc
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 0x55f470
cmp edx, 0xffffffff
je 0x55f400
lock sub dword [eax], 1
mov eax, dword [ebp - 0xa8]
je 0x55f470
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
test edx, edx
je 0x55f2a2
cmp edx, 0xffffffff
je 0x55f2dd
lock sub dword [eax], 1
mov eax, dword [ebp - 0xb0]
jne 0x55f2dd
jmp 0x55f2a2
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55f285
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55f3a5
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x55f400
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x55f4b0
mov dword [ebp - 0xb0], 0x880f80
mov esi, dword [ebp - 0xa0]
jmp 0x55f374
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1003
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 0x55f5ba
cmp dword [ebp - 0xa4], eax
mov ecx, eax
cmovle ecx, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc4], ecx
jle 0x55f57d
cmp eax, 0x40
jg 0x55f5c9
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 0x55f600
cmp eax, esi
je 0x55f57d
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], 0x1003
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 0x55f354
mov dword [ebp - 0xb0], 0x880f80
jmp 0x55f374
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0xc8], eax
je 0x55f623
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 0x55f535
mov esi, eax
jmp 0x55f57d
call fcn.0071fff4
mov eax, dword [ebp - 0xc8]
jmp 0x55f5dd