Function at 0x140105120
Capabilities:
Accept command line arguments
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1820]
mov eax, 0x1920
call fcn.1400a5da0
sub rsp, rax
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x1810], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xe30], eax
mov r14, 0xffffffffffffffff
mov r9, r14
lea r8, str.CSecurityCenterApp::Run
mov edx, 0x102
lea rcx, [rbp + 0xe34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x14016059c]
mov edx, 0x104
lea rcx, [rbp + 0xe34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, r14
lea r8, str.CSecurityCenterApp::Run
mov edx, 0x104
lea rcx, [rbp + 0x103c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
lea r15d, [r12 + 1]
lea r13, str.____s
add ecx, eax
je 0x140105288
mov dword [rsp + 0x60], r12d
call fcn.1400057e0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14010521a
call fcn.1400057e0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov dword [rbp - 0x50], 0x20
lea rax, [rbp + 0xe34]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x103c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x50]
movsx edx, r15w
call fcn.140004bd0
nop
mov qword [rsp + 0x58], r12
mov eax, r14d
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x140105283
nop dword [rax + rax]
call fcn.140005b50
mov eax, r14d
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x140105270
lock inc dword [rsp + 0x60]
mov rbx, qword [rdi + 0x1c0]
mov rcx, qword [rbx + 0x830]
call fcn.1400b1790
mov rsi, qword [rbx + 0x7f8]
mov rcx, rsi
call fcn.1400bf910
test eax, eax
je 0x1401052b6
mov rax, qword [rsi + 0x38]
mov qword [rsi + 0x40], rax
mov rcx, rbx
call fcn.1400dc6e0
mov rcx, rbx
call fcn.1400ef510
mov rcx, rbx
call fcn.1400ef090
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
jne 0x1401052e4
mov edx, r14d
jmp 0x140105514
lea r13, str.crash
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x1401053a0
cmp rax, rsi
jbe 0x14010531c
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x14010531c
cmp ax, 9
jne 0x1401053a0
add rbx, 0xe
mov edx, 0x23
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r10, rax
test rax, rax
je 0x1401053a0
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x1401053a0
movabs rcx, 0x100000201
bt rcx, rax
jae 0x1401053a0
mov edx, r12d
mov r9d, r12d
cmp rbx, r10
jae 0x1401053a0
nop word [rax + rax]
movzx r8d, word [rbx]
lea eax, [r8 - 0x30]
cmp ax, 9
ja 0x1401053a0
cmp edx, 0x5265c00
ja 0x1401053a0
inc r9d
lea edx, [rdx + rdx*4]
lea edx, [rdx - 0x18]
lea edx, [r8 + rdx*2]
add rbx, 2
cmp rbx, r10
jb 0x140105360
test r9d, r9d
je 0x1401053a0
mov qword [0x1401993d0], r13
test edx, edx
jns 0x14010550d
lea r13, [0x140165720]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x140105452
cmp rax, rsi
jbe 0x1401053d4
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x1401053d4
cmp ax, 9
jne 0x140105452
add rbx, 0xe
mov edx, 0x23
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r10, rax
test rax, rax
je 0x140105452
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x140105452
movabs rcx, 0x100000201
bt rcx, rax
jae 0x140105452
mov edx, r12d
mov r9d, r12d
cmp rbx, r10
jae 0x140105452
movzx r8d, word [rbx]
lea eax, [r8 - 0x30]
cmp ax, 9
ja 0x140105452
cmp edx, 0x5265c00
ja 0x140105452
inc r9d
lea edx, [rdx + rdx*4]
lea edx, [rdx - 0x18]
lea edx, [r8 + rdx*2]
add rbx, 2
cmp rbx, r10
jb 0x140105412
test r9d, r9d
je 0x140105452
mov qword [0x1401993d0], r13
test edx, edx
jns 0x14010550d
lea r13, [0x140165740]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x14010550a
cmp rax, rsi
jbe 0x14010548a
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x14010548a
cmp ax, 9
jne 0x14010550a
add rbx, 0x16
mov edx, 0x23
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r10, rax
test rax, rax
je 0x14010550a
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x14010550a
movabs rcx, 0x100000201
bt rcx, rax
jae 0x14010550a
mov edx, r12d
mov r9d, r12d
cmp rbx, r10
jae 0x14010550a
nop dword [rax + rax]
movzx r8d, word [rbx]
lea eax, [r8 - 0x30]
cmp ax, 9
ja 0x14010550a
cmp edx, 0x5265c00
ja 0x14010550a
inc r9d
lea edx, [rdx + rdx*4]
lea edx, [rdx - 0x18]
lea edx, [r8 + rdx*2]
add rbx, 2
cmp rbx, r10
jb 0x1401054d0
test r9d, r9d
je 0x14010550a
mov qword [0x1401993d0], r13
jmp 0x14010550d
mov edx, r14d
lea r13, str.____s
lea rcx, [rbp - 0x28]
call fcn.140106420
nop
mov rcx, qword [rdi + 0x3d8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
mov rax, qword [rax + 8]
call qword [case.0x14006aed5.0]
nop
lea rcx, [0x1401605d3]
mov rax, qword [rbp + 0x50]
test rax, rax
cmovne rcx, rax
mov rax, r14
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140105550
test rax, rax
jne 0x14010556b
cmp dword [rdi + 0x57c], 0xb
je 0x1401055eb
cmp dword [rdi + 0x57c], 9
je 0x1401055eb
mov rcx, qword [rdi + 0x438]
test rcx, rcx
je 0x1401055eb
mov rax, qword [rcx]
movabs rdx, 0x85a3989b9af57801
mov qword [rbp - 0x10], rdx
movabs rdx, 0xa48adc9abae64e38
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x10]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov r10, rax
test rax, rax
je 0x1401055eb
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8d, [r9 + 0x18]
mov edx, dword [rdi + 0x57c]
mov rcx, r10
call qword [case.0x14006aed5.0]
nop
lea rcx, [rbp + 0x20]
call fcn.14000b510
mov rcx, rdi
call fcn.140102390
test al, al
jne 0x14010569f
mov rcx, qword [rdi + 0x3d8]
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
mov rax, qword [rax + 8]
call qword [case.0x14006aed5.0]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14010565f
mov rbx, qword [rbx - 0xc]
test rbx, rbx
je 0x14010565f
mov rbx, qword [rbx + 8]
lea rcx, [rbp + 0xb0]
call fcn.14000b510
test rbx, rbx
je 0x14010566b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14010d3e0
mov rcx, rdi
call fcn.140101180
test al, al
jmp 0x1401056b7
lea rcx, [rbp + 0xb0]
call fcn.14000b510
call fcn.1401027a0
test al, al
je 0x14010568c
mov rcx, rdi
call fcn.140102ab0
test al, al
jne 0x14010568c
cmp byte [rdi + 0x569], al
jne 0x140105ffd
xor edx, edx
mov rcx, qword [rdi + 0x1c0]
call fcn.1400c3490
jmp 0x140105ffd
mov rcx, rdi
call fcn.140101f40
test al, al
jne 0x1401056bd
mov rcx, rdi
call fcn.140100d70
cmp rax, 1
jne 0x140105ffd
movzx eax, byte [rdi + 0x470]
test al, al
jne 0x140105ffd
mov rcx, qword [rdi + 0x460]
mov rax, qword [rcx]
lea r8, [0x140159578]
mov edx, 0xcb
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
mov rbx, rax
test rax, rax
je 0x14010580a
cmp word [rax], 0x3c
je 0x14010580a
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x4c], 4
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, Ordinal_21
lea r8, str.IsDecryptersFlow
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140105765
mov dword [rbp], eax
lea rax, [0x1401921e8]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x10], xmm0
mov rdx, qword [rbp + 0x18]
mov ecx, dword [rbp + 0x10]
jmp 0x14010576f
mov ecx, r12d
lea rdx, [0x1401921c0]
mov rax, qword [0x1401921c8]
cmp qword [rdx + 8], rax
jne 0x140105785
test ecx, ecx
jne 0x140105785
mov esi, dword [rbp - 0x68]
jmp 0x14010578c
mov esi, r12d
test ecx, ecx
jne 0x14010580a
xor edx, edx
mov r8d, 0x5b8
lea rcx, [rbp + 0x1258]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1250], 0xffffffff80000002
mov r8, rbx
mov edx, 0x64
lea rcx, [rbp + 0x1258]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.IsDecryptersFlow
mov edx, 0x64
lea rcx, [rbp + 0x1320]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [rbp + 0x13e8], 4
mov dword [rbp + 0x1808], r15d
lea rdx, [rbp + 0x1250]
mov rcx, rdi
call fcn.14010ce90
test esi, esi
je 0x14010580a
mov rcx, rdi
call fcn.140101630
jmp 0x140105ffd
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140199380], 0
jne 0x14010582d
lea rcx, [0x140199360]
call fcn.140040ae0
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [0x140199380], 0
je 0x140105a30
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140199380], 0
jne 0x14010586b
lea rcx, [0x140199360]
call fcn.140040ae0
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140199380]
test rcx, rcx
je 0x1401058a2
mov rax, qword [rcx]
lea r8, [0x140139758]
mov edx, 0xc8
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
mov rbx, rax
jmp 0x1401058a9
lea rbx, str._error_interface_not_inited_
lea rdx, [0x140139760]
mov rcx, r12
movzx eax, word [rdx + rcx*2]
cmp ax, word [rbx + rcx*2]
jne 0x1401058d8
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rbx + rcx*2 + 2]
jne 0x1401058d8
add rcx, 2
cmp rcx, 0x12
jne 0x1401058b3
jmp 0x140105a30
mov dword [rbp - 0x64], r12d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140105928
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140105958
mov dword [rbp - 0x48], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401396f0]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x64], 0
je 0x140105a30
lea rcx, [rbp + 0x560]
call fcn.14006cf70
lea rax, vtable.CEulaDlg.1.0
mov qword [rbp + 0x560], rax
lea rax, vtable.CEulaDlg.0
mov qword [rbp + 0x588], rax
mov dword [rbp + 0x5a4], 0x820a0008
mov dword [rbp + 0x5a8], 0xd0000
mov rax, qword [rdi + 0x440]
mov qword [rbp + 0xa08], rax
mov rax, qword [0x140192308]
mov qword [rbp + 0x7d0], rax
mov rax, qword [0x140192310]
mov qword [rbp + 0x7d8], rax
xor r9d, r9d
xor edx, edx
mov r8d, 0xcc
lea rcx, [rbp + 0x588]
call fcn.14006d150
mov r8d, r15d
mov edx, r15d
lea rcx, [rbp + 0x560]
call fcn.14006d500
mov rbx, rax
lea rax, vtable.bdHtmlDlg.1.0
mov qword [rbp + 0x560], rax
lea rax, vtable.bdHtmlDlg.0
mov qword [rbp + 0x588], rax
lea rcx, [rbp + 0x560]
call fcn.14006cbf0
cmp rbx, 1
jne 0x140105ffd
mov rcx, qword [rdi + 0x1c0]
call fcn.1400ecc80
mov rbx, qword [rdi + 0x1c0]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xa10], eax
mov r9, r14
lea r8, str.CMainDialog::thLoadPlugins
mov edx, 0x102
lea rcx, [rbp + 0xa14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x14016059c]
mov edx, 0x104
lea rcx, [rbp + 0xa14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, r14
lea r8, str.CMainDialog::thLoadPlugins
mov edx, 0x104
lea rcx, [rbp + 0xc1c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x140105b4a
mov dword [rsp + 0x70], r12d
call fcn.1400057e0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140105ae1
call fcn.1400057e0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rbp - 0x44], 0x20
lea rax, [rbp + 0xa14]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0xc1c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x44]
movsx edx, r15w
call fcn.140004bd0
nop
mov qword [rsp + 0x68], r12
mov eax, r14d
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x140105b45
call fcn.140005b50
mov eax, r14d
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x140105b32
lock inc dword [rsp + 0x70]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80
mov r9, rbx
lea r8, [0x1400350d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x7e0], rax
lea rcx, [rbp + 0xa10]
call fcn.1400091b0
mov rcx, qword [rdi + 0x1c0]
mov rax, qword [rcx]
mov rdx, qword [0x140192308]
mov rax, qword [rax + 0x130]
call qword [case.0x14006aed5.0]
mov rcx, qword [rdi + 0x1c0]
mov rax, qword [rcx]
mov rdx, qword [0x140192310]
mov rax, qword [rax + 0x138]
call qword [case.0x14006aed5.0]
mov rcx, qword [rdi + 0x1c0]
add rcx, 0x28
mov rax, qword [rcx]
xor r9d, r9d
xor edx, edx
mov r8d, 0xca
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rcx, qword [rdi + 0x1c0]
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140105cb0
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x140105c6c
mov dword [rbp - 0x58], r12d
call fcn.1400057e0
mov qword [rbp - 0x60], rax
lock inc dword [rbp - 0x58]
mov dword [rsp + 0x50], r15d
lea rcx, [rbp - 0x60]
call fcn.140005740
mov dword [rbp - 0x40], 4
lea rcx, str.frame_window_creation_failed
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401593f8]
mov qword [rsp + 0x20], rcx
lea r9, [0x140000000]
lea r8, [rbp - 0x40]
movsx edx, r12w
mov rcx, rax
call fcn.140004bd0
jmp 0x140105c71
mov r15d, dword [rsp + 0x50]
test r15b, 1
je 0x140105ffd
and r15d, 0xfffffffe
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x60], r12
mov eax, r14d
lock xadd dword [rbp - 0x58], eax
cmp eax, 1
js 0x140105ca7
call fcn.140005b50
mov eax, r14d
lock xadd dword [rbp - 0x58], eax
cmp eax, 1
jns 0x140105c95
lock inc dword [rbp - 0x58]
jmp 0x140105ffd
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140199380], 0
jne 0x140105cd3
lea rcx, [0x140199360]
call fcn.140040ae0
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140199380]
test rcx, rcx
je 0x140105d36
mov rax, qword [rcx]
mov rax, qword [rax + 0x88]
call qword [case.0x14006aed5.0]
mov rbx, rax
mov qword [rdi + 0x1b8], rax
test rax, rax
je 0x140105d3d
mov rdx, qword [rdi + 0x1c0]
mov rcx, qword [rdx + 0x28]
mov rax, qword [rcx]
lea rcx, [rdx + 0x28]
call qword [case.0x14006aed5.0]
mov r8, rbx
mov edx, 0xfffffff2
mov rcx, rax
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
jmp 0x140105d3d
mov qword [rdi + 0x1b8], r12
mov rcx, qword [rdi + 0x4f0]
test rcx, rcx
je 0x140105d6d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
test al, al
je 0x140105d6d
lea rcx, [rdi + 0x1b0]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x140], eax
mov dword [rbp + 0x144], 0x5b
mov r9, r14
lea r8, str.init_plugin_manager
mov edx, 0x102
lea rcx, [rbp + 0x146]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp + 0x144]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, r14
lea r8, [0x140159318]
mov edx, 0x104
lea rcx, [rbp + 0x34c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x140105e78
mov dword [rbp - 0x80], r12d
call fcn.1400057e0
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x140105e12
call fcn.1400057e0
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov dword [rbp - 0x3c], 0x20
lea rax, [rbp + 0x144]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x34c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x3c]
movsx edx, r15w
call fcn.140004bd0
nop
mov qword [rsp + 0x78], r12
mov eax, r14d
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
js 0x140105e74
call fcn.140005b50
mov eax, r14d
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
jns 0x140105e62
lock inc dword [rbp - 0x80]
mov rcx, qword [rdi + 0x1c0]
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov r12, rax
mov rcx, qword [rdi + 0x378]
mov rax, qword [rcx + 0x28]
lea rcx, [rdi + 0x378]
call qword [case.0x14006aed5.0]
mov r13, rax
xor ebx, ebx
mov dword [rbp - 0x18], ebx
lea r14, [rdi + 0x1e0]
mov qword [rbp - 0x20], r14
test r14, r14
je 0x140105ed1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, r15d
mov dword [rbp - 0x18], ebx
mov rax, qword [rdi + 0x1c8]
lea rcx, [rdi + 0x1c8]
mov rax, qword [rax + 0x18]
call qword [case.0x14006aed5.0]
mov qword [rdi + 0x208], r12
mov qword [rdi + 0x210], r13
mov esi, ebx
test ebx, ebx
jle 0x140105f1d
nop dword [rax]
test r14, r14
je 0x140105f14
test ebx, ebx
jle 0x140105f14
dec ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec esi
test esi, esi
jg 0x140105f00
mov dword [rbp - 0x18], ebx
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x140105fde
xor r12d, r12d
mov dword [rbp - 0x70], r12d
call fcn.1400057e0
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
test rax, rax
jne 0x140105f5b
call fcn.1400057e0
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [rbp + 0x140]
mov dword [rbp - 0x38], 0x20
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x144]
mov qword [rsp + 0x30], rax
lea rax, str.____s___d_
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x34c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x38]
mov rsi, 0xffffffffffffffff
movsx edx, si
mov rcx, rbx
call fcn.140004bd0
mov qword [rbp - 0x78], r12
mov eax, esi
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
js 0x140105fd8
call fcn.140005b50
mov eax, esi
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
jns 0x140105fc7
lock inc dword [rbp - 0x70]
jmp 0x140105fe1
xor r12d, r12d
mov rcx, qword [rdi + 0x1c0]
mov rax, qword [rcx]
mov r8d, r15d
xor edx, edx
mov rax, qword [rax + 0xf8]
call qword [case.0x14006aed5.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0xe0]
call qword [case.0x14006aed5.0]
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14010605b
mov rcx, qword [rbx + 0x20]
call fcn.1400522c0
lea rdx, [rbx + 0x28]
cmp byte [rbx + 0x68], 0
je 0x14010604d
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14010604d
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14006aed5.0]
mov qword [rbx + 0x60], r12
mov edx, 0x78
mov rcx, rbx
call fcn.140071e50
nop
lea rcx, [rbp + 0xe30]
call fcn.1400091b0
xor eax, eax
mov rcx, qword [rbp + 0x1810]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x1920]
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