Function at 0x1400471d0
Capabilities:
Create thread
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x330]
sub rsp, 0x430
movaps xmmword [rsp + 0x420], xmm6
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor ebx, ebx
lea ecx, [rbx + 8]
call fcn.140048dd4
lea rcx, [0x140042ec0]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140048860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004778f
cmp dword [rbp - 0x48], ebx
je 0x140047783
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140047783
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea ecx, [rbx + 8]
call fcn.140048dd4
lea rcx, [0x140043d40]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140048860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140047774
cmp dword [rbp - 0x48], ebx
je 0x140047768
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140047768
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea ecx, [rbx + 8]
call fcn.140048dd4
lea rcx, [0x140044250]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140048860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140047759
cmp dword [rbp - 0x48], ebx
je 0x14004774d
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004774d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea ecx, [rbx + 8]
call fcn.140048dd4
lea rcx, [fcn.140043c80]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140048860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004773e
cmp dword [rbp - 0x48], ebx
je 0x140047732
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140047732
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea ecx, [rbx + 8]
call fcn.140048dd4
lea rcx, [0x1400446b0]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140048860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140047723
cmp dword [rbp - 0x48], ebx
je 0x140047717
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140047717
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.140040050
cmp eax, dword [rbp - 0x30]
jne 0x140047430
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140057ac8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140057ab8], rax
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x48]
mov edx, dword [rbp - 0x50]
sub eax, edx
mov dword [0x140057a44], eax
mov eax, dword [rbp - 0x44]
mov ecx, dword [rbp - 0x4c]
sub eax, ecx
mov dword [0x140057ab0], eax
mov dword [0x140057ac0], edx
mov dword [0x140057ab4], ecx
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, qword [0x140057ab8]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
mov rcx, qword [0x140057ab8]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov r9d, 0x104
lea r8, [rbp + 0x200]
xor edx, edx
mov rcx, qword [0x140057ac8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rcx, [rbp - 0x50]
call fcn.1400400f0
cmp qword [rax + 0x18], 0x10
jb 0x140047502
mov rax, qword [rax]
mov qword [0x140057a48], rax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140047547
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048990
mov qword [rsp + 0x60], 0x50
lea rax, [0x140047020]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x80], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
xorps xmm6, xmm6
mov rax, qword [0x140057a48]
mov qword [rbp - 0x60], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [0x140057a50], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x140057a60], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x140057a70], xmm0
movaps xmmword [0x140057a80], xmm6
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [0x140057a90], xmm0
lea rcx, [0x140057a50]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140057ab8]
test rcx, rcx
je 0x140047648
lea rdx, [0x140057ca0]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x140057cb8]
mov rcx, qword [0x140057ab8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140057cb8]
mov dword [0x140057ca0], eax
mov eax, dword [0x140057cbc]
mov dword [0x140057ca4], eax
mov eax, dword [0x140057ca8]
mov dword [0x140057a44], eax
mov ecx, dword [0x140057cac]
mov dword [0x140057ab0], ecx
jmp 0x140047654
mov eax, dword [0x140057a44]
mov ecx, dword [0x140057ab0]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x140057ab4]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140057ac0]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
mov rdx, qword [0x140057a48]
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140057aa0], rax
lea rdx, [0x140057060]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x140057aa0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x140057aa0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140057aa0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140046ce0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140047190]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax]
call fcn.140046980
jmp 0x140047710
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3