Function at 0x140042350
Capabilities:
Create thread
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1400da060]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ecx, 8
call fcn.1400afa1c
lea rcx, [0x140044f60]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140046a80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x130], rax
test rax, rax
je 0x14004317a
movdqa xmm0, xmmword [0x1400c9870]
movdqu xmmword [rbp + 0x68], xmm0
movdqa xmm1, xmmword [0x1400c9e70]
movdqu xmmword [rbp + 0x78], xmm1
mov dword [rbp + 0x88], 0xd6e6def4
mov dword [rbp + 0x8c], 0xf4a1ddfc
mov dword [rbp + 0x90], 0x100c0c6
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx + 0x6e]
xor byte [rbp + rcx + 0x68], al
inc rcx
cmp rcx, 0x2a
jb 0x140042430
mov byte [rbp + 0x93], 0
lea rcx, [rbp + 0x68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14010c8d0]
call fcn.140054f70
lea rax, str.C:ProjectYX
mov qword [rbp], rax
mov qword [rbp + 8], ntohl
call fcn.1400b0428
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.1400412b0
nop
mov qword [rbp], rsi
lea rax, [0x14010ba38]
mov qword [rbp + 8], rax
lea rdx, [rbp]
lea rcx, [rbp + 0x68]
call fcn.140041e80
cmp dword [rbp], 0
jne 0x14004318c
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400424fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400424f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400424f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x140044f90]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea rax, str.yjtj456jgdj7ty67uhjr
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rsi
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0xcf0000
lea r8, str.rhnghjgthr563yrtyjtyjh
mov rdx, qword [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x14010cf28], rax
mov r14d, 1
test rax, rax
je 0x1400430d9
mov qword [0x14010cf40], rsi
mov qword [0x14010cf4c], rsi
mov dword [0x14010cf54], esi
mov qword [0x14010cf5c], rsi
mov dword [0x14010cf64], esi
mov qword [0x14010cf74], rsi
mov dword [0x14010cf68], r14d
mov dword [0x14010cf58], r14d
mov dword [0x14010cf48], esi
mov dword [0x14010cf6c], r14d
mov dword [0x14010cf70], 0x50
mov dword [0x14010cf7c], r14d
mov rax, qword [rax]
lea rdx, [0x14010cf30]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14010cf40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, r13
mov r8d, r14d
xor edx, edx
call qword [rax + pe_nt_image_headers64]
test eax, eax
js 0x1400430d2
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x14010c8c0]
test rax, rax
je 0x140042680
inc dword [rax + 0x3ac]
mov rdx, qword [0x14010c8b0]
mov ecx, 0x4180
call fcn.140002500
mov qword [rbp + 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov qword [rbp], rax
test rax, rax
je 0x1400426b7
xor edx, edx
mov rcx, rax
call fcn.1400016a0
mov rcx, rax
jmp 0x1400426ba
mov rcx, rsi
mov rax, qword [0x14010c8c0]
test rax, rax
cmove rax, rcx
mov qword [0x14010c8c0], rax
call fcn.1400083a0
mov r15, qword [0x14010c8c0]
mov qword [rsp + 0x68], r15
or dword [r15 + 8], 0x401
xor ecx, ecx
call fcn.14002a8e0
mov rax, qword [0x14010c8c0]
mov dword [rax + 0x168c], 0x40c00000
mov dword [rax + 0x1690], 0x40c00000
mov dword [rax + 0x1694], 0x40c00000
mov dword [rax + 0x1670], 0x3f000000
mov dword [rax + 0x1674], 0x3f000000
movaps xmm0, xmmword [0x1400c9a70]
movups xmmword [rax + 0x1788], xmm0
movaps xmm1, xmmword [0x1400c99e0]
movups xmmword [rax + 0x1a28], xmm1
movaps xmm0, xmmword [0x1400c9a40]
movups xmmword [rax + 0x1878], xmm0
movups xmmword [rax + 0x1888], xmm1
movaps xmm0, xmmword [0x1400c9a70]
movups xmmword [rax + 0x1868], xmm0
movaps xmm1, xmmword [0x1400c9a40]
movups xmmword [rax + 0x19b8], xmm1
movaps xmm0, xmmword [0x1400c9b60]
movups xmmword [rax + 0x17c8], xmm0
movaps xmm1, xmmword [0x1400c99e0]
movups xmmword [rax + 0x18b8], xmm1
movaps xmm0, xmmword [0x1400c9a40]
movups xmmword [rax + 0x18a8], xmm0
movaps xmm1, xmmword [0x1400c9a70]
movups xmmword [rax + 0x1898], xmm1
mov rdi, qword [r15 + 0xa8]
mov qword [rbp + 0x60], rsi
lea r8, [rbp + 0x60]
lea r12, str.C:WindowsFonts_trebuc.ttf
mov rcx, r12
call fcn.140002f00
mov rbx, rax
mov ecx, 0xffff
movss xmm10, dword [0x1400c9610]
test rax, rax
je 0x14004296c
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], cx
movaps xmm3, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xa0], xmm3
movaps xmm4, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xb0], xmm4
movaps xmmword [rbp + 0xc0], xmm1
xorps xmm5, xmm5
movaps xmmword [rbp + 0xd0], xmm5
movaps xmm6, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xe0], xmm6
movaps xmm2, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xf0], xmm2
xorps xmm7, xmm7
movaps xmmword [rbp + 0x100], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x110], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0x120], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14004291f
lea r9, [0x1400c59eb]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x1400428b7
cmp al, 0x5c
je 0x1400428b7
mov r9, rcx
cmp rcx, r12
ja 0x1400428a0
movsd xmm0, qword [0x1400c9648]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0xf6]
call fcn.140002c10
movsd xmm9, qword [rbp + 0x120]
movaps xmm8, xmmword [rbp + 0x110]
movaps xmm7, xmmword [rbp + 0x100]
movaps xmm2, xmmword [rbp + 0xf0]
movaps xmm6, xmmword [rbp + 0xe0]
movaps xmm5, xmmword [rbp + 0xd0]
movaps xmm1, xmmword [rbp + 0xc0]
movaps xmm4, xmmword [rbp + 0xb0]
movaps xmm3, xmmword [rbp + 0xa0]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm5
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], rbx
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x78], eax
mov dword [rbp - 0x7c], 0x41700000
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14002ed10
mov ecx, 0xffff
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0xa0], xmm2
movups xmmword [rbp + 0xb0], xmm2
movups xmmword [rbp + 0xc0], xmm2
movups xmmword [rbp + 0xe0], xmm2
movups xmmword [rbp + 0xf0], xmm2
mov qword [rbp + 0x120], rax
mov byte [rbp + 0xac], 1
mov dword [rbp + 0xb8], 3
mov dword [rbp + 0xbc], r14d
mov dword [rbp + 0xe4], 0x7f7fffff
mov dword [rbp + 0xf0], 0x3f800000
mov word [rbp + 0xf4], cx
mov byte [rbp + 0xe8], 1
mov byte [rbp + 0xc0], 1
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0xb0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0xf0]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0x120]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400da0d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x31778
mov dword [rbp - 0x7c], 0x41700000
lea rax, [0x1400c5c38]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0xa8]
call fcn.14002ed10
mov rcx, r13
call fcn.140034b10
mov rdi, qword [0x14010cf30]
mov rbx, qword [0x14010c8c0]
test rbx, rbx
je 0x140042a85
inc dword [rbx + 0x3ac]
mov rdx, qword [0x14010c8b0]
mov ecx, Ordinal_41
call fcn.140002500
mov qword [rbp], rax
test rax, rax
je 0x140042abf
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140042ac2
mov rax, rsi
mov qword [rbx + 0xf8], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x140042b40
mov rax, qword [0x14010c8c0]
lea rcx, [fcn.140034790]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140034880]
mov qword [rax + 0x1610], rcx
lea rcx, [0x140034910]
mov qword [rax + 0x1618], rcx
lea rcx, [0x140034980]
mov qword [rax + 0x1620], rcx
lea rcx, [0x140034ae0]
mov qword [rax + 0x1628], rcx
xor r12b, r12b
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140042ba4
nop
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r12d, r12b
cmp dword [rbp + 0x70], 0x12
cmove r12d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140042b60
test r12b, r12b
jne 0x140042f63
mov rbx, qword [0x14010c8c0]
test rbx, rbx
je 0x140042bb9
mov rax, qword [rbx + 0xf8]
jmp 0x140042bbc
mov rax, rsi
cmp qword [rax + 0x18], 0
jne 0x140042c2c
test rbx, rbx
je 0x140042c3a
mov rax, qword [rbx + 0xf8]
test rax, rax
je 0x140042c2c
cmp qword [rax], 0
je 0x140042c2c
call fcn.140034350
mov rbx, qword [0x14010c8c0]
test al, al
je 0x140042c2c
mov edi, r14d
cmp dword [rbx + 0x1640], 1
jle 0x140042c2c
mov r14d, 8
nop dword [rax]
mov rax, qword [rbx + 0x1648]
mov rcx, qword [r14 + rax]
cmp qword [rcx + 0x38], 0
jne 0x140042c17
call fcn.140034790
inc edi
add r14, 8
cmp edi, dword [rbx + 0x1640]
jl 0x140042c00
mov rbx, qword [0x14010c8c0]
test rbx, rbx
je 0x140042c3a
mov rdi, qword [rbx + 0xf0]
jmp 0x140042c3d
mov rdi, rsi
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rdx, [rbp]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0xc]
sub eax, dword [rbp + 4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 8]
sub eax, dword [rbp]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
cmp byte [rdi + 0x2e], 0
je 0x140042cdc
mov rax, qword [0x14010c8c0]
test rax, rax
je 0x140042c91
mov r15, qword [rax + 0xf0]
jmp 0x140042c94
mov r15, rsi
lea r14, [rax + 0x1630]
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x140042cbb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, esi
test eax, eax
cmovg edx, eax
mov rcx, r14
call fcn.140022f50
mov dword [r14], esi
xor r9d, r9d
lea r8, [0x140035690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [r15 + 0x2e], 0
mov r15, qword [rsp + 0x68]
mov qword [rbp + 0x60], rsi
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.140035100
cmp byte [rbx + 0xd0], 0
je 0x140042d28
mov eax, 0xffffffff
jmp 0x140042d35
mov rax, qword [0x14010c8c0]
mov eax, dword [rax + 0x2128]
cmp dword [rdi + 0x28], eax
je 0x140042d42
mov dword [rdi + 0x28], eax
call fcn.140034f80
call fcn.1400353c0
call fcn.140006e90
call fcn.140048190
call fcn.140009990
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
mov dword [rsp + 0x30], esi
movss dword [rsp + 0x28], xmm10
mov dword [rsp + 0x20], esi
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140042e19
call fcn.140009f00
mov rax, qword [0x14010c8c0]
mov rax, qword [rax + 0x1f40]
mov rcx, qword [rax]
add rcx, 0xa8
mov rax, rsi
cmp byte [rcx], sil
cmovne rax, rcx
mov rcx, rax
call fcn.140033d70
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r15 + 8], 0x400
je 0x140042eff
call fcn.140019c70
mov rbx, qword [0x14010c8c0]
mov r15d, 1
mov eax, dword [rbx + 0x1640]
cmp eax, r15d
jle 0x140042e9c
mov r14d, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x140042e8a
mov rax, qword [rbx + 0x15d8]
test rax, rax
je 0x140042e77
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1620]
test rax, rax
je 0x140042e8a
xor edx, edx
mov rcx, rdi
call rax
inc r15d
add r14, 8
mov eax, dword [rbx + 0x1640]
cmp r15d, eax
jl 0x140042e50
mov r14d, 1
cmp eax, r14d
jle 0x140042efa
mov r15d, 8
nop dword [rax]
mov rax, qword [rbx + 0x1648]
mov rdi, qword [r15 + rax]
test dword [rdi + 4], 0x400
jne 0x140042eea
mov rax, qword [rbx + 0x15e0]
test rax, rax
je 0x140042ed7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1628]
test rax, rax
je 0x140042eea
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x1640]
jl 0x140042eb0
mov r15, qword [rsp + 0x68]
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140042f58
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140042f58
call fcn.140034640
mov rcx, qword [0x14010cf30]
mov rax, qword [rcx]
lea rdx, [0x14010cf40]
call qword [rax + pe_nt_image_headers64]
call fcn.140034590
mov r14d, 1
jmp 0x140042b43
mov rbx, qword [0x14010c8c0]
test rbx, rbx
je 0x140042f78
mov rdi, qword [rbx + 0xf8]
jmp 0x140042f7b
mov rdi, rsi
call fcn.14001a230
call fcn.140034640
mov rcx, qword [rdi]
test rcx, rcx
je 0x140042f93
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xe8], rsi
mov qword [rbx + 0xf8], rsi
mov rax, qword [0x14010c8c0]
test rax, rax
je 0x140042fb3
dec dword [rax + 0x3ac]
mov rdx, qword [0x14010c8b0]
mov rcx, rdi
call fcn.140002510
mov rbx, qword [0x14010c8c0]
test rbx, rbx
je 0x140042fd7
mov rdi, qword [rbx + 0xf0]
jmp 0x140042fda
mov rdi, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.14001a230
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140043006
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0xe0], rsi
mov qword [rbx + 0xf0], rsi
mov rax, qword [0x14010c8c0]
test rax, rax
je 0x140043026
dec dword [rax + 0x3ac]
mov rdx, qword [0x14010c8b0]
mov rcx, rdi
call fcn.140002510
mov rbx, qword [0x14010c8c0]
mov rcx, rbx
call fcn.140008710
mov rax, qword [0x14010c8c0]
cmp rax, rbx
cmove rax, rsi
mov qword [0x14010c8c0], rax
test rbx, rbx
je 0x140043087
mov rcx, rbx
call fcn.140023770
mov rax, qword [0x14010c8c0]
test rax, rax
je 0x140043078
dec dword [rax + 0x3ac]
mov rdx, qword [0x14010c8b0]
mov rcx, rbx
call fcn.140002510
mov rcx, qword [0x14010cf30]
test rcx, rcx
je 0x1400430a0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14010cf30], rsi
mov rcx, qword [0x14010cf28]
test rcx, rcx
je 0x1400430b9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14010cf28], rsi
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14004311f
mov rcx, qword [0x14010cf28]
mov rdx, qword [0x14010cf30]
test rdx, rdx
je 0x1400430fc
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14010cf30], rsi
mov rcx, qword [0x14010cf28]
test rcx, rcx
je 0x14004310e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14010cf28], rsi
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov esi, r14d
cmp dword [rbp + 0x138], 0
je 0x14004312f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400af130
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 0x138], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rbp + 0x68]
lea rdx, [rbp]
lea rcx, str.create_directories
call fcn.140041d30
int3