Function at 0x6ca3fcc0
Capabilities:
Get geographical location

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [0x6cb1c9b0]
mov ebp, dword [esp + 0x60]
test eax, eax
je 0x6ca3ff28
mov eax, dword [0x6cb1c9b4]
test eax, eax
je 0x6ca3fe68
lea edi, [esp + 0x28]
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 8
call eax
sub esp, 0x10
mov eax, dword [esp + 0x28]
add eax, eax
mov dword [esp], eax
mov dword [esp + 0x18], eax
call fcn.6c9d3a30
mov ebx, eax
test eax, eax
je 0x6ca3ff80
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 8
call dword [0x6cb1c9b4]
sub esp, 0x10
test eax, eax
je 0x6ca3fdc0
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
cmp esi, dword [esp + 0x64]
cmova esi, dword [esp + 0x64]
test esi, esi
je 0x6ca3fda4
xor edi, edi
xor eax, eax
jmp 0x6ca3fd86
cmp cl, 0x2d
mov ecx, 0x5f
cmove edx, ecx
mov byte [ebp + eax], dl
add eax, 1
cmp esi, eax
je 0x6ca3fda2
movzx ecx, word [ebx + eax*2]
mov edx, ecx
test cl, cl
jne 0x6ca3fd70
mov edx, 0x2c
mov edi, eax
mov byte [ebp + eax], dl
add eax, 1
cmp esi, eax
jne 0x6ca3fd86
add ebp, edi
mov byte [ebp], 0
mov dword [esp], ebx
call fcn.6c9d3b40
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esi, [esp + 0x2c]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 0x20], edx
mov dword [esp + 4], 0x59
mov dword [esp], 0x400
call edx
sub esp, 0x10
lea edi, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], 0x5a
mov dword [esp], 0x400
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x6ca3ff10
test eax, eax
mov edx, 0x6ca961d4
mov eax, 0x6ca961d5
mov dword [esp + 0xc], esi
cmove edi, edx
cmovne edx, eax
mov eax, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 8], str._s_s_s
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call fcn.6c9dad00
jmp 0x6ca3fda8
mov edx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esi, [esp + 0x2c]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 0x18], edx
mov dword [esp + 4], 0x59
mov dword [esp], 0x400
call edx
sub esp, 0x10
mov edi, eax
lea ebx, [esp + 0x3c]
mov dword [esp + 0xc], 0x10
mov edx, dword [esp + 0x18]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5a
mov dword [esp], 0x400
call edx
sub esp, 0x10
test edi, edi
je 0x6ca3ff68
test eax, eax
mov edx, 0x6ca961d4
mov eax, 0x6ca961d5
mov dword [esp], ebp
cmove ebx, edx
cmovne edx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str._s_s_s
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call fcn.6c9dad00
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Couldnt_obtain_language_info
call fcn.6c942590
jmp 0x6ca3fda8
mov dword [esp], 0x6ca961d8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x6cb1c9b0], eax
sub esp, 4
test eax, eax
je 0x6ca3fcd8
mov dword [esp + 4], str.GetUserPreferredUILanguages
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6cb1c9b4], eax
sub esp, 8
jmp 0x6ca3fcdd
mov dword [esp], str.Couldnt_obtain_language_info
call fcn.6c942590
jmp 0x6ca3fdb0
mov dword [esp], 0
call fcn.6c942640
jmp 0x6ca3fdb0