Function at 0x1400eae50
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x30], edi
add rcx, 0x78
lea rdx, str.countrychose_layout
call qword [0x1401a8ed0]
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.14017096f
mov r13, rax
test rax, rax
je 0x1400eb3b7
lea rdx, [rbx + 0x8f8]
lea rcx, [rbp + 0x140]
call qword [0x1401a9810]
nop
mov r15d, edi
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400eb6a0
nop
mov rax, qword [rbp - 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400eb365
nop dword [rax + rax]
lea rdx, [rbx + 0x40]
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
lea rcx, [rbp - 0x20]
call fcn.140054480
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp]
call qword [0x1401a9810]
nop
lea rcx, [rbp + 0x160]
call qword [0x1401a8858]
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.layout_hwaccountCountryChoseItem.xml
lea rcx, [rbp + 0x160]
call qword [0x1401a8850]
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.14017096f
mov r14, rax
test rax, rax
je 0x1400eb2b6
lea rcx, [r13 + 0x9a0]
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x20]
lea rdx, str.countrychose_cyname
mov rcx, r14
call qword [0x1401a8790]
mov rsi, rax
test rax, rax
je 0x1400eb25b
lea rcx, [rbp - 0x40]
call fcn.140169230
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x40]
call fcn.1401706d2
lea rcx, [rbp + 0x40]
call fcn.14006ed80
nop
lea rdx, str.rgn
lea rcx, [rbp + 0x50]
call fcn.14006f5a0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.1400808a0
lea rdx, [0x140228ddc]
mov rcx, rax
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HWAAccountCountryChosebox::InitWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
mov edx, 0x29f
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
or r12d, 2
mov dword [rsp + 0x30], r12d
mov ecx, dword [rbp + 0xc8]
test cl, 2
jne 0x1400eb0b7
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x1400eb0b7
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xc0]
cmovb r8, qword [rbp + 0xc0]
sub r8, rdx
jmp 0x1400eb0e5
test cl, 4
jne 0x1400eb0f2
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400eb0f2
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xa8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x48]
call fcn.140053f60
and r12d, 0xfffffffd
or r12d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x48]
call fcn.1400524a0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140054ae0
mov rdi, rax
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x68]
call fcn.140047980
nop
mov rdx, rdi
lea rcx, [rsp + 0x68]
call qword [0x1401a9e98]
nop
lea rcx, [rbp + 0x20]
call fcn.140047920
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov rax, rcx
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x58]
call fcn.14006f390
lea rcx, [rbp + 0x60]
call qword [0x1401a93c8]
lea rcx, [rbp + 0xd8]
call qword [0x1401a9368]
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
cmp qword [rbp - 0x30], 2
jne 0x1400eb1fc
mov edx, 2
lea rax, [0x14022e8d4]
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400eb1fc
add rcx, 2
sub rdx, 1
jne 0x1400eb1e4
mov al, 1
jmp 0x1400eb1fe
xor al, al
test al, al
je 0x1400eb238
lea r8, [rbp]
lea rdx, [0x14022fa2c]
lea rcx, [rbp - 0x70]
call fcn.140073d90
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400eb223
mov rdx, qword [rax]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
nop
lea rcx, [rbp - 0x70]
call fcn.1400524a0
jmp 0x1400eb250
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
nop
lea rcx, [rbp - 0x40]
call fcn.1400524a0
xor edi, edi
lea rdx, str.countrychose_select
mov rcx, r14
call qword [0x1401a8790]
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.14017096f
test rax, rax
je 0x1400eb2a7
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x230]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x160]
add r15d, eax
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400eb2e8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400eb2e3
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1400eb2e3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400eb2d0
mov rbx, rax
jmp 0x1400eb30f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400eb30f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400eb300
cmp rbx, qword [rbp - 0x50]
jne 0x1400eb33a
lea rdx, str.countrychose_line
mov rcx, r14
call qword [0x1401a8790]
test rax, rax
je 0x1400eb33a
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x250]
nop
lea rcx, [rbp + 0x160]
call qword [0x1401a88c8]
nop
lea rcx, [rbp]
call fcn.1400524a0
nop
lea rcx, [rbp - 0x20]
call fcn.1400524a0
cmp rbx, qword [rbp - 0x50]
jne 0x1400eaf20
mov rax, qword [r13]
lea edx, [r15 + 6]
mov rcx, r13
call qword [rax + 0x178]
mov edx, 0x65
mov rcx, qword [rsp + 0x38]
call qword [0x1401a82a8]
nop
mov r9, qword [rbp - 0x50]
mov r8, qword [r9]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.1400edd40
mov edx, 0x60
mov rcx, qword [rbp - 0x50]
call fcn.14016f49c
nop
lea rcx, [rbp + 0x140]
call fcn.1400524a0
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret