Function at 0x140058c70
Capabilities:
Create thread
Enumerate process modules
Execute command
Log keystrokes via polling
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x5c0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rbp + 0x540], rax
xor r13d, r13d
lea rcx, [0x14006f770]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp + 0x484], r13d
mov qword [rbp + 0x30], r13
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftClipboard
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140058d52
mov dword [rbp + 0x4c0], 4
lea rax, [rbp + 0x484]
mov qword [rbp + 0x4c8], rax
lea rax, [rbp + 0x4c0]
mov qword [rbp + 0x500], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x500]
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 0xb]
xor r8d, r8d
lea rdx, [0x14005eeb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140058d65
lea rdx, str.Registry_error_n
mov rcx, qword [0x14005e248]
call fcn.140006740
movabs r12, 0x4dab34f56262be59
movabs r9, 0x5fc819b8c33ac1c2
movabs rsi, 0x459a28c9111625f5
movabs rbx, 0xf7a77ec556c4e7e
movabs r15, 0xf915bf4f605b27c7
movabs rdi, 0x93bf45f2e6391b50
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
cmp dword [rbp + 0x484], 0x1337
jne 0x140058df4
movabs rax, 0x33f35a8d314b0eae
mov qword [rbp], rax
movabs rax, 0x6b140283334c3c1b
mov qword [rbp + 8], rax
movabs rax, 0xf915bf4f605b27e6
jmp 0x140058f3e
movabs r8, 0x33f35a8d314b0fae
mov qword [rbp], r8
movabs rdx, 0x695a03833b4c3c1b
mov qword [rbp + 8], rdx
movabs rcx, 0x96599f61043552a8
mov qword [rbp + 0x10], rcx
movabs rax, 0xbd916b9588507f31
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r9
mov qword [rbp + 0x4e0], r12
mov qword [rbp + 0x4e8], r9
mov qword [rbp], r8
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r9
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
movups xmm2, xmmword [rbp + 0x20]
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x500], ymm1
vxorps xmm2, xmm2, xmmword [rbp + 0x4e0]
vmovdqa xmmword [rbp + 0x520], xmm2
lea rdx, [rbp + 0x500]
mov rcx, qword [0x14005e248]
vzeroupper
call fcn.140006740
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14004f210
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140058efc
mov dword [rbp + 0x484], r13d
lea rax, [rbp + 0x484]
mov qword [rsp + 0x48], rax
mov rcx, r14
call fcn.140053970
mov rcx, r14
test rax, rax
jne 0x14005921a
call fcn.14004fd90
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
movabs rax, 0x33f35a8d314b0eae
mov qword [rbp], rax
movabs rax, 0x6a1e1683394c3c1b
mov qword [rbp + 8], rax
movabs rax, 0xf915bf4f605b09a3
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x500], xmm0
movaps xmmword [rbp + 0x510], xmm1
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
mov rcx, qword [0x14005e248]
lea rdx, [rbp + 0x500]
vmovdqa ymmword [rbp + 0x500], ymm1
vzeroupper
call fcn.140006740
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs r10, 0x36ff5a99314b0fae
mov qword [rbp], r10
movabs r9, 0x7d1f04821c376e0d
mov qword [rbp + 8], r9
movabs r8, 0xd97bda27177b7ab3
mov qword [rbp + 0x10], r8
movabs rdx, 0xb3cc2cd283547a37
mov qword [rbp + 0x18], rdx
movabs rcx, 0x22c7148c0e0ecb3f
mov qword [rbp + 0x20], rcx
movabs rax, 0x5fe63796a75fa5a3
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
mov qword [rbp + 0x4e0], r12
movabs r11, 0x5fc819b8c33ac1c2
mov qword [rbp + 0x4e8], r11
mov qword [rbp], r10
mov qword [rbp + 8], r9
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
movups xmm2, xmmword [rbp + 0x20]
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x500], ymm1
vxorps xmm2, xmm2, xmmword [rbp + 0x4e0]
vmovdqa xmmword [rbp + 0x520], xmm2
lea rdx, [rbp + 0x500]
mov rcx, qword [0x14005e248]
vzeroupper
call fcn.140006740
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400590dc
mov qword [rbp + 0x500], 0x14
nop dword [rax]
lea rcx, [rbp + 0x500]
call fcn.14000b4b0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400590c0
lea rcx, [0x14006f770]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rbp + 0x500], rsi
mov qword [rbp + 0x508], rbx
movabs rax, 0x45ff50ac3f245696
mov qword [rbp + 0x4c0], rax
mov qword [rbp + 0x4c8], rbx
movaps xmm0, xmmword [rbp + 0x4c0]
xorps xmm0, xmmword [rbp + 0x500]
movdqa xmmword [rbp + 0x4c0], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
lea rax, [rbp + 0x4c0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x140059153
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp]
call fcn.140006c00
lea rdx, [rbp]
call fcn.1400584b0
mov eax, dword [0x14007c8f0]
mov dword [rbp + 0x4c0], eax
mov qword [rbp + 0x4c8], r13
mov qword [rbp + 0x30], r13
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftClipboard
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005930f
mov dword [rbp], 3
lea rax, [rbp + 0x4c0]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x500], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x500]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x14005eeb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140059322
call fcn.14004fd90
test al, al
jne 0x140059246
lea rdx, str.____Failed_to_fully_unload_vulnerable_driver
mov rcx, qword [0x14005e3a8]
call fcn.140007ba0
lea rdx, [0x140007d80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp byte [rbp + 0x480], r13b
jne 0x140058efc
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
movabs rax, 0x29ef478a314b04ae
mov qword [rbp], rax
movabs rax, 0x6e151bcc214b201a
mov qword [rbp + 8], rax
movabs rax, 0x8b519f2a082f07a3
mov qword [rbp + 0x10], rax
movabs rax, 0x93bf45dc945c6d39
mov qword [rbp + 0x18], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
vmovdqu ymm0, ymmword [rbp + 0x4c0]
vpxor ymm1, ymm0, ymmword [rbp + 0x500]
vmovdqa ymmword [rbp + 0x500], ymm1
lea rdx, [rbp + 0x500]
mov rcx, qword [0x14005e248]
vzeroupper
call fcn.140006740
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.Registry_error_n
mov rcx, qword [0x14005e248]
call fcn.140006740
mov rax, qword [rbp + 0x4c8]
mov qword [0x14007cdc8], rax
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
movabs rax, 0x65ee478e314b0eae
mov qword [rbp], rax
movabs rax, 0x2f1f0f897b5e3d1d
mov qword [rbp + 8], rax
movabs rax, 0xf9159f75052846a5
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x500], ymm1
lea rdx, [rbp + 0x500]
mov rcx, qword [0x14005e248]
vzeroupper
call fcn.140006740
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
movabs rcx, 0x459a28c911165dc5
mov qword [rbp], rcx
mov qword [rbp + 8], rbx
movaps xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x4c0]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
mov rcx, rax
call fcn.140006740
lea rdx, [0x140054710]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x14007cdc8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140058470]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r12, r13
mov edx, dword [0x14007c8f0]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140059497
mov dword [rbp + 0x40], 0x438
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140059497
lea rdx, str.client.dll
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140059493
lea rdx, [rbp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x14005946b
mov r12, qword [rbp + 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14007c8e8], r12
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
movabs rax, 0x65ee478e314b0eae
mov qword [rbp], rax
movabs rax, 0x6b5403823005221d
mov qword [rbp + 8], rax
movabs rax, 0xc370cc2e027b4bab
mov qword [rbp + 0x10], rax
movabs rax, 0x93bf45f2e6391b70
mov qword [rbp + 0x18], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x500], ymm1
lea rdx, [rbp + 0x500]
mov rcx, qword [0x14005e248]
vzeroupper
call fcn.140006740
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
movabs rcx, 0x459a28c911165dc5
mov qword [rbp], rcx
mov qword [rbp + 8], rbx
movaps xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x4c0]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
mov rcx, rax
call fcn.140006740
lea rdx, [0x140054710]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x14007c8e8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140058470]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x140006700]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
mov qword [rbp + 0x4d0], r15
mov qword [rbp + 0x4d8], rdi
movabs rax, 0x31fb46a07c6440a1
mov qword [rbp], rax
movabs rax, 0x7c09128f3a1e1e1b
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rdi
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x510], xmm1
vmovdqu ymm0, ymmword [rbp + 0x500]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x500], ymm1
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rbx
movabs rax, 0x77a944ac7f64409e
mov qword [rbp], rax
movabs rax, 0xf7a77ec39002a50
mov qword [rbp + 8], rax
vmovaps xmm0, xmmword [rbp]
vxorps xmm0, xmm0, xmmword [rbp + 0x4c0]
vmovdqa xmmword [rbp], xmm0
lea rcx, [rbp]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x500]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [rbp + 0x480], 0xc3
mov r8d, dword [0x14007c8f0]
mov dword [rbp + 0x4c0], r8d
lea r8, [rbp + 0x480]
mov qword [rbp + 0x4d0], r8
mov qword [rbp + 0x4c8], rax
mov qword [rbp + 0x4d8], 1
mov qword [rbp + 0x30], r13
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftClipboard
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140059742
mov dword [rbp], 2
lea rax, [rbp + 0x4c0]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x500], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x500]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x14005eeb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140059755
lea rdx, str.Registry_error_n
mov rcx, qword [0x14005e248]
call fcn.140006740
mov qword [0x14007c8c8], r13
mov ecx, 8
call fcn.14005a478
lea rcx, [0x1400562c0]
mov qword [rax], rcx
mov qword [rbp + 0x500], rax
lea rcx, [rbp + 0x498]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140059930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x490], rax
test rax, rax
je 0x1400598c1
mov ecx, 8
call fcn.14005a478
lea rcx, [0x140007ed0]
mov qword [rax], rcx
mov qword [rbp + 0x500], rax
lea rcx, [rbp + 0x4a8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140059930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x4a0], rax
test rax, rax
je 0x1400598ae
cmp dword [rbp + 0x498], 0
je 0x1400598a2
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x498], eax
je 0x140059896
movaps xmm0, xmmword [rbp + 0x490]
movdqa xmmword [rbp], xmm0
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14005988a
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x490], xmm0
cmp dword [rbp + 0x4a8], eax
je 0x1400598a2
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x4a8], eax
je 0x140059896
movaps xmm0, xmmword [rbp + 0x4a0]
movdqa xmmword [rbp], xmm0
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14005988a
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x4a0], xmm0
cmp dword [rbp + 0x498], eax
je 0x1400598d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x4a8], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x498], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret