Function at 0x1400edb00
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov rsi, rcx
mov edi, edx
test rsi, rsi
je 0x1400edb43
mov ebx, dword [rsi + 8]
test ebx, ebx
je 0x1400edb43
call fcn.140001475
cmp byte [rax + 1], 0
je 0x1400edbe8
jmp 0x1400edb4d
call fcn.1400edac0
jmp 0x1400edd66
cmp byte [rax], 0
jne 0x1400edbe1
call fcn.140001203
cmp byte [rax], 0
jne 0x1400edb72
mov rcx, rsi
call fcn.14015c160
test eax, eax
jne 0x1400edbe8
jmp 0x1400edbe1
xor ecx, ecx
mov dword [rbp - 0x50], ecx
mov qword [rbp + 0x10], rsi
lea rcx, [rsi + 0xc]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x78], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x80], r8
mov edx, 0x2000007d
mov dword [rbp - 0x6c], edx
mov r9d, 4
mov dword [rbp - 0x70], r9d
lea rcx, [rbp - 0xa8]
call fcn.140004590
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
mov edx, dword [rbp - 0x6c]
mov r9d, dword [rbp - 0x70]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0xa8]
call fcn.1400045e0
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
cmp dword [rbp - 0x50], 1
mov rsi, qword [rbp + 0x10]
jne 0x1400edbe8
xor eax, eax
jmp 0x1400edd66
test dil, dil
jne 0x1400edc52
mov r14d, ebx
lea rcx, [0x14022ff00]
lea edx, [r14 + 1]
call fcn.1400041e0
mov r15, rax
mov r12d, dword [r15 + 8]
cmp ebx, r12d
jg 0x1400edd7a
lea rcx, [r15 + 0xc]
lea rdx, [rsi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.1400ad060
sub r12d, r14d
test r12d, r12d
jle 0x1400edd99
movsxd rcx, r14d
lea rcx, [r15 + rcx*2 + 0xc]
lea rdx, [0x1402e9440]
add rdx, 0xc
mov r8d, 2
call fcn.1400ad060
mov rcx, r15
jmp 0x1400edc55
mov rcx, rsi
call fcn.1400fdbd0
mov rbx, rax
call fcn.140001a8c
mov r14, rax
mov r15, qword [r14 + 0x20]
test r15, r15
jne 0x1400edc99
lea rcx, [0x14024e378]
call fcn.140004120
mov r15, rax
mov rcx, qword [r15 + 0x18]
call fcn.14012a430
test rax, rax
je 0x1400edc97
lea rcx, [r15 + 0x18]
mov rdx, rax
call fcn.140004430
jmp 0x1400edcf8
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x60], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.140101d90
mov rcx, r15
mov rdx, rbx
call fcn.1401b02b0
test rax, rax
je 0x1400edcca
mov r12, qword [rax]
mov r13d, 1
jmp 0x1400edcd0
xor r12d, r12d
xor r13d, r13d
cmp byte [rbp - 0x40], 0
je 0x1400edce9
mov rcx, qword [rbp - 0x60]
call fcn.140101ce0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.140101b70
test r13d, r13d
je 0x1400edcf8
test r12, r12
je 0x1400edcf8
mov rax, r12
jmp 0x1400edd66
movzx edx, dil
mov rcx, rsi
call fcn.1400ee020
mov rsi, rax
test rsi, rsi
jne 0x1400edd10
xor eax, eax
jmp 0x1400edd66
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x68], rcx
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
call fcn.140101d90
cmp byte [r15], r15b
mov rcx, r15
mov rdx, rbx
mov r8, rsi
mov r9d, 1
call fcn.1401b0500
nop
cmp byte [rbp - 0x48], 0
je 0x1400edd57
mov rcx, qword [rbp - 0x68]
call fcn.140101ce0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.140101b70
lea rcx, [r14 + 0x20]
mov rdx, r15
call fcn.140004430
mov rax, rsi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140231968]
call fcn.140004120
mov rsi, rax
mov rcx, rsi
call fcn.1400cb810
mov rcx, rsi
call fcn.140005540
lea rcx, [0x140231968]
call fcn.140004120
mov rsi, rax
mov rcx, rsi
call fcn.1400cb810
mov rcx, rsi
call fcn.140005540
int3