Function at 0x140041720
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
lea r8, [0x1400411d0]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x14015af60]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140041763
xor al, al
add rsp, 0x40
pop rdi
ret
cvttss2si rax, dword [0x14015aee0]
mov rcx, qword [0x14015af60]
lea rdx, [0x14015b3f0]
mov r9, qword [0x14015b3e8]
mov r8d, 1
mov qword [rsp + 0x30], rdx
lea rdx, [0x14015af00]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14015af0c], rdi
mov qword [0x14015af18], 1
mov qword [0x14015af34], rdi
mov dword [0x14015af3c], edi
mov dword [0x14015af08], 0x15
mov dword [0x14015af00], eax
cvttss2si rax, dword [0x14015afb8]
mov dword [0x14015af14], edi
mov dword [0x14015af30], 0x50
mov dword [0x14015af2c], 1
mov qword [0x14015af20], r9
mov dword [0x14015af28], 1
mov qword [rsp + 0x50], rbx
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
mov dword [0x14015af04], eax
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140005f10
mov rbx, qword [0x14015b3e8]
lea rcx, [0x14015b3b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140041917
lea rcx, [0x14015b3a8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140041917
mov rax, qword [0x14015aea0]
lea rcx, str.imgui_impl_win32
mov qword [0x14015b3a0], rbx
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], Ordinal_41
mov dword [rax + 0x44], Ordinal_41
mov dword [rax + 0x48], Ordinal_41
mov dword [rax + 0x4c], Ordinal_41
mov dword [rax + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rax + 0x54], Ordinal_35
mov dword [rax + 0x58], Ordinal_41
mov dword [rax + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rax + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rax + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rax + 0x70], reloc.WS2_32.dll_listen
mov dword [rax + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x14004191e
mov rax, qword [0x14015aea0]
cmp byte [reloc.WS2_32.dll_accept], dil
mov rcx, qword [0x14015b3f0]
mov rbx, qword [rsp + 0x50]
je 0x14004193a
mov byte [reloc.WS2_32.dll_accept], dil
lea rdx, str.imgui_impl_dx9
mov qword [0x14015b390], rcx
mov qword [rax + 0xe0], rdx
mov rcx, qword [0x14015af60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, [0x14003d6c0]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400413c0
mov rcx, qword [0x14015aeb0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14015b3f0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14015af60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor edx, edx
lea rcx, str.Private_Script
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
lea rdx, [rbp - 9]
mov word [rbp], reloc.WLDAP32.dll_Ordinal_32
xor ecx, ecx
mov dword [rbp - 9], 0x4f4c4156
mov dword [rbp - 5], 0x544e4152
mov byte [rbp - 1], reloc.WLDAP32.dll_Ordinal_32
mov byte [rbp + 2], 0
call qword [sym.imp.USER32.dll_FindWindowA]
xor ebx, ebx
mov dword [rbp + 7], 0x50
mov qword [0x14015afd8], rax
mov edx, 0x7f00
lea rax, [0x140041280]
mov dword [rbp + 0xb], 3
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov edx, 0x7f00
movdqa xmmword [rbp + 0x37], xmm0
lea rax, [0x1401240a8]
xor ecx, ecx
mov qword [rbp + 0x47], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 7]
mov qword [rbp + 0x4f], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x14015afd8]
test rcx, rcx
je 0x140041bbf
lea rdx, [0x14015afc8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x14015afd8]
lea rdx, [rbp + 0x67]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x67]
lea r8, str.Private_Script
movd xmm1, dword [0x14015afd4]
lea rdx, str.Private_Script
movd xmm2, dword [0x14015afd0]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
cvtdq2ps xmm1, xmm1
mov dword [0x14015afc8], eax
mov eax, dword [rbp + 0x6b]
mov dword [0x14015afcc], eax
cvtdq2ps xmm2, xmm2
movss dword [0x14015afb8], xmm1
subss xmm1, dword [0x140125428]
movss dword [0x14015aee0], xmm2
subss xmm2, dword [0x140125428]
cvttss2si ecx, xmm1
cvttss2si eax, xmm2
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x14015b3e8], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14015b3e8]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1401255f0]
lea rdx, [rbp - 9]
mov rcx, qword [0x14015b3e8]
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14015b3e8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14015b3e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
jmp 0x140041720
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3