Function at 0x1400071c0
Capabilities:
Check os version
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400cada8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
lea rax, [0x140000000]
xor r15d, r15d
mov dword [rsp + 0x6c], r9d
lea rax, [rax + 0xe0750]
mov r12, r8
mov r14, rcx
mov qword [rsp + 0x78], rcx
mov ebx, r15d
mov qword [0x140142818], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
lea edx, [r15 + 8]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
lea edx, [r15 + 0xa]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rcx, qword [0x140142818]
lea r9, [0x14013d540]
lea r8, [rcx + 0xf4]
lea rdx, [rcx + 0xf0]
add rcx, 0x6a4
mov dword [rsp + 0x64], eax
call fcn.1400080d0
mov rdi, qword [0x140142818]
mov ecx, dword [rdi + 0xf4]
mov eax, dword [rdi + 0xf0]
cmp dword [rdi + 0x6a4], 4
mov esi, 1
mov r13d, r15d
cmove r13d, esi
add ecx, 0xa
inc eax
mov edx, esi
imul ecx, eax
movsxd rcx, ecx
call fcn.14002c438
lea edx, [rsi + 3]
mov qword [rdi + 0xae8], rax
mov rdi, qword [0x140142818]
mov eax, dword [rdi + 0xf4]
add eax, 0xa
movsxd rcx, eax
call fcn.14002c438
mov qword [rdi + 0xaf0], rax
call fcn.140004e60
mov rdi, qword [0x140142818]
mov edx, r15d
cmp dword [rdi + 0xf4], edx
jle 0x14000732d
mov ecx, 0xba
movzx eax, word [rdi + 0xf0]
inc edx
add rcx, 2
mov word [rcx + rdi - 0x34], ax
mov rax, qword [0x140142818]
mov word [rcx + rax - 2], si
mov rdi, qword [0x140142818]
cmp edx, dword [rdi + 0xf4]
jl 0x140007300
mov eax, dword [rdi + 0xf4]
mov edx, 2
imul eax, dword [rdi + 0xf0]
movsxd rcx, eax
mov dword [0x1400fcaac], eax
call fcn.14002c438
mov edx, 2
mov qword [rdi + 0x68], rax
movsxd rcx, dword [0x1400fcaac]
call fcn.14002c438
mov rcx, qword [0x140142818]
mov edx, 2
mov qword [rcx + 0x70], rax
mov eax, dword [0x1400fcaac]
inc eax
movsxd rcx, eax
call fcn.14002c438
mov rcx, qword [0x140142818]
mov edx, 2
mov qword [rcx + 0x78], rax
movsxd rcx, dword [0x1400fcaac]
call fcn.14002c438
mov rcx, qword [0x140142818]
mov edi, r15d
mov qword [rcx + 0x80], rax
mov rax, qword [0x140142818]
mov dword [rax + 0x6d4], r15d
cmp dword [0x1400fcaac], ebx
jle 0x140007425
mov rdx, r15
mov r8d, reloc.LMGR10.dll_Ordinal_32
nop
mov rax, qword [0x140142818]
inc edi
add rdx, 2
mov rcx, qword [rax + 0x68]
mov word [rdx + rcx - 2], r15w
mov rax, qword [0x140142818]
mov rcx, qword [rax + 0x70]
mov word [rdx + rcx - 2], r15w
mov rax, qword [0x140142818]
mov rcx, qword [rax + 0x78]
mov word [rdx + rcx - 2], r15w
mov rax, qword [0x140142818]
mov rcx, qword [rax + 0x80]
mov word [rdx + rcx - 2], r8w
cmp edi, dword [0x1400fcaac]
jl 0x1400073d0
mov rax, qword [0x140142818]
mov dword [rax + 0xae0], esi
mov rcx, qword [0x140142818]
mov eax, dword [rcx + 0x6a4]
cmp eax, esi
jne 0x14000744f
lea r8, str.COSMOS_to_NASTRAN_Translator_V2014__
jmp 0x140007546
cmp eax, 2
jne 0x140007460
lea r8, str.COSMOS_to_ANSYS_Translator_V2014__
jmp 0x140007546
cmp eax, 3
jne 0x140007471
lea r8, str.COSMOS_to_PATRAN_Translator_V2014__
jmp 0x140007546
cmp eax, 4
jne 0x140007482
lea r8, str.COSMOS________I_DEAS_Translator_V2014__
jmp 0x140007546
cmp eax, 5
jne 0x140007493
lea r8, str.COSMOS_to_ABAQUS_Translator_V2014__
jmp 0x140007546
cmp eax, 6
jne 0x1400074a4
lea r8, str.COSMOS________ADAMS___FEA_Translator_V2014__
jmp 0x140007546
cmp eax, 7
jne 0x1400074b5
lea r8, str.COSMOS_to_EXODUS_Translator_V2014__
jmp 0x140007546
cmp eax, 0xb
jne 0x1400074c3
lea r8, str.NASTRAN_to_COSMOS_Translator_V2014__
jmp 0x140007511
cmp eax, 0xc
jne 0x1400074d1
lea r8, str.ANSYS_to_COSMOS_Translator_V2014__
jmp 0x140007511
cmp eax, 0xd
jne 0x1400074df
lea r8, str.PATRAN_to_COSMOS_Translator_V2014__
jmp 0x140007511
cmp eax, 0xe
je 0x14000753f
cmp eax, 0xf
je 0x14000753f
cmp eax, 0x10
jne 0x1400074f7
lea r8, str.POSTNAS_Translator_V2014__
jmp 0x140007511
cmp eax, 0x16
jne 0x140007505
lea r8, str.ALGOR_to_COSMOS_Translator_V2014__
jmp 0x140007511
cmp eax, 0x21
jne 0x140007535
lea r8, str.CROSSLIGHT_to_COSMOS_Translator_V2014__
add rcx, 0x404
mov edx, 0x100
call fcn.14002d2c0
mov rdx, qword [0x140142818]
mov dword [rdx + 0xae0], 2
jmp 0x140007557
cmp eax, 9
je 0x14000753f
cmp eax, 0xa
jne 0x140007557
lea r8, str.V2014__
mov edx, 0x100
add rcx, 0x404
call fcn.14002d2c0
call qword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x140007595
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 3
jne 0x140007595
mov r8, qword [0x140142818]
lea rdx, str.This_application_cannot_run_on_Windows_3.1._nThis_application_will_now_terminate.
mov r9d, 0x10010
add r8, 0x404
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
jmp 0x14000809d
call fcn.140004e60
mov rdx, qword [0x140142818]
mov ecx, 0x10
mov qword [rdx + 0x6b0], r14
mov qword [0x14013d7a0], 0xc0c0c0
mov dword [0x14013d7a8], 0xff0000
mov dword [0x14013d7ac], 0xff
mov dword [0x14013d7b0], 0xffffff
mov dword [0x14013d7b4], 0xffff00
mov dword [0x14013d7b8], 0x8000ff
mov qword [0x14013d7bc], 0x8080
mov dword [0x14013d7c4], 0xc800
mov dword [0x14013d7c8], 0xff00ff
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [0x140142818]
mov dword [0x14013d7cc], eax
mov rcx, qword [rcx]
xor r9d, r9d
mov r8d, 0x3e8
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetTimer]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetSysColor]
xor edx, edx
xor ecx, ecx
mov r8d, eax
call qword [sym.imp.GDI32.dll_CreatePen]
mov ecx, 0x14
mov qword [0x1400e0748], rax
call qword [sym.imp.USER32.dll_GetSysColor]
xor edx, edx
mov r8d, eax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, dword [0x14013d7a0]
xor edx, edx
xor ecx, ecx
mov qword [0x1400e0730], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, dword [0x14013d7a8]
xor edx, edx
xor ecx, ecx
mov qword [0x1400df308], rax
call qword [sym.imp.GDI32.dll_CreatePen]
lea r8, str.generic
lea rcx, [0x1400df320]
mov edx, 0x100
mov qword [0x14013d880], r15
mov qword [0x14013d888], r15
mov qword [0x1400df318], rax
mov qword [0x14013d890], r15
mov qword [0x14013d898], r15
mov qword [0x14013d8a0], r15
call fcn.14002d2c0
or rcx, 0xffffffffffffffff
mov edx, esi
xor eax, eax
mov rdi, r12
mov dword [0x14013d880], 9
mov dword [0x1400fcaa0], edx
repne scasw ax, word [rdi]
not rcx
mov esi, r15d
mov r10d, r15d
dec rcx
mov r8, r15
inc rcx
je 0x1400077c2
mov r9, r12
lea r11, [0x1400df320]
nop word [rax + rax]
movzx edi, word [r9]
cmp di, 0x20
jne 0x140007730
test ebx, ebx
jne 0x14000777b
jmp 0x14000774f
cmp di, 0x22
jne 0x140007772
test ebx, ebx
jne 0x140007747
mov ebx, 1
mov esi, r15d
mov r8, r15
jmp 0x1400077a0
cmp ebx, 1
jne 0x14000777b
mov ebx, r15d
movsxd rax, edx
shl rax, 8
add rax, r8
mov word [r11 + rax*2], r15w
test esi, esi
jle 0x14000776a
inc edx
mov dword [0x1400fcaa0], edx
mov esi, r15d
mov r8, r15
jmp 0x1400077a0
test di, di
je 0x14000787a
movsxd rcx, edx
inc esi
mov rax, rcx
shl rax, 8
add rax, r8
inc r8
mov word [r11 + rax*2], di
lea rax, [0x140000000]
mov dword [rax + rcx*4 + 0x13d880], esi
xor eax, eax
or rcx, 0xffffffffffffffff
inc r10d
mov rdi, r12
add r9, 2
repne scasw ax, word [rdi]
movsxd rax, r10d
not rcx
cmp rax, rcx
jb 0x140007720
lea r12, [0x1400df320]
movsxd rax, edx
lea r8d, [rdx + 1]
mov ebx, r15d
shl rax, 9
mov word [rax + r12 + 0x200], r15w
test r8d, r8d
jle 0x140007903
nop dword [rax]
movsxd rdx, ebx
lea rdi, str._HWND
mov ecx, 6
shl rdx, 9
add rdx, r12
mov rsi, rdx
repe cmpsw word [rsi], word [rdi]
je 0x1400078cc
lea rdi, str._silent
mov rsi, rdx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
je 0x1400078b8
lea rdi, str._batch
mov rsi, rdx
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
je 0x1400078b8
lea rdi, str._window
mov rsi, rdx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
je 0x1400078a8
lea rdi, [0x1400a9e78]
mov rsi, rdx
mov ecx, 4
repe cmpsw word [rsi], word [rdi]
je 0x140007903
inc ebx
cmp ebx, r8d
jl 0x1400077f0
jmp 0x140007903
movsxd rcx, edx
movsxd rax, esi
lea r12, [0x1400df320]
shl rcx, 8
add rcx, rax
mov word [r12 + rcx*2], r15w
test esi, esi
jle 0x1400077c9
inc edx
mov dword [0x1400fcaa0], edx
jmp 0x1400077c9
mov rax, qword [0x140142818]
mov dword [rax + 0xec], r15d
jmp 0x140007903
mov rax, qword [0x140142818]
mov ebx, 1
mov dword [rax + 0xec], ebx
jmp 0x140007908
lea eax, [rbx + 1]
movsxd rcx, eax
shl rcx, 9
add rcx, r12
call fcn.14002d114
mov edx, eax
movsxd rax, ebx
shl rax, 9
sub dword [0x1400fcaa0], 2
mov qword [0x1400e1460], rdx
mov word [rax + r12], r15w
mov word [rax + r12 + 0x200], r15w
mov ebx, 1
xor ecx, ecx
call fcn.14002cf64
mov rcx, qword [0x140142818]
mov qword [rcx + 0x60], rax
cmp dword [0x1400fcaa0], 1
jle 0x140007a02
mov rcx, qword [0x140142818]
lea eax, [r13 + 1]
mov edx, 0x100
movsxd rsi, eax
add rcx, 0x6d8
shl rsi, 9
add rsi, r12
mov r8, rsi
call fcn.14002d2c0
mov rcx, qword [0x140142818]
lea edx, [r13 + 2]
movsxd r8, edx
add rcx, 0x8d8
mov edx, 0x100
shl r8, 9
add r8, r12
call fcn.14002d2c0
mov rdx, qword [0x140142818]
or rcx, 0xffffffffffffffff
mov dword [rdx + 0xae0], ebx
mov rdx, qword [0x140142818]
xor eax, eax
lea rdi, [rdx + 0x6d8]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov dword [rdx + 0xad8], ecx
mov rdx, qword [0x140142818]
or rcx, 0xffffffffffffffff
lea rdi, [rdx + 0x8d8]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov dword [rdx + 0xadc], ecx
test ecx, ecx
jne 0x140007b11
mov rcx, qword [0x140142818]
mov r8, rsi
mov edx, 0x100
add rcx, 0x8d8
call fcn.14002d2c0
mov rdx, qword [0x140142818]
mov eax, dword [rdx + 0xad8]
mov dword [rdx + 0xadc], eax
jmp 0x140007b11
lea r8, [0x1400a9e6c]
lea rdx, str.X.BAT
lea rcx, [rsp + 0x70]
call fcn.14002c3e4
test eax, eax
jne 0x140007b0b
mov rcx, qword [0x140142818]
mov r8, qword [rsp + 0x70]
mov edx, 0x100
add rcx, 0x6d8
call fcn.14002d1f0
movsxd rcx, r13d
lea r8, [0x1400a9e58]
shl rcx, 9
mov edx, 0x100
add rcx, r12
call fcn.14002d2c0
mov r8, qword [0x140142818]
lea eax, [r13 + 1]
movsxd rcx, eax
add r8, 0x6d8
mov edx, 0x100
shl rcx, 9
add rcx, r12
call fcn.14002d2c0
mov r8, qword [0x140142818]
lea eax, [r13 + 2]
movsxd rcx, eax
add r8, 0x6d8
mov edx, 0x100
shl rcx, 9
add rcx, r12
call fcn.14002d2c0
mov rcx, qword [0x140142818]
mov edx, 0x100
lea r8, [rcx + 0x6d8]
add rcx, 0x8d8
call fcn.14002d2c0
mov rdx, qword [0x140142818]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rdx + 0x6d8]
repne scasw ax, word [rdi]
not rcx
sub ecx, 2
mov dword [rdx + 0xad8], ecx
mov rax, qword [0x140142818]
mov dword [rax + 0xadc], ecx
mov rcx, qword [rsp + 0x70]
call fcn.14002be60
mov dword [0x1400fcaa0], 3
jmp 0x140007b11
mov dword [0x1400fcaa0], ebx
lea rax, [0x140006e20]
lea rdx, str.GenericIcon
mov rcx, r14
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, ebx
mov qword [rbp - 0x48], rax
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x40], rax
mov rax, qword [0x140142818]
mov qword [rbp - 0x38], r15
add rax, 0x404
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rcx, qword [0x1400e1460]
test rcx, rcx
je 0x140007bf6
lea rdx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp + 0x1c]
mov rcx, qword [0x1400e1460]
mov edi, dword [rbp + 0x10]
mov r12d, dword [rbp + 0x14]
mov r15d, dword [rbp + 0x18]
mov dword [rsp + 0x60], edx
lea rdx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [0x140142818]
mov ebx, dword [rbp + 0x18]
mov eax, dword [rdx + 0xf0]
mov r13d, dword [rbp + 0x10]
mov r14d, dword [rbp + 0x14]
imul eax, eax, 7
mov esi, dword [rbp + 0x1c]
cmp ebx, eax
jl 0x140007c28
mov esi, dword [rdx + 0xf4]
mov ebx, eax
sub eax, r13d
lea r15d, [rax + rdi + 7]
imul esi, esi, 0xf
mov eax, esi
sub eax, r14d
lea eax, [rax + r12 + 0x19]
mov dword [rsp + 0x60], eax
jmp 0x140007c2c
mov rdx, qword [0x140142818]
mov r13d, r15d
mov r14d, r15d
mov ebx, dword [rdx + 0xf0]
mov esi, dword [rdx + 0xf4]
mov edi, r15d
mov r12d, r15d
imul ebx, ebx, 7
imul esi, esi, 0xf
lea eax, [rsi + 0x19]
mov dword [rsp + 0x60], eax
lea r15d, [rbx + 7]
jmp 0x140007c2c
mov eax, dword [rsp + 0x60]
mov r8, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, eax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r9
sub ecx, r12d
mov eax, r15d
mov dword [rsp + 0x38], ecx
add rdx, 0x404
sub eax, edi
mov dword [rsp + 0x30], eax
mov ecx, 1
mov r9d, 0xca0000
mov r8, rdx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x140142818]
mov qword [rcx], rax
mov eax, dword [0x14013d540]
cmp eax, 1
jne 0x140007d03
mov rcx, qword [0x140142818]
mov eax, esi
sub eax, r14d
cdq
idiv dword [rcx + 0xf4]
mov dword [rbp + 0x20], eax
mov eax, ebx
sub eax, r13d
cdq
idiv dword [rcx + 0xf0]
xor r12d, r12d
mov qword [rbp + 0x30], 0x1f4
mov qword [rbp + 0x28], r12
mov ecx, r12d
mov dword [rbp + 0x38], 0x31020201
lea r12, [0x140000000]
mov dword [rbp + 0x24], eax
nop dword [rax + rax]
movzx eax, word [rcx + r12 + 0xa9e28]
add rcx, 2
mov word [rbp + rcx + 0x3a], ax
test ax, ax
jne 0x140007ce0
lea rcx, [rbp + 0x20]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x140007d11
cmp eax, 2
jne 0x140007d1f
lea ecx, [rax + 0xf]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, qword [0x140142818]
mov qword [rcx + 0x6a8], rax
mov rcx, qword [0x140142818]
xor r12d, r12d
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [0x140142818]
mov qword [rcx + 0xf8], rax
mov rdx, qword [0x140142818]
mov rcx, rax
mov rdx, qword [rdx + 0x6a8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x140142818]
lea r9, [0x1400fd540]
mov rcx, qword [rcx + 0xf8]
xor edx, edx
mov r8d, 0xffff
call qword [sym.imp.GDI32.dll_GetCharWidthW]
mov rcx, qword [0x140142818]
lea rdx, [rbp + 0x80]
mov rcx, qword [rcx + 0xf8]
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [rbp + 0x88]
mov rax, qword [0x140142818]
add ecx, dword [rbp + 0x84]
lea edx, [r12 + 1]
xor r9d, r9d
mov dword [rax + 0x100], ecx
mov ecx, dword [rbp + 0x94]
mov rax, qword [0x140142818]
inc ecx
mov r8d, 0x3e8
mov dword [rax + 0x104], ecx
mov rax, qword [0x140142818]
imul ecx, dword [rax + 0xf0]
mov dword [rax + 0x10c], ecx
mov rcx, qword [0x140142818]
mov eax, dword [rcx + 0x100]
imul eax, dword [rcx + 0xf4]
mov dword [rcx + 0x110], eax
mov rcx, qword [0x140142818]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetTimer]
mov rdi, qword [0x140142818]
mov edx, dword [rsp + 0x64]
mov eax, dword [rdi + 0x110]
mov ecx, dword [rdi + 0x10c]
sub r14d, esi
add r14d, dword [rsp + 0x60]
sub edx, eax
sub r13d, ebx
add r14d, eax
mov eax, edx
add r13d, ecx
cdq
mov dword [rsp + 0x30], r12d
add r13d, r15d
sub eax, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r13d
sar eax, 1
mov r9d, eax
mov eax, dword [rsp + 0x68]
sub eax, ecx
mov rcx, qword [rdi]
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140142818]
cmp dword [rcx + 0xec], r12d
jne 0x140007e92
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140142818]
mov rcx, qword [rcx]
lea rdx, [0x1400fd500]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov rcx, qword [0x140142818]
mov edx, 2
mov rcx, qword [rcx + 0xf8]
call qword [sym.imp.GDI32.dll_SetBkMode]
mov rcx, qword [0x140142818]
mov edx, dword [0x14013d7a0]
mov rcx, qword [rcx + 0xf8]
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [0x140142818]
mov edx, dword [0x14013d7a4]
mov rcx, qword [rcx + 0xf8]
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rax, qword [0x140142818]
mov ecx, 1
mov word [rax + 0x10a], r12w
mov rax, qword [0x140142818]
mov word [rax + 0x108], cx
mov rax, qword [0x140142818]
mov dword [rax + 0x14c], ecx
mov rax, qword [0x140142818]
mov dword [rax + 0x150], r12d
mov rax, qword [0x140142818]
mov dword [rax + 0x154], r12d
mov rcx, qword [0x140142818]
mov eax, dword [rcx + 0x10c]
mov dword [rcx + 0x158], eax
mov rcx, qword [0x140142818]
mov eax, dword [rcx + 0x110]
mov dword [rcx + 0x15c], eax
mov rax, qword [0x140142818]
mov dword [rax + 0x160], 3
mov rax, qword [0x140142818]
mov dword [rax + 0x164], 4
mov rcx, qword [0x140142818]
mov eax, dword [rcx + 0x164]
mov r9d, dword [rcx + 0x15c]
mov r8d, dword [rcx + 0x158]
mov edx, dword [rcx + 0x154]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x160]
mov ecx, dword [rcx + 0x150]
mov dword [rsp + 0x20], eax
call fcn.140004130
mov rcx, qword [0x140142818]
lea r9, str.__Stop
mov eax, dword [rcx + 0xf4]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x68]
dec eax
mov dword [rsp + 0x64], 3
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0xf0]
lea rcx, [rsp + 0x64]
sub eax, 0xd
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140005110
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [0x140142818]
mov edx, 2
mov qword [rcx + 8], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea rdx, [rbp - 0x80]
lea r8, [0x140006fb0]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140142818]
xor r9d, r9d
xor r8d, r8d
mov qword [rcx + 0x10], rax
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000809a
nop dword [rax + rax]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140008070
mov eax, dword [rbp - 0x10]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14002cdc0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret