Function at 0x645200
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6454c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [0x84cd00]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [0x83b878]
mov dword [ecx], edx
mov dword [ebp - 4], 0
add esp, 0xfffffff8
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
call fcn.0074ae7f
add esp, 8
mov edi, eax
mov esi, str.C_n_n_n_n_n_n_n_n
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x64527c
test dl, dl
je 0x645278
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x64527c
add edi, 2
add esi, 2
test dl, dl
jne 0x64525c
xor eax, eax
jmp 0x645281
sbb eax, eax
or eax, 1
test eax, eax
je 0x6453f6
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
lea edx, [ebp - 0xc4]
push 0x51
push edx
push 0x1f
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6453f6
lea edi, [ebp - 0xc4]
xor esi, esi
xor ebx, ebx
xor eax, eax
movzx edx, word [edi]
cmp edx, eax
jne 0x6452c2
inc ebx
jmp 0x6453ee
cmp edx, 0x64
je 0x6453e1
cmp edx, 0x4d
je 0x6453e1
cmp edx, 0x79
je 0x6453e1
cmp edx, 0x67
je 0x6453e1
test ebx, ebx
je 0x6453c4
cmp eax, 0x64
je 0x64542a
cmp eax, 0x4d
je 0x645357
cmp eax, 0x79
jne 0x6453c0
cmp ebx, 1
jb 0x6453c0
cmp ebx, 2
jbe 0x64533b
cmp ebx, 4
jne 0x6453c0
push 0x7aa054
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa054
push eax
call fcn.006203c0
jmp 0x6453bd
push 0x7aa04c
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa04c
push eax
call fcn.006203c0
jmp 0x6453bd
cmp ebx, 1
jb 0x6453c0
cmp ebx, 2
jbe 0x6453a3
cmp ebx, 3
jne 0x645382
push 0x7aa03c
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa03c
push eax
call fcn.006203c0
jmp 0x6453bd
cmp ebx, 4
jne 0x6453c0
push 0x7aa044
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa044
push eax
call fcn.006203c0
jmp 0x6453bd
push 0x7aa034
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa034
push eax
call fcn.006203c0
movzx edx, word [edi]
xor esi, esi
xor ebx, ebx
test edx, edx
je 0x6453f6
cmp edx, 0x25
je 0x64549f
mov ecx, dword [ebp + 8]
push edx
push 1
call fcn.0061f020
movzx edx, word [edi]
jmp 0x6453e8
mov esi, edx
mov ebx, 1
test edx, edx
je 0x6453f6
mov eax, esi
add edi, 2
jmp 0x6452b5
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.007470f0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ebx, 1
jb 0x6453c0
cmp ebx, 2
jbe 0x645480
cmp ebx, 3
jne 0x645458
push 0x7aa024
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa024
push eax
call fcn.006203c0
jmp 0x6453bd
cmp ebx, 4
jne 0x6453c0
push 0x7aa02c
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa02c
push eax
call fcn.006203c0
jmp 0x6453bd
push 0x7aa01c
call fcn.007444aa
pop ecx
mov ecx, dword [ebp + 8]
push eax
push 0x7aa01c
push eax
call fcn.006203c0
jmp 0x6453bd
mov ecx, dword [ebp + 8]
push 0x25
push 1
call fcn.0061f020
movzx edx, word [edi]
jmp 0x6453d1