Function at 0x1400e5c90
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov esi, edx
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, qword [rcx + 0x4d8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rdi + 0x498]
call sub.mfc120u.dll_Ordinal_4291
mov rax, qword [0x140467218]
test rax, rax
jne 0x1400e5d31
lea rcx, [rdi + reloc.mfc120u.dll_Ordinal_528]
xor edx, edx
call sub.mfc120u.dll_Ordinal_4291
lea rcx, [rdi + 0x2e8]
xor edx, edx
call sub.mfc120u.dll_Ordinal_4291
lea rcx, [rdi + reloc.mfc120u.dll_Ordinal_960]
xor edx, edx
call sub.mfc120u.dll_Ordinal_4291
jmp 0x1400e5f51
lea rcx, [rsp + 0x30]
call qword [rax + 0x38]
cmp dword [rsp + 0x30], 0
je 0x1400e5e68
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
mov rax, qword [0x140467218]
call qword [rax + 0x40]
lea rcx, [rsp + 0x38]
mov rax, qword [0x140467218]
call qword [rax + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea r8d, [rbx + 9]
lea rdx, str.kPrefConvertPDFToWordOpticalTextLanguage
mov rcx, qword [rdi + 0x130]
mov rax, qword [0x1404672d8]
call qword [rax + 0x198]
mov r12d, eax
cmp dword [rsp + 0x20], ebx
jbe 0x1400e5e4c
mov edx, ebx
mov rcx, qword [rsp + 0x38]
movsxd rsi, dword [rcx + rdx*4]
mov r9d, Ordinal_261
lea r8, [rbp - 0x10]
mov edx, 0x1001
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400e5e40
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r9, rax
xor r8d, r8d
mov edx, reloc.mfc120u.dll_Ordinal_323
mov rcx, qword [rdi + 0x4d8]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r14, eax
mov r9, rsi
mov r8, r14
mov edx, 0x151
mov rcx, qword [rdi + 0x4d8]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp esi, r12d
jne 0x1400e5e35
xor r9d, r9d
mov r8, r14
mov edx, 0x14e
mov rcx, qword [rdi + 0x4d8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
inc ebx
cmp ebx, dword [rsp + 0x20]
jb 0x1400e5da5
mov edx, 1
lea rcx, [rdi + 0x498]
call sub.mfc120u.dll_Ordinal_4291
nop
lea rcx, [rsp + 0x40]
jmp 0x1400e5f4b
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rdi + 0x250]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rdi + 0x328]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov ebx, 1
mov r8d, ebx
mov edx, 0xf1
mov rcx, qword [rdi + 0x400]
call qword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x1400e5f51
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0x2b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140190f20
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rsp + 0x50]
call sub.MSVCR120.dll_memset
mov qword [rsp + 0x50], 0xa0
mov dword [rsp + 0x68], 2
lea rcx, [rsp + 0x28]
call fcn.140191980
mov qword [rsp + 0x70], rax
mov word [rbp - 0x38], bx
lea rcx, [rsp + 0x50]
mov rax, qword [0x1404672c0]
call qword [rax + 0xbd8]
nop
lea rcx, [rsp + 0x28]
call fcn.1401918b0
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret