Function at 0x560af0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x98]
mov edi, ecx
lea ecx, [ebp - 0xb0]
sub esp, 0xdc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], 0x8c0d34
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], esi
mov dword [ebp - 0xa4], 0x40
mov dword [ebp - 0xa0], esi
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], 0x40
mov dword [ebp - 0xbc], ecx
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0xc0], eax
call eax
sub esp, 0x10
test eax, eax
mov ebx, dword [ebp - 0xa0]
je 0x560c30
cmp dword [ebp + 0xc], 0x50
jne 0x560b7d
cmp word [ebx], 0
je 0x560c4c
lea eax, [ebp - 0xac]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
call fcn.005b01a0
lea eax, [ebp - 0xac]
mov ecx, edi
mov dword [esp], eax
call fcn.005cfa30
mov eax, dword [ebp - 0xac]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x560bd3
cmp edx, 0xffffffff
je 0x560beb
lock sub dword [eax], 1
mov eax, dword [ebp - 0xac]
jne 0x560beb
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
mov ebx, dword [ebp - 0xa0]
cmp ebx, esi
je 0x560bfd
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
test edx, edx
je 0x560c70
cmp edx, 0xffffffff
je 0x560c1a
lock sub dword [eax], 1
mov eax, dword [ebp - 0xb0]
je 0x560c70
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 0x50
jne 0x560c94
test eax, eax
jne 0x560c94
lea eax, [ebp - 0xb0]
mov ecx, edi
mov dword [esp], eax
mov dword [ebp - 0xbc], eax
call fcn.005cfa30
sub esp, 4
mov ebx, dword [ebp - 0xa0]
jmp 0x560bf1
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call fcn.004a4c50
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp eax, 0x7a
je 0x560cb1
mov dword [edi + 8], 0x80000000
mov dword [edi], 0
mov ebx, dword [ebp - 0xa0]
jmp 0x560bf1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
call eax
sub esp, 0x10
test eax, eax
mov dword [ebp - 0xc4], eax
mov ebx, dword [ebp - 0xa0]
je 0x560dd1
cmp dword [ebp - 0xa4], eax
mov ecx, eax
cmovle ecx, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], ecx
jle 0x560d89
cmp eax, 0x40
jg 0x560de3
mov dword [ebp - 0xa0], esi
lea esi, [ebp - 0x98]
mov dword [ebp - 0xa8], 0x40
mov eax, ecx
mov dword [ebp - 0xcc], esi
mov edx, esi
add eax, eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0xa4], 0
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0xc8]
cmp ebx, esi
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
je 0x560e1a
cmp eax, ebx
je 0x560d89
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
call eax
sub esp, 0x10
test eax, eax
mov ebx, dword [ebp - 0xa0]
jne 0x560b6d
mov dword [edi + 8], 0x80000000
mov dword [edi], 0
jmp 0x560bf1
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0xcc], eax
je 0x560e21
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc8]
jmp 0x560d41
mov ebx, eax
jmp 0x560d89
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
call fcn.0071fff4
mov eax, dword [ebp - 0xcc]
jmp 0x560df7