Function at 0x140039ff0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x50], eax
lea r9, [rsi - 1]
lea r15, str.Model::Load
mov r8, r15
mov edx, 0x102
lea rcx, [rbp + 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1400802d4]
mov edx, 0x104
lea rcx, [rbp + 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [rsi - 1]
mov r8, r15
mov edx, 0x104
lea rcx, [rbp + 0x25c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
lea r12d, [rsi + 1]
lea r14, [0x140000000]
add ecx, eax
je 0x14003a13a
mov dword [rsp + 0x50], esi
call fcn.140002930
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14003a0cb
call fcn.140002930
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rbp - 0x18], 0x20
lea rax, [rbp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x25c]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rbp - 0x18]
movsx edx, r12w
call fcn.140001eb0
nop
mov qword [rsp + 0x48], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x14003a135
nop
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x14003a120
lock inc dword [rsp + 0x50]
xor dil, dil
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbp + 0x38], rsi
lea rax, [0x1400991b8]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x10], r14
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x18]
call fcn.140039c10
nop
mov qword [rbp + 0x10], rsi
cmp dword [rbp + 0x38], 0
je 0x14003a2a4
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a1ed
mov dword [rsp + 0x60], esi
call fcn.140002930
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov dword [rsp + 0x40], r12d
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003a1b9
call fcn.140002930
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov dword [rbp - 0x14], 4
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, str.winapi::dll::get_foldername_failed_with_error_code__d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp - 0x14]
movsx edx, si
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 1
je 0x14003a22b
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x14003a226
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x14003a211
lock inc dword [rsp + 0x60]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003a26c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a266
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a9e3
call fcn.14003edd0
nop
lea rcx, [rbp + 0x50]
call fcn.140001f10
movzx eax, dil
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14003edb0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r8d, 0x11
lea rdx, str.oneclickmodel.dll
lea rcx, [rbp + 0x18]
call fcn.140003f40
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14003a3a0
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a359
mov dword [rsp + 0x70], esi
call fcn.140002930
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x14003a31f
call fcn.140002930
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x10], 4
mov dword [rsp + 0x30], eax
lea rax, str.LoadLibraryW_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp - 0x10]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 2
je 0x14003a22b
and eax, 0xfffffffd
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x68], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x14003a396
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x14003a381
lock inc dword [rsp + 0x70]
jmp 0x14003a22b
lea rdx, str.SetCommand
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14003a47d
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a438
mov dword [rbp - 0x80], esi
call fcn.140002930
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov dword [rsp + 0x40], 4
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x14003a3fe
call fcn.140002930
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0xc], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp - 0xc]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 4
je 0x14003a22b
and eax, 0xfffffffb
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x78], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
js 0x14003a474
nop
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
jns 0x14003a460
lock inc dword [rbp - 0x80]
jmp 0x14003a22b
lea rdx, str.Create
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14003a555
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a512
mov dword [rbp - 0x70], esi
call fcn.140002930
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov dword [rsp + 0x40], 8
mov rax, qword [rbp - 0x78]
test rax, rax
jne 0x14003a4d9
call fcn.140002930
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 8], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp - 8]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 8
je 0x14003a22b
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x78], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
js 0x14003a54c
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
jns 0x14003a538
lock inc dword [rbp - 0x70]
jmp 0x14003a22b
lea rdx, str.Destroy
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14003a62d
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a5ea
mov dword [rbp - 0x60], esi
call fcn.140002930
mov qword [rbp - 0x68], rax
lock inc dword [rbp - 0x60]
mov dword [rsp + 0x40], 0x10
mov rax, qword [rbp - 0x68]
test rax, rax
jne 0x14003a5b1
call fcn.140002930
mov qword [rbp - 0x68], rax
lock inc dword [rbp - 0x60]
mov rbx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 4], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp - 4]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 0x10
je 0x14003a22b
and eax, 0xffffffef
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x68], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x60], eax
cmp eax, 1
js 0x14003a624
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x60], eax
cmp eax, 1
jns 0x14003a610
lock inc dword [rbp - 0x60]
jmp 0x14003a22b
lea rdx, str.Initialize
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x14003a705
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a6c2
mov dword [rbp - 0x50], esi
call fcn.140002930
mov qword [rbp - 0x58], rax
lock inc dword [rbp - 0x50]
mov dword [rsp + 0x40], 0x20
mov rax, qword [rbp - 0x58]
test rax, rax
jne 0x14003a689
call fcn.140002930
mov qword [rbp - 0x58], rax
lock inc dword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 0x20
je 0x14003a22b
and eax, 0xffffffdf
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x58], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x50], eax
cmp eax, 1
js 0x14003a6fc
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x50], eax
cmp eax, 1
jns 0x14003a6e8
lock inc dword [rbp - 0x50]
jmp 0x14003a22b
lea rdx, str.Terminate
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14003a7dd
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a79a
mov dword [rbp - 0x40], esi
call fcn.140002930
mov qword [rbp - 0x48], rax
lock inc dword [rbp - 0x40]
mov dword [rsp + 0x40], 0x40
mov rax, qword [rbp - 0x48]
test rax, rax
jne 0x14003a761
call fcn.140002930
mov qword [rbp - 0x48], rax
lock inc dword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp + 4]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, 0x40
je 0x14003a22b
and eax, 0xffffffbf
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x48], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x40], eax
cmp eax, 1
js 0x14003a7d4
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x40], eax
cmp eax, 1
jns 0x14003a7c0
lock inc dword [rbp - 0x40]
jmp 0x14003a22b
lea rdx, str.Start
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14003a8bd
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a872
mov dword [rbp - 0x30], esi
call fcn.140002930
mov qword [rbp - 0x38], rax
lock inc dword [rbp - 0x30]
mov dword [rsp + 0x40], 0x80
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x14003a839
call fcn.140002930
mov qword [rbp - 0x38], rax
lock inc dword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp + 8]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
test al, al
jns 0x14003a22b
btr eax, 7
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x38], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x30], eax
cmp eax, 1
js 0x14003a8b4
nop dword [rax]
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x30], eax
cmp eax, 1
jns 0x14003a8a0
lock inc dword [rbp - 0x30]
jmp 0x14003a22b
lea rdx, str.Stop
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14003a99d
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
add ecx, eax
je 0x14003a952
mov dword [rbp - 0x20], esi
call fcn.140002930
mov qword [rbp - 0x28], rax
lock inc dword [rbp - 0x20]
mov dword [rsp + 0x40], pe_nt_image_headers64
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x14003a919
call fcn.140002930
mov qword [rbp - 0x28], rax
lock inc dword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xc], 4
mov dword [rsp + 0x30], eax
lea rax, str.GetProcAddress_failed_with_error_code__u
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, [rbp + 0xc]
movsx edx, si
mov rcx, rbx
call fcn.140001eb0
nop
mov eax, dword [rsp + 0x40]
bt eax, 8
jae 0x14003a22b
btr eax, 8
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x28], rsi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x20], eax
cmp eax, 1
js 0x14003a994
nop dword [rax + rax]
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rbp - 0x20], eax
cmp eax, 1
jns 0x14003a980
lock inc dword [rbp - 0x20]
jmp 0x14003a22b
mov dil, 1
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003a26c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a266
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a266
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3