Function at 0x41d730
Capabilities:
Get geographical location
Open clipboard
Read clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov rbx, rdx
lea rdx, [0x0062a180]
mov esi, r8d
mov rbp, rcx
mov rcx, rbx
mov edi, r9d
call fcn.00433860
cmp eax, esi
mov r15, qword [0x00670bd0]
jne 0x41d76e
cmp edi, 0x1f
je 0x41d7d0
mov rax, qword [r15]
mov edx, edi
mov rcx, rbx
mov r12, qword [rax + 0x240]
call fcn.00433910
mov edx, esi
mov rcx, rbx
mov rdi, rax
call fcn.00433910
mov rdx, rax
lea rax, [0x0062a1bb]
mov qword [rsp + 0x28], 0
mov r9, rdi
lea r8, [0x0062a198]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call r12
mov eax, 1
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41d76e
mov ecx, 0xd
mov r12, qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call r12
test eax, eax
je 0x41d8b5
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
mov r13, rax
je 0x41d9e4
mov rcx, rax
lea r12, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov rax, qword [r15]
mov rcx, r12
call qword [rax + 0x3e0]
mov rax, qword [r15]
mov rcx, rbx
mov rsi, qword [rax + 0xb20]
call qword [rax + 0xb10]
mov rcx, rbx
mov r8, r12
mov edx, eax
call rsi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx + 1]
jmp 0x41d86a
mov byte [rcx], al
add rcx, 1
add rdx, 1
movzx eax, byte [rdx - 1]
test al, al
je 0x41d880
cmp al, 0xd
jne 0x41d860
cmp byte [rdx], 0xa
jne 0x41d860
jmp 0x41d866
mov byte [rcx], 0
mov rdx, rbp
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x198]
call qword [rsp + 0x190]
mov ebx, eax
mov rax, qword [r15]
mov rcx, r12
call qword [rax + 0x3d0]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
jmp 0x41d7bc
mov ecx, 1
call r12
test eax, eax
je 0x41d9e4
mov ecx, 0x10
call r12
test eax, eax
je 0x41d9ef
mov ecx, 0x10
mov r14, qword [sym.imp.USER32.dll_GetClipboardData]
call r14
test rax, rax
mov r13, rax
je 0x41d9e4
mov rax, qword [r15]
lea r12, [rsp + 0x40]
mov rcx, r12
call qword [rax + 0x3e0]
mov rax, qword [r15]
mov r8d, 0xffffffff
lea rdx, str.cp
mov rcx, r12
call qword [rax + 0x3b8]
mov r11, qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, r13
mov qword [rsp + 0x30], r11
call r11
movzx ecx, word [rax]
mov eax, dword [rsp + 0x48]
mov edx, 0x1004
lea r9d, [rax - 2]
mov rax, qword [rsp + 0x40]
lea r8, [rax + 2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rax, qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
mov qword [rsp + 0x38], rax
call rax
mov rax, qword [r15]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [rax + 0x978]
mov r13, rax
mov rax, qword [r15]
mov rcx, r12
call qword [rax + 0x3d0]
mov ecx, 1
call r14
test rax, rax
mov r14, rax
mov r11, qword [rsp + 0x30]
je 0x41d9d3
mov rcx, rax
call r11
mov r11, qword [r15]
mov r9, r12
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, r13
call qword [r11 + 0x950]
mov rcx, r14
mov rax, qword [rsp + 0x38]
call rax
test r13, r13
je 0x41d84d
mov rax, qword [r15]
mov rcx, r13
call qword [rax + 0x968]
jmp 0x41d84d
test r13, r13
je 0x41d9e4
mov rax, qword [r15]
mov rcx, r13
call qword [rax + 0x968]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x41d76e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
mov r13, rax
je 0x41d9e4
mov rcx, rax
lea r12, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r11, qword [r15]
xor ecx, ecx
mov r9, r12
mov r8d, 0xffffffff
mov rdx, rax
call qword [r11 + 0x950]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x41d84d