Function at 0x14001a124
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13a8]
mov eax, 0x14a8
call fcn.140022fa0
sub rsp, rax
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rax, qword [0x140059d90]
xor rax, rsp
mov qword [rbp + 0x1390], rax
mov r13d, r9d
mov dword [rsp + 0x48], r9d
mov qword [rbp - 0x10], r8
mov r15, rdx
mov qword [rsp + 0x68], rdx
mov rsi, rcx
mov r14, qword [rbp + 0x1410]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp + 0x1418]
mov qword [rbp - 8], rax
xor ebx, ebx
mov r12d, ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x50], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov edi, 0x104
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.1400213f0
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x14001a1d1
call qword [sym.imp.USER32.dll_DestroyMenu]
mov qword [rsi + 0x40], rbx
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov qword [rsi + 0x40], rax
mov ecx, dword [r15]
sub ecx, r13d
mov dword [rsp + 0x44], ecx
test rax, rax
je 0x14001b03e
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdi, [rsi + 0x48]
mov rcx, rdi
call fcn.1400237cc
test rax, rax
je 0x14001a2a2
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a21f
mov rcx, qword [rcx]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0xbe7
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, rdi
call fcn.1400237e8
test eax, eax
je 0x14001a2a2
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140019448
test rax, rax
je 0x14001a2a2
mov r12d, 1
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov edx, r12d
mov r8d, 0x410
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r11d, dword [r15]
sub r11d, r13d
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x40], r12d
mov r9, rbx
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rbp - 0x58]
call fcn.140019b8c
lea r8, [rsp + 0x74]
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140019f7c
mov rdi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x58]
mov qword [rsp + 0x50], r14
sub rdi, r14
sar rdi, 3
mov qword [rbp - 0x78], rdi
cmp rdi, 1
jae 0x14001a2e9
jmp 0x14001b055
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea r13, [rsi + 0x458]
mov rcx, r13
call fcn.1400237cc
test rax, rax
je 0x14001a50a
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a320
mov rcx, qword [rcx]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0xbea
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, r13
call fcn.1400237e8
test eax, eax
je 0x14001a50a
cmp rdi, 1
jbe 0x14001a498
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x60], ebx
test rdi, rdi
je 0x14001a4ec
mov qword [rbp - 0x80], rdi
mov r8, r14
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.140012d14
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x14001a397
mov rdi, qword [rcx]
jmp 0x14001a39a
mov rdi, rbx
mov rdx, r14
mov rcx, rsi
call fcn.14001047c
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140016364
mov rdx, rax
mov qword [rbp - 0x38], rax
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14001a418
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
dec ecx
jne 0x14001a414
test rdi, rdi
je 0x14001a414
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001a3fa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001a408
call fcn.14002098c
mov rcx, rdi
call fcn.140020508
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x28], rbx
test rdx, rdx
je 0x14001a47f
mov rdi, qword [rsp + 0x78]
cmp dword [rsp + 0x60], ebx
jne 0x14001a452
inc r12d
mov r9d, edi
mov qword [rsp + 0x20], r13
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov dword [rsp + 0x60], 1
mov rdx, qword [rbp - 0x38]
inc r12d
mov rax, qword [r14]
test rax, rax
je 0x14001a462
mov rcx, qword [rax]
jmp 0x14001a465
mov rcx, rbx
mov r9d, edx
mov qword [rsp + 0x20], rcx
mov r8d, 0x410
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
add r14, 8
dec qword [rbp - 0x80]
jne 0x14001a37a
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
jmp 0x14001a4ec
mov rdx, r14
mov rcx, rsi
call fcn.14001047c
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140016364
test rax, rax
je 0x14001a4ec
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], r13
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov eax, dword [r15]
mov r13d, dword [rsp + 0x48]
sub eax, r13d
mov dword [rsp + 0x44], eax
mov r14d, dword [rsp + 0x40]
inc r14d
mov dword [rsp + 0x40], r14d
jmp 0x14001a514
mov r14d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x48]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdi, [rsi + 0x660]
mov rcx, rdi
call fcn.1400237cc
test rax, rax
je 0x14001a5d0
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a54b
mov rcx, qword [rcx]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0xbeb
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, rdi
call fcn.1400237e8
test eax, eax
je 0x14001a5d0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140015fb8
test rax, rax
je 0x14001a5d0
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r11d, dword [r15]
sub r11d, r13d
mov dword [rsp + 0x44], r11d
inc r14d
mov dword [rsp + 0x40], r14d
cmp dword [rsi + 0x2758], ebx
jne 0x14001a71c
mov qword [rbp + 0x58], SafeArrayAccessData
mov qword [rbp + 0x50], rbx
mov byte [rbp + 0x40], bl
call fcn.140001c90
mov r13d, eax
xor edx, edx
lea rcx, str.igfxtrayWindow
call fcn.140002840
mov rdi, rax
mov rcx, rax
call fcn.140020e10
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.1400033ac
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
lea rcx, str.igfxtrayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov r14, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdi, [rsi + 0x868]
mov rcx, rdi
call fcn.1400237cc
test rax, rax
je 0x14001a669
cmp r13d, 1
jne 0x14001a669
test r14, r14
jne 0x14001a672
test r13d, r13d
jne 0x14001a70c
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a680
mov rcx, qword [rcx]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0xbec
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, rdi
call fcn.1400237e8
test eax, eax
je 0x14001a70c
mov qword [rsp + 0x28], rdi
mov r13d, dword [rsp + 0x48]
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140015fb8
test rax, rax
je 0x14001a70c
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r11d, dword [r15]
sub r11d, r13d
mov dword [rsp + 0x44], r11d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp qword [rbp + 0x58], 0x10
jb 0x14001a71c
mov rcx, qword [rbp + 0x40]
call fcn.140020508
mov qword [rbp + 0x30], SafeArrayAccessData
mov qword [rbp + 0x28], rbx
mov byte [rbp + 0x18], bl
call fcn.140001c90
mov r13d, eax
xor edx, edx
lea rcx, str.igfxtrayWindow
call fcn.140002840
mov rdi, rax
mov rcx, rax
call fcn.140020e10
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1400033ac
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
lea rcx, str.igfxtrayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov r14, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdi, [rsi + 0xc78]
mov rcx, rdi
call fcn.1400237cc
test rax, rax
je 0x14001a84b
cmp r13d, 1
jne 0x14001a84b
test r14, r14
je 0x14001a84b
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14001a7c3
mov rcx, qword [rcx]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x1c15
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, rdi
call fcn.1400237e8
mov r13d, dword [rsp + 0x48]
test eax, eax
je 0x14001a850
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140018534
test rax, rax
je 0x14001a850
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r11d, dword [r15]
sub r11d, r13d
mov dword [rsp + 0x44], r11d
inc dword [rsp + 0x40]
jmp 0x14001a850
mov r13d, dword [rsp + 0x48]
cmp qword [rbp + 0x30], 0x10
jb 0x14001a860
mov rcx, qword [rbp + 0x18]
call fcn.140020508
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x180]
call fcn.1400213f0
lea r15, [rsi + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x14001a895
mov rcx, qword [r15]
jmp 0x14001a898
mov rcx, r15
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x180]
mov edx, 0x23f1
call sub.hccutils.DLL_LoadSTRINGW
lea rcx, [rsi + 0xa70]
call fcn.1400237cc
test rax, rax
je 0x14001ac08
cmp qword [r15 + 0x18], 0x10
jb 0x14001a8d9
mov rcx, qword [r15]
jmp 0x14001a8dc
mov rcx, r15
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0xbed
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
lea rcx, [rsi + 0xa70]
call fcn.1400237e8
test eax, eax
je 0x14001ac08
mov r14, rbx
mov r13, rbx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rbp - 0x78]
mov rax, qword [rsp + 0x50]
test rcx, rcx
je 0x14001a93d
mov r14, qword [rax]
test r14, r14
je 0x14001a93a
mov r14, qword [r14]
jmp 0x14001a93d
mov r14, rbx
cmp rcx, 1
jbe 0x14001a955
mov r13, qword [rax + 8]
test r13, r13
je 0x14001a952
mov r13, qword [r13]
jmp 0x14001a955
mov r13, rbx
cmp rcx, 2
jbe 0x14001a973
mov rax, qword [rax + 0x10]
test rax, rax
je 0x14001a96e
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x14001a973
mov qword [rsp + 0x60], rbx
mov edi, dword [rsp + 0x74]
cmp rcx, 1
jbe 0x14001a986
cmp edi, 8
je 0x14001aaa9
test edi, 0x304
je 0x14001a9cf
mov rcx, rsi
call fcn.14000f678
cmp eax, 1
jne 0x14001a9cf
test r13, r13
je 0x14001a9cf
lea rdx, [rbp + 0x180]
mov rcx, r13
call fcn.1400237e8
test eax, eax
je 0x14001a9cf
test r14, r14
je 0x14001a9cf
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.1400237e8
test eax, eax
jne 0x14001aaa9
cmp edi, 2
je 0x14001aaa9
cmp edi, 0x10
je 0x14001aaa9
cmp edi, 0x40
je 0x14001aaa9
test edi, 0xc20
je 0x14001aa4c
mov rcx, rsi
call fcn.14000f678
cmp eax, 1
jne 0x14001aa4c
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14001aa4c
lea rdx, [rbp + 0x180]
mov rcx, rax
call fcn.1400237e8
test eax, eax
je 0x14001aa4c
test r13, r13
je 0x14001aa4c
lea rdx, [rbp + 0x180]
mov rcx, r13
call fcn.1400237e8
test eax, eax
je 0x14001aa4c
test r14, r14
je 0x14001aa4c
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.1400237e8
test eax, eax
jne 0x14001aaa9
mov dword [rsp + 0x30], ebx
lea rdi, [rsi + 0xa70]
mov qword [rsp + 0x28], rdi
mov r13d, dword [rsp + 0x48]
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140017d28
test rax, rax
je 0x14001abf6
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x14001abf6
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x60], ebx
mov r13, rbx
cmp qword [rbp - 0x78], rbx
jbe 0x14001abf1
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r8, r14
lea rdx, [rsi + 0xa70]
lea rcx, [rbp - 0x20]
call fcn.140012d14
nop
mov rax, qword [rax]
test rax, rax
je 0x14001aaf0
mov rax, qword [rax]
jmp 0x14001aaf3
mov rax, rbx
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140017d28
mov rdx, rax
mov qword [rbp - 0x80], rax
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x14001ab67
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
dec ecx
jne 0x14001ab63
test rdi, rdi
je 0x14001ab63
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001ab49
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001ab57
call fcn.14002098c
mov rcx, rdi
call fcn.140020508
mov rdx, qword [rbp - 0x80]
mov qword [rbp - 0x20], rbx
test rdx, rdx
je 0x14001abd3
mov rdi, qword [rsp + 0x78]
cmp dword [rsp + 0x60], ebx
jne 0x14001aba8
inc r12d
mov r9d, edi
lea rax, [rsi + 0xa70]
mov qword [rsp + 0x20], rax
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov dword [rsp + 0x60], 1
mov rdx, qword [rbp - 0x80]
mov rax, qword [r14]
test rax, rax
je 0x14001abb5
mov rcx, qword [rax]
jmp 0x14001abb8
mov rcx, rbx
mov r9d, edx
lea edx, [r13 + 1]
mov qword [rsp + 0x20], rcx
mov r8d, 0x410
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
inc r13
add r14, 8
cmp r13, qword [rbp - 0x78]
jb 0x14001aacf
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea r15, [rsi + 0x10]
mov r13d, dword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
sub eax, r13d
mov dword [rsp + 0x44], eax
inc dword [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdi, [rsi + 0xe80]
mov rcx, rdi
call fcn.1400237cc
test rax, rax
je 0x14001acd6
mov eax, dword [rsi + 0x2740]
add eax, dword [rsi + 0x2730]
je 0x14001acd6
cmp qword [r15 + 0x18], 0x10
jb 0x14001ac4d
mov r15, qword [r15]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x252c
mov rcx, r15
call sub.hccutils.DLL_LoadSTRING
lea rdx, str.None
mov rcx, rdi
call fcn.1400237e8
mov r15, qword [rsp + 0x68]
test eax, eax
je 0x14001acdb
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.14001877c
test rax, rax
je 0x14001acdb
inc r12d
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x410
mov edx, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r13d, dword [rsp + 0x40]
inc r13d
mov dword [rsp + 0x40], r13d
jmp 0x14001ace0
mov r15, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x40]
mov qword [rbp - 0x18], rbx
mov eax, 4
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x70], ebx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREIntelDisplayigfxcuiCustomResolutions
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001aec1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x64]
xor r8d, r8d
lea rdx, str.ShowCustomResolutions
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001aec1
cmp dword [rsp + 0x70], 1
jne 0x14001aec1
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea r14, [rsi + 0x1498]
mov rcx, r14
call fcn.1400237cc
test rax, rax
je 0x14001aec1
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400213f0
lea rdx, str.CustomModeApp.exe
lea rcx, [rbp + 0x70]
call fcn.140021640
lea rdx, str.None
mov rcx, r14
call fcn.1400237e8
test eax, eax
je 0x14001aec1
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.1400026fc
nop
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x14001ae03
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001ae03
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov r13, rax
test rax, rax
jne 0x14001ae06
mov ecx, 0x8007000e
call fcn.14001f810
int3
mov r13, rbx
mov eax, dword [r15]
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140015f28
cmp qword [rax], rbx
je 0x14001ae3c
mov eax, dword [r15]
mov dword [rbp - 0x68], eax
lea rdx, [rbp - 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.140015f28
mov rcx, qword [rax]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [r15]
mov dword [rbp - 0x6c], eax
lea rdx, [rbp - 0x6c]
mov rcx, qword [rsp + 0x58]
call fcn.140015f28
mov qword [rax], r13
mov r9d, dword [r15]
lea eax, [r9 + 1]
mov dword [r15], eax
mov qword [rsp + 0x20], r14
mov r8d, 0x400
lea edx, [r12 + 1]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_InsertMenuW]
mov r13d, dword [rsp + 0x40]
inc r13d
test rdi, rdi
je 0x14001aec1
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14001aeb8
mov rdi, qword [rbp - 0x30]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001aea2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001aeb0
call fcn.14002098c
mov rcx, rdi
call fcn.140020508
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
test r13d, r13d
je 0x14001b03e
cmp qword [rsi + 0x40], rbx
je 0x14001b03e
cmp qword [rsi], rbx
je 0x14001b03e
mov r13, qword [rbp - 0x10]
inc dword [r13]
mov r9d, dword [rsi + 0x40]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov r8d, 0x410
mov edx, dword [r13]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_InsertMenuW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov eax, ebx
test r12, r12
je 0x14001af25
mov edx, 0x58
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, 0x90
lea r14d, [rdi - 0x30]
cmp eax, edi
jle 0x14001af38
lea edi, [r14 + 0x60]
jmp 0x14001af4a
mov ecx, 0x78
cmp eax, ecx
jg 0x14001af4a
mov edi, r14d
cmp eax, r14d
cmovg edi, ecx
cmp dword [rsi + 0x2758], ebx
jne 0x14001b00d
mov r9d, 0x1f4
lea r8, [rbp + 0x390]
mov edx, 0x1001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x14001b00d
lea rdx, [rbp + 0x390]
lea rcx, str.Arabic
call fcn.1400237e8
test eax, eax
je 0x14001afdb
lea rdx, [rbp + 0x390]
lea rcx, str.Hebrew
call fcn.1400237e8
test eax, eax
je 0x14001afdb
sub edi, r14d
je 0x14001afd4
sub edi, 0x18
je 0x14001afcd
sub edi, 0x18
je 0x14001afc6
cmp edi, 0x30
jne 0x14001b00d
mov edx, 0x24fc
jmp 0x14001affb
mov edx, 0x24fb
jmp 0x14001affb
mov edx, 0x24fa
jmp 0x14001affb
mov edx, 0x24f9
jmp 0x14001affb
sub edi, r14d
je 0x14001aff6
sub edi, 0x18
je 0x14001aff6
sub edi, 0x18
je 0x14001afef
cmp edi, 0x30
jne 0x14001b00d
mov edx, 0x24fd
jmp 0x14001affb
mov edx, 0x24fe
mov r8, qword [0x14005c858]
xor ecx, ecx
call sub.hccutils.DLL_LoadBITMAP
mov qword [rsi + 8], rax
mov r9, qword [rsi + 8]
test r9, r9
je 0x14001b02e
mov qword [rsp + 0x20], r9
mov r8d, 0x400
mov edx, dword [r13]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SetMenuItemBitmaps]
test r12, r12
je 0x14001b03e
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r9, qword [rbp - 0x50]
mov r8, qword [rsp + 0x50]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x58]
call fcn.140019b8c
nop
lea rcx, [rbp - 0x58]
call fcn.140019c2c
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.140021570
add rsp, 0x14a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret