Function at 0x140003500
Capabilities:
Print debug messages
Query environment variable

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b00]
mov eax, 0x2c00
call fcn.140007520
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2c38], rbx
mov qword [rsp + 0x2c40], rsi
mov qword [rsp + 0x2c48], rdi
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rbp + 0x2af0], rax
mov r13, rcx
mov qword [rsp + 0x68], rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x210]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rdx, str.SysTranslationsLangFiles
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
jne 0x1400035fd
mov ecx, 0x1828
call fcn.140006600
mov rbx, rax
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x1828
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [r13 + 0x10], rbx
mov rcx, rbx
test rbx, rbx
je 0x1400043fc
xor edx, edx
mov r8d, 0x1828
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r13 + 0x10]
mov rsi, 0xffffffffffffffff
mov dword [rax], esi
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x22f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xa08
lea rcx, [rbp + 0xce0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1af0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x16f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x18f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x530]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x8c0]
call sub.VCRUNTIME140.dll_memset
movsd xmm0, qword [str.short]
movsd qword [rbp + 0x320], xmm0
mov eax, dword [0x140008ac0]
mov dword [rbp + 0x328], eax
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rbp + 0x32c]
call sub.VCRUNTIME140.dll_memset
mov r15d, esi
xor r12d, r12d
mov dword [rsp + 0x60], r12d
lea r14d, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea rbx, [0x140008844]
cmp dword [rax], r14d
jle 0x140003bcf
lea r12d, [rsi + 9]
lea r13, [0x140008844]
mov esi, 0xfffd
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [r12 + rcx]
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
inc r14d
xor r9d, r9d
cmp r14d, dword [rax]
sete r9b
movzx eax, word [rbx]
sub ax, 0x2d
test si, ax
jne 0x140003757
mov edi, 1
add rbx, 2
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov r8, rbx
lea rdx, [0x140008ac4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor r8d, r8d
lea rdx, [0x140008acc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x1400037b2
xor r8d, r8d
lea rdx, [0x140008ad4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x140003853
mov r8, r13
lea rdx, [0x140008acc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008ad4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008adc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, qword [rsp + 0x30]
mov edx, 0x400
lea rcx, [rbp + 0x22f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r9, [rbp + 0x22f0]
lea r8, [0x140008ac4]
mov edx, 0x400
lea rcx, [rbp + 0x1af0]
call fcn.140001040
lea r9, [rbp + 0x1af0]
lea r8, [0x140008ae0]
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, [0x140008b34]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x140003889
xor r8d, r8d
lea rdx, [0x140008b3c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x140003911
mov r8, r13
lea rdx, [0x140008b34]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008b3c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008adc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x30]
lea r8, [0x140008ac4]
mov edx, 0x104
lea rcx, [rbp + 0x530]
call fcn.140001040
lea r9, [rbp + 0x530]
lea r8, str._ARMOURY_CRATE_Message__Path____s__r_n
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, [0x140008b9c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x140003947
xor r8d, r8d
lea rdx, [0x140008ba4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x1400039cf
mov r8, r13
lea rdx, [0x140008b9c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008ba4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008adc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x30]
lea r8, [0x140008ac4]
mov edx, 0x104
lea rcx, [rbp + 0x8c0]
call fcn.140001040
lea r9, [rbp + 0x8c0]
lea r8, str._ARMOURY_CRATE_Message__Path____s__r_n
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, [0x140008bac]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x140003a01
xor r8d, r8d
lea rdx, [0x140008bb4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x140003a76
mov r8, r13
lea rdx, [0x140008bac]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008bb4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008adc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r15d, eax
mov r9d, eax
lea r8, str._ARMOURY_CRATE_Message__Template____d__r_n
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r8d, r8d
lea rdx, [0x140008c14]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x140003aa8
xor r8d, r8d
lea rdx, [0x140008c1c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x140003ade
mov edi, 1
mov dword [rsp + 0x60], edi
xor r15d, r15d
mov r9d, edi
lea r8, str._ARMOURY_CRATE_Message__Quit____d__r_n
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140003ae2
mov edi, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x140008c7c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
je 0x140003b18
xor r8d, r8d
lea rdx, [0x140008c84]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x140003ba0
mov r8, r13
lea rdx, [0x140008c7c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008c84]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r8, r13
lea rdx, [0x140008adc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x30]
lea r8, [0x140008ac4]
mov edx, 0x104
lea rcx, [rbp + 0x320]
call fcn.140001040
lea r9, [rbp + 0x320]
lea r8, str._ARMOURY_CRATE_Message__Duration____s__r_n
mov edx, 0x504
lea rcx, [rbp + 0xce0]
call fcn.140001040
lea rcx, [rbp + 0xce0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add r12, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp r14d, dword [rax]
jl 0x140003720
cmp r15d, 0xffffffff
mov rsi, 0xffffffffffffffff
mov r13, qword [rsp + 0x68]
lea rbx, [0x140008844]
jne 0x140003bdd
xor r12d, r12d
mov edi, 1
mov dword [rsp + 0x60], edi
mov r15d, r12d
jmp 0x140003be0
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
call fcn.1400053b0
mov qword [rsp + 0x50], rax
mov r14d, 4
test r15d, r15d
jne 0x1400040d7
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008ce8]
mov qword [rsp + 0x40], rcx
lea r8, [0x140008cf0]
mov qword [rsp + 0x48], r8
mov dword [rbp - 0x30], 9
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x28], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp - 0x18], xmm1
mov qword [rsp + 0x38], rbx
lea rdx, [0x140008cf8]
mov qword [rsp + 0x40], rdx
lea rcx, [0x140008cfc]
mov qword [rsp + 0x48], rcx
mov dword [rbp - 0x10], 0x7c04
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 8], xmm1
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x10], r14d
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x18], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x28], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d00]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008d08]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x30], 0xc
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x38], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x48], xmm1
mov qword [rsp + 0x38], rbx
lea rdx, [0x140008d10]
mov qword [rsp + 0x40], rdx
lea rcx, str.Nein
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x50], 7
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x58], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x68], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, str.o0D0
mov qword [rsp + 0x40], rcx
lea rcx, str.D0D0H0
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x70], 0x11
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x78], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x88], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d38]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008d40]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x90], 0x16
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x98], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0xa8], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d48]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r8
mov dword [rbp + 0xb0], 0xa
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0xb8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0xc8], xmm1
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdx
lea rcx, [0x140008d50]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0xd0], 0x13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0xd8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0xe8], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d58]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008d60]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0xf0], 0x19
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0xf8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x108], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d68]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008d70]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x110], 0x12
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x118], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d78]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008d80]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x130], 0x10
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x138], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x148], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008d88]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r8
mov dword [rbp + 0x150], 5
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x158], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x168], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, str.Evet
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008da0]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x170], 0x1f
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x178], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x188], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, str.Kyll
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008dbc]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x190], 0xb
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x198], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x1a8], xmm1
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdx
lea rcx, [0x140008dc8]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x1b0], 0x7c14
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x1b8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x1c8], xmm1
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdx
lea rcx, [0x140008dd0]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x1d0], 0x1d
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x1d8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x1e8], xmm1
mov qword [rsp + 0x38], rbx
lea rcx, [0x140008dd8]
mov qword [rsp + 0x40], rcx
lea rcx, [0x140008de0]
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0x1f0], 0x22
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x1f8], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rbp + 0x208], xmm1
mov r14, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], r15b
jne 0x14000406c
nop
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005350
mov rbx, qword [rbx]
mov edx, 0x40
mov rcx, rdi
call fcn.14000663c
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x140004040
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], r14
mov rax, qword [rsp + 0x50]
mov qword [rax], r14
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], r14
mov qword [rsp + 0x58], r12
lea rdi, [rbp - 0x30]
nop word [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140005560
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140005590
add rdi, 0x20
lea rax, [rbp + 0x210]
cmp rdi, rax
jne 0x140004090
mov edi, dword [rsp + 0x60]
mov r14d, 4
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, 0x404
movzx ecx, ax
sub cx, dx
mov edx, 0xe7ff
test dx, cx
jne 0x140004103
mov ecx, 0x1c04
cmp ax, cx
je 0x140004103
mov eax, 0x7c04
jmp 0x14000412f
mov ecx, 0x7804
cmp ax, cx
je 0x14000412b
mov ecx, 0x804
cmp ax, cx
je 0x14000412b
mov ecx, 0x1004
cmp ax, cx
je 0x14000412b
mov ecx, 0xff
and ax, cx
jmp 0x14000412f
movzx eax, r14w
movzx r8d, ax
mov rdx, qword [rsp + 0x50]
mov rbx, rdx
mov rax, qword [rdx + 8]
mov rcx, rax
movzx r9d, byte [rax + 0x19]
test r9b, r9b
jne 0x140004173
nop dword [rax]
cmp dword [rcx + 0x20], r8d
jge 0x14000415c
mov rcx, qword [rcx + 0x10]
jmp 0x140004162
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140004150
cmp rbx, rdx
je 0x140004173
cmp r8d, dword [rbx + 0x20]
jge 0x140004176
mov rbx, rdx
cmp rbx, rdx
jne 0x1400041a9
mov rbx, rdx
test r9b, r9b
jne 0x1400041a6
cmp dword [rax + 0x20], 9
jge 0x14000418f
mov rax, qword [rax + 0x10]
jmp 0x140004195
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140004183
cmp rbx, rdx
je 0x1400041a6
cmp dword [rbx + 0x20], 9
jle 0x1400041a9
mov rbx, rdx
mov rdx, qword [rbx + 0x28]
nop dword [rax]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1400041b0
test rsi, rsi
je 0x1400041cb
lea rcx, [rbp + 0x1af0]
call fcn.1400053e0
mov rdx, qword [rbx + 0x30]
lea rcx, [rbp + 0x16f0]
call fcn.1400054a0
mov rdx, qword [rbx + 0x38]
lea rcx, [rbp + 0x18f0]
call fcn.1400054a0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xad0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0xad0]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140004371
lea rdx, [rbp + 0x740]
lea rax, str._toast_launch___rogthermaltoast__duration____s___visual__binding_template___ToastGeneric___text__s__text__image_placement___appLogoOverride__src____s______binding___visual___toast_
mov ecx, 2
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x140004240
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov ecx, dword [rax + 0x70]
mov dword [rdx + 0x70], ecx
mov rax, qword [r13 + 0x10]
mov dword [rax], r15d
mov rax, qword [r13 + 0x10]
cmp dword [rax], 0
jne 0x140004363
mov dword [rax + 4], 0x626f
mov rcx, qword [r13 + 0x10]
add rcx, 0x1210
lea rdx, str.ARMOURY_GPU_Switch_Toasts_Class
call fcn.140005440
mov rcx, qword [r13 + 0x10]
add rcx, 0x1418
lea rdx, str.ARMOURY_GPU_Switch_Toasts_App
call fcn.140005440
mov rcx, qword [r13 + 0x10]
add rcx, 0x1008
lea r8, [rbp + 0xad0]
lea rdx, str._sMicrosoftWindowsStart_MenuProgramsARMOURY_CRATE.lnk
call fcn.140005440
mov rcx, qword [r13 + 0x10]
add rcx, 8
lea rax, [rbp + 0x530]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1af0]
lea r8, [rbp + 0x320]
lea rdx, [rbp + 0x740]
call fcn.140005500
test edi, edi
je 0x140004371
mov rax, qword [r13 + 0x10]
or dword [rax], 0x80000000
mov rax, qword [rsp + 0x50]
mov rsi, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1400043bc
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005350
mov rbx, qword [rbx]
mov edx, 0x40
mov rcx, rdi
call fcn.14000663c
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x140004390
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rsi
mov rax, qword [rsp + 0x50]
mov qword [rax], rsi
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x58], r12
mov edx, 0x40
mov rcx, qword [rsp + 0x50]
call fcn.14000663c
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
mov rcx, qword [rbp + 0x2af0]
xor rcx, rsp
call fcn.140006340
lea r11, [rsp + 0x2c00]
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