Function at 0x418fe0
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov edi, ecx
mov r8, qword [rsi + 0x1c]
mov edx, 0x16
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rsi + 0x1c], rax
mov ecx, edi
mov edx, 0x16
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov r8, qword [rsi + 0x14]
mov ecx, edi
mov edx, 0x17
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rsi + 0x14], rax
mov ecx, edi
mov edx, 0x17
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov ebx, eax
mov r8, qword [rsi + 0x24]
mov ecx, edi
mov edx, 0x14
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbp, eax
mov rcx, rbp
call fcn.0040ccb0
mov qword [rsi + 0x24], rax
test r14d, r14d
setne cl
test ebx, ebx
setne r15b
and r15b, cl
mov ecx, edi
mov edx, 0x14
mov r8, rax
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov r8, qword [rsi + 0x2c]
mov ecx, edi
mov edx, 0x15
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbp, eax
mov rcx, rbp
call fcn.0040ccb0
mov qword [rsi + 0x2c], rax
test r14d, r14d
setne bl
and bl, r15b
mov ecx, edi
mov edx, 0x15
mov r8, rax
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov r8, qword [rsi + 0x34]
mov ecx, edi
mov edx, 0x18
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbp, eax
mov rcx, rbp
call fcn.0040ccb0
mov qword [rsi + 0x34], rax
test r14d, r14d
setne r12b
and r12b, bl
mov ecx, edi
mov edx, 0x18
mov r8, rax
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov r8, qword [rsi + 0x3c]
mov ecx, edi
mov edx, 0x50
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rsi + 0x3c], rax
mov ecx, edi
mov edx, 0x50
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov ebx, eax
mov r8, qword [rsi + 0x44]
mov ecx, edi
mov edx, 0x51
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbp, eax
mov rcx, rbp
call fcn.0040ccb0
mov qword [rsi + 0x44], rax
mov ecx, edi
mov edx, 0x51
mov r8, rax
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
lea r15, [rsi + 4]
lea rbp, [rsi + 2]
test r14d, r14d
setne cl
and cl, r12b
test ebx, ebx
setne dl
and dl, cl
lea rcx, [rsi + 6]
mov qword [rsp + 0x20], rcx
test eax, eax
setne bl
and bl, dl
mov ecx, edi
mov edx, 0x19
mov r8, rsi
mov r9d, 3
call fcn.00418e40
mov r14d, eax
movzx r13d, bl
mov ecx, edi
mov edx, 0x1a
mov r8, rbp
mov r9d, 3
call fcn.00418e40
mov ebp, eax
mov ecx, edi
mov edx, 0x1b
mov r8, r15
mov r9d, 2
call fcn.00418e40
lea r12, [rsi + 8]
and ebp, r14d
lea r15, [rsi + 0xa]
and ebp, r13d
and ebp, eax
mov ecx, edi
mov edx, 0x1c
mov r8, qword [rsp + 0x20]
mov r9d, 3
call fcn.00418e40
mov ebx, eax
mov ecx, edi
mov edx, 0x52
mov r8, r12
mov r9d, 2
call fcn.00418e40
lea r13, [rsi + 0xc]
lea r14, [rsi + 0x12]
and ebx, ebp
lea r12, [rsi + 0x10]
and ebx, eax
mov ecx, edi
mov edx, 0x53
mov r8, r15
mov r9d, 3
call fcn.00418e40
mov ebp, eax
mov ecx, edi
mov edx, 0x54
mov r8, r13
mov r9d, 2
call fcn.00418e40
lea r8, [rsi + 0xe]
and ebp, ebx
and ebp, eax
mov ecx, edi
mov edx, 0x55
mov r9d, 2
call fcn.00418e40
mov ebx, eax
and ebx, ebp
mov ecx, edi
mov edx, 0x56
mov r8, r12
mov r9d, 2
call fcn.00418e40
mov ebp, eax
mov ecx, edi
mov edx, 0x57
mov r8, r14
mov r9d, 2
call fcn.00418e40
mov edi, eax
movsx rax, word [rsi + 6]
lea rcx, [0x0042e980]
mov rcx, qword [rcx + rax*8]
call fcn.00411140
mov qword [rsi + 0x4c], rax
and ebp, ebx
test edi, ebp
setne al
movzx eax, al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret