Function at 0x140040130
Capabilities:
Create thread

Disassembly:
push rbp
push r12
push r13
push r14
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1401720c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rcx
call fcn.14003fb30
mov r13d, 1
mov ecx, r13d
call fcn.14011fb40
lea rcx, [rbp + 0x48]
xor r12d, r12d
mov qword [rsp + 0x28], rcx
lea r8, [0x140042200]
xor ecx, ecx
mov dword [rsp + 0x20], r12d
mov r9, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14004125c
cmp dword [rbp + 0x48], r12d
je 0x140041252
movaps xmm0, xmmword [rbp + 0x40]
lea rcx, [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140041252
cmp qword [0x140246390], 0xf
lea rax, [0x140246378]
mov qword [0x140246388], r12
lea rcx, [0x1402460e0]
cmova rax, qword [0x140246378]
xorps xmm0, xmm0
mov qword [rsp + 0x1a8], rbx
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rax], r12b
lea rax, [0x1402460a0]
cmp qword [0x1402460b8], 0xf
mov qword [0x1402460b0], r12
cmova rax, qword [0x1402460a0]
mov byte [rax], r12b
lea rax, [0x140246398]
cmp qword [0x1402463b0], 0xf
mov qword [0x1402463a8], r12
cmova rax, qword [0x140246398]
mov byte [rax], r12b
lea rax, [0x140246080]
cmp qword [0x140246098], 0xf
mov qword [0x140246090], r12
cmova rax, qword [0x140246080]
mov byte [rax], r12b
lea rax, [0x1402460c0]
cmp qword [0x1402460d8], 0xf
mov qword [0x1402460d0], r12
cmova rax, qword [0x1402460c0]
mov byte [rax], r12b
call fcn.1400c6ed0
lea rcx, [rbp + 0x40]
call fcn.14003dfc0
mov rbx, rax
lea rax, [0x140243d70]
cmp rax, rbx
je 0x140040312
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400402d5
mov rcx, qword [0x140243d70]
inc rdx
cmp rdx, 0x1000
jb 0x1400402d0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040344
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243d80], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243d70], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243d70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243d80], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040350
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004034b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004034b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003bdf0
mov rbx, rax
lea rax, [0x140243dd0]
cmp rax, rbx
je 0x1400403e2
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400403a5
mov rcx, qword [0x140243dd0]
inc rdx
cmp rdx, 0x1000
jb 0x1400403a0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040414
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243de0], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243dd0], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243dd0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243de0], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040420
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004041b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004041b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003d750
mov rbx, rax
lea rax, [0x140243d10]
cmp rax, rbx
je 0x1400404b2
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140040475
mov rcx, qword [0x140243d10]
inc rdx
cmp rdx, 0x1000
jb 0x140040470
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400404e4
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243d20], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243d10], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243d10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243d20], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400404f0
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404eb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400404eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003cc80
mov rbx, rax
lea rax, [0x140243e10]
cmp rax, rbx
je 0x140040582
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140040545
mov rcx, qword [0x140243e10]
inc rdx
cmp rdx, 0x1000
jb 0x140040540
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400405b4
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243e20], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243e10], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243e10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243e20], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400405c0
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400405bb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400405bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003c1f0
mov rbx, rax
lea rax, [0x140243d30]
cmp rax, rbx
je 0x140040652
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140040615
mov rcx, qword [0x140243d30]
inc rdx
cmp rdx, 0x1000
jb 0x140040610
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040684
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243d40], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243d30], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243d30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243d40], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040690
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004068b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004068b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003b5f0
mov rbx, rax
lea rax, [0x140243df0]
cmp rax, rbx
je 0x140040722
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400406e5
mov rcx, qword [0x140243df0]
inc rdx
cmp rdx, 0x1000
jb 0x1400406e0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040754
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243e00], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243df0], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243df0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243e00], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040760
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004075b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004075b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003b9f0
mov rbx, rax
lea rax, [0x140243db0]
cmp rax, rbx
je 0x1400407f2
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400407b5
mov rcx, qword [0x140243db0]
inc rdx
cmp rdx, 0x1000
jb 0x1400407b0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040824
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243dc0], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243db0], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243db0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243dc0], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040830
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004082b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004082b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003e3c0
mov rbx, rax
lea rax, [0x140243d90]
cmp rax, rbx
je 0x1400408c2
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140040885
mov rcx, qword [0x140243d90]
inc rdx
cmp rdx, 0x1000
jb 0x140040880
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400408f4
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243da0], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243d90], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243d90], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243da0], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140040900
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400408fb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400408fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
lea rcx, [rbp + 0x40]
call fcn.14003e980
mov rbx, rax
lea rax, [0x140243d50]
cmp rax, rbx
je 0x140040992
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140040955
mov rcx, qword [0x140243d50]
inc rdx
cmp rdx, 0x1000
jb 0x140040950
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400409c4
mov rcx, r8
call fcn.14011fe94
mov qword [0x140243d60], r12
mov qword [reloc.WS2_32.dll_ntohs], 0xf
mov byte [0x140243d50], r12b
movups xmm0, xmmword [rbx]
movups xmmword [0x140243d50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140243d60], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400409d0
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400409cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400409cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011fe94
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1b8], rdi
mov qword [rsp + 0x170], r15
call fcn.14003c820
mov byte [0x140245938], al
call fcn.14003ca50
mov byte [0x140245948], al
call fcn.14003c5f0
mov byte [0x140245949], al
xor ecx, ecx
lea rax, [0x140041470]
mov dword [rbp - 0x30], 0x50
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0x40
mov qword [rbp - 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 0x18], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm0
lea r15, str.VERSE
movdqa xmmword [rbp], xmm1
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x10], r15
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si edi, dword [0x14017212c]
mov ecx, r13d
cvttss2si esi, dword [0x140172128]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x14017212c]
xor ecx, ecx
mulss xmm0, dword [0x140157fc8]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si ebx, xmm1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [0x140172128]
mov r9d, 0x80000000
mulss xmm0, dword [0x140157fc8]
cdq
mov qword [rsp + 0x58], r12
sub eax, edx
mov rdx, qword [rbp + 0x10]
mov r8, r15
mov qword [rsp + 0x50], r14
xor ecx, ecx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
sar eax, 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x140245080], rax
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov rcx, qword [0x140245080]
mov edx, 0xffffffec
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140245080]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1401581a0]
lea rdx, [rbp + 0x30]
mov rcx, qword [0x140245080]
movdqu xmmword [rbp + 0x30], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x140245080]
lea rbx, [0x1402458d0]
mov qword [rsp + 0x58], rbx
lea rdi, [0x140245940]
mov qword [rbp - 0x60], rax
lea rsi, [0x1402458c0]
lea rax, [rsp + 0x68]
mov qword [rbp - 0x7c], r12
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, r13d
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], Ordinal_32
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], r13d
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x74], r13
mov qword [rbp - 0x58], r13
mov dword [rsp + 0x60], 0xb000
mov dword [rsp + 0x64], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov r15, qword [rsp + 0x170]
cmp eax, 0x887a0004
jne 0x140040c7a
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14004123a
call fcn.140041400
mov rcx, qword [0x140245080]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140245080]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140245070]
test rbx, rbx
je 0x140040cb8
inc dword [rbx + 0xf4]
mov ecx, 0x5e38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140040cd4
xor edx, edx
mov rcx, rax
call fcn.1400025d0
jmp 0x140040cd7
mov rax, r12
mov qword [0x140245070], rax
call fcn.140006180
test rbx, rbx
je 0x140040cf1
mov qword [0x140245070], rbx
jmp 0x140040cf8
mov rbx, qword [0x140245070]
xor ecx, ecx
mov qword [rbx + 0x20], r12
call fcn.14001c2f0
mov rsi, qword [0x140245080]
lea rcx, [rbp + 0x20]
mov rbx, qword [0x140245070]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140040e4a
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140040e4a
mov rax, qword [0x140245070]
test rax, rax
je 0x140040d47
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140040d74
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x140040d77
mov rdi, r12
or dword [rbx + 0xc], 6
lea rax, [0x1401565c8]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x98], rdi
mov rbx, r12
mov qword [rdi], rsi
mov rax, qword [rbp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x40]
mov qword [rdi + 0x18], rax
mov rax, qword [0x140245070]
mov dword [rdi + 0x28], 9
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x70], rax
mov byte [rdi + 0x2d], r13b
nop
mov rcx, qword [rsp + rbx*8 + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140040e1e
inc rbx
cmp rbx, 5
jl 0x140040e00
jmp 0x140040e4a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x30], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x140245070]
mov r14, qword [0x1402458d0]
mov rsi, qword [0x140245940]
test rdi, rdi
je 0x140040e6a
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140040eab
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140040eae
mov rbx, r12
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
lea r8, [rsp + 0x60]
mov qword [rdi + 0xa0], rbx
lea rdx, [0x140156598]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x40], r12
call qword [rax]
test eax, eax
jne 0x140040f31
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [0x1401565a8]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140040f31
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x40]
lea rdx, [0x1401565b8]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140040f31
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140040f41
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140040f51
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
call fcn.1400427b0
xor bl, bl
nop dword [rax + rax]
xorps xmm0, xmm0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140040fe6
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0x78], 0x12
lea rcx, [rsp + 0x70]
movzx ebx, bl
cmove ebx, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140040fa0
test bl, bl
jne 0x140041098
mov rax, qword [0x140245070]
test rax, rax
je 0x140040ffb
mov rcx, qword [rax + 0xa0]
jmp 0x140040ffe
mov rcx, r12
cmp qword [rcx + 0x48], r12
jne 0x140041009
call fcn.140029240
call fcn.14002a070
call fcn.1400087c0
call fcn.140042f40
call fcn.14000a870
mov rcx, qword [0x1402458d0]
lea r8, [0x1402458b8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x40], xmm0
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1402458d0]
lea r8, [rbp + 0x40]
mov rdx, qword [0x1402458b8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140245070]
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0x48
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.1400287d0
mov rcx, qword [0x1402458c0]
xor r8d, r8d
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x140040f70
mov rdi, qword [0x140245070]
mov qword [0x140245070], rdi
call fcn.140006590
mov rbx, r12
mov qword [0x140245070], rbx
test rdi, rdi
je 0x1400410f2
mov rcx, rdi
call fcn.14001b330
mov rax, qword [0x140245070]
test rax, rax
je 0x1400410d4
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140245070]
test rbx, rbx
je 0x1400410f2
mov rdi, qword [rbx + 0xa0]
jmp 0x1400410f5
mov rdi, r12
call fcn.140029780
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140041109
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140041117
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140041126
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x140245070]
mov qword [rbx + 0x90], r12
mov qword [rbx + 0xa0], r12
test rax, rax
je 0x140041146
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140245070]
test rax, rax
je 0x140041164
mov rbx, qword [rax + 0x98]
jmp 0x140041167
mov rbx, r12
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140041181
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140245070]
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x90], r12
test rax, rax
je 0x14004119a
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140245070]
mov qword [0x140245070], rbx
call fcn.140006590
mov qword [0x140245070], r12
test rbx, rbx
je 0x1400411e5
mov rcx, rbx
call fcn.14001b330
mov rax, qword [0x140245070]
test rax, rax
je 0x1400411dc
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140041380
mov rcx, qword [0x140245080]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rsi, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14011f760
add rsp, 0x178
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140041380
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r13d
jmp 0x140041207
mov ecx, r13d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x48], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3