Function at 0x140060ee0
Capabilities:
Create thread

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [0x14011b088]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov ecx, 1
call fcn.1400c8b00
lea rcx, [rbp + 0x38]
xor r13d, r13d
mov qword [rsp + 0x28], rcx
lea r8, [0x140072530]
xor ecx, ecx
mov dword [rsp + 0x20], r13d
mov r9, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x140061c48
cmp dword [rbp + 0x38], r13d
jne 0x140060f51
lea ecx, [r13 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x30]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140060f71
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
lea rax, [0x140061c90]
mov qword [rsp + 0x2c0], rbx
xor ecx, ecx
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x298], r14
mov dword [rbp + 0x40], 0x50
mov dword [rbp + 0x44], 0x40
mov qword [rbp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 0x88], r13
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm0
lea rbx, str.Pain
movdqa xmmword [rbp + 0x70], xmm1
lea rcx, [rbp + 0x40]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x80], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp + 0x58]
mov r9d, 0x80000000
mov rdx, qword [rbp + 0x80]
mov r8, rbx
mov qword [rsp + 0x58], r13
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov qword [0x14011c5a0], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x14011c598], rax
mov rcx, rax
test rax, rax
je 0x140061bfb
lea rdx, [0x14011c590]
mov qword [0x14011c550], r13
mov qword [rsp + 0x30], rdx
lea r14, [0x14011c550]
xor edx, edx
mov qword [0x14011c55c], r13
mov dword [0x14011c564], r13d
mov r9, rbx
mov qword [0x14011c56c], r13
mov dword [0x14011c574], r13d
mov qword [0x14011c584], r13
lea r8d, [rdx + 1]
mov dword [0x14011c578], 1
mov dword [0x14011c568], 1
mov dword [0x14011c558], r13d
mov dword [0x14011c57c], 1
mov dword [0x14011c580], 0x50
mov dword [0x14011c58c], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140061bf4
mov rcx, qword [0x14011c5a0]
xor edx, edx
mov qword [rsp + 0x2c8], rsi
mov qword [rsp + 0x2d0], rdi
mov qword [rsp + 0x290], r15
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm7
movaps xmmword [rsp + 0x260], xmm8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14011c5a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x14011c538]
test rax, rax
je 0x140061147
inc dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
mov ecx, 0x40b0
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x14006116c
xor edx, edx
mov rcx, rax
call fcn.140013dc0
mov rcx, rax
jmp 0x14006116f
mov rcx, r13
mov rax, qword [0x14011c538]
test rax, rax
cmove rax, rcx
mov qword [0x14011c538], rax
call fcn.14001aa60
mov rax, qword [0x14011c538]
test rax, rax
jne 0x1400611b6
mov r8d, 0xda0
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x14011c538]
or dword [rax + 8], 0x400
lea r15, [rax + 8]
mov ecx, dword [r15]
mov qword [r15 + 0x18], r13
test rax, rax
jne 0x1400611f1
mov r8d, 0x997
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [r15]
mov rax, qword [0x14011c538]
bt ecx, 0xa
jae 0x140061208
mov dword [rax + 0x1644], r13d
mov dword [rax + 0x1728], 0x3f800000
mov rdi, qword [0x14011c5a0]
lea rcx, [0x14011c638]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140061406
lea rcx, [0x14011c630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140061406
mov rbx, qword [0x14011c538]
test rbx, rbx
jne 0x140061266
mov r8d, 0xda0
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14011c538]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x14011c628], rdi
cmp dword [rbx + 0x1ef0], r13d
jg 0x1400612ac
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x14011c628]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x48], rdi
test dword [rbx + 8], 0x400
je 0x1400612cc
call fcn.14004fb60
lea rax, str.xinput1_4.dll
mov dword [rbx + 0x3c], 9
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov dword [rbx + 0x40], Ordinal_41
mov dword [rbx + 0x44], Ordinal_45
mov dword [rbx + 0x48], Ordinal_41
mov dword [rbx + 0x4c], Ordinal_45
mov dword [rbx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rbx + 0x54], Ordinal_35
mov dword [rbx + 0x58], Ordinal_41
mov dword [rbx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rbx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rbx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbx + 0x70], reloc.WS2_32.dll_listen
mov dword [rbx + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rbx + 0x78], reloc.WS2_32.dll_listen
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
mov rbx, r13
mov qword [rbp - 0x80], rax
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400613d1
inc rbx
cmp rbx, 5
jl 0x1400613b3
jmp 0x140061406
lea rdx, str.XInputGetCapabilities
mov qword [0x14011c610], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x14011c618], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14011c620], rax
mov rbx, qword [0x14011c538]
mov rdi, qword [0x14011c590]
test rbx, rbx
jne 0x14006143a
mov r8d, 0xda0
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14011c538]
or dword [rbx + 0xc], 0x1008
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [0x14011c5f8], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x1400614db
mov rax, qword [0x14011c538]
test rax, rax
jne 0x140061495
mov r8d, 0xda6
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x14011c538]
lea rcx, [fcn.14004da10]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14004db50]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14004dc00]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14004dc80]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14004ddd0]
mov qword [rax + 0x1610], rcx
mov rbx, qword [r15 + 0xa0]
cmp byte [rbx + 0x18], r13b
je 0x140061502
mov r8d, 0x85a
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rsi, str.C:WindowsFontsArial.ttf
mov qword [rsp + 0x2a0], r12
mov rcx, rsi
mov qword [rbp + 0x30], r13
lea r8, [rbp + 0x30]
call fcn.1400155c0
movss xmm8, dword [0x14010881c]
mov rdi, rax
test rax, rax
jne 0x140061554
mov r8d, 0x85f
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui_draw.cpp
lea rcx, str._0____Could_not_load_font_file__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r12, r13
jmp 0x14006167a
movss xmm2, dword [0x140108924]
xorps xmm3, xmm3
xor eax, eax
movaps xmmword [rbp + 0xe0], xmm3
movups xmmword [rbp - 0x50], xmm3
mov qword [rbp + 0x20], rax
mov eax, 0xffff
movups xmmword [rbp - 0x10], xmm3
mov word [rbp - 0xc], ax
movups xmmword [rbp - 0x60], xmm3
mov byte [rbp - 0x54], 1
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xc0], xmm0
xorps xmm0, xmm0
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm2
mov dword [rbp - 0x48], 3
shufps xmm0, xmm0, 0xe1
mov dword [rbp - 0x44], 1
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xd0], xmm1
mov dword [rbp - 0x10], 0x3f800000
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x110], xmm1
psrldq xmm1, 6
movd eax, xmm1
movaps xmmword [rbp + 0x100], xmm0
movsd xmm0, qword [rbp + 0x20]
movsd qword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0xf0], xmm3
movaps xmmword [rbp + 0x120], xmm3
movaps xmmword [rbp + 0x130], xmm3
test al, al
jne 0x14006164f
lea r9, [0x1401061c2]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140061629
cmp al, 0x5c
je 0x140061629
mov r9, rcx
cmp rcx, rsi
ja 0x140061610
movsd xmm0, qword [0x140108870]
lea r8, str._s___.0fpx
mov edx, Ordinal_41
movsd qword [rsp + 0x20], xmm0
lea rcx, [rbp + 0x116]
call fcn.140015250
movss xmm3, dword [0x1401088bc]
lea rax, [rbp + 0xc0]
mov r8d, dword [rbp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x28], r13
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140047220
mov r12, rax
movss xmm7, dword [0x1401087d4]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm6, xmm6
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x90]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400616e0
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140061a45
cmp qword [0x14011c5e8], r13
jne 0x1400616ee
call fcn.14004d770
call fcn.14004e580
call fcn.1400197b0
cmp dword [0x14011c668], r13d
jne 0x1400617c3
mov rax, qword [0x14011c538]
test rax, rax
jne 0x140061732
mov r8d, 0x997
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x14011c538]
mov dword [rax + 0x1644], 0x40a00000
mov dword [rax + 0x1678], 0x40a00000
movss xmm0, dword [0x14011b2d8]
ucomiss xmm0, xmm6
jp 0x1400617b7
jne 0x1400617b7
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm0, dword [rbp + 0x38]
movd xmm1, dword [rbp + 0x3c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [0x14011b2d0], xmm0
subss xmm0, dword [0x14011b2e0]
movss dword [0x14011b2d4], xmm1
subss xmm1, dword [0x14011b2e4]
mulss xmm0, xmm7
mulss xmm1, xmm7
movss dword [0x14011b2d8], xmm0
movss dword [0x14011b2dc], xmm1
mov dword [0x14011c668], 1
jmp 0x1400617d5
mov rcx, r12
call fcn.140024010
call fcn.140005680
call fcn.1400240d0
call fcn.14001c200
mov rcx, qword [0x14011c590]
mov r9d, 3
mov dword [rsp + 0x30], r13d
xor r8d, r8d
movss dword [rsp + 0x28], xmm8
xor edx, edx
mov dword [rsp + 0x20], r13d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14011c590]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14006187c
call fcn.14001c6c0
mov rbx, qword [0x14011c538]
cmp dword [rbx + 0x1ef0], r13d
jg 0x140061849
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov rax, r13
add rcx, 0xa8
cmp byte [rcx], r13b
cmovne rax, rcx
mov rcx, rax
call fcn.14004cef0
mov rcx, qword [0x14011c590]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r15], 0x400
je 0x1400619c6
call fcn.14002e9b0
mov rbx, qword [0x14011c538]
test rbx, rbx
jne 0x1400618bb
mov r8d, 0xda6
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14011c538]
mov eax, dword [rbx + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14006193f
nop dword [rax]
test rsi, rsi
js 0x1400618da
cmp r14d, eax
jl 0x1400618f4
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x14006192e
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14006191b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14006192e
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x1400618d0
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x1400619bf
nop dword [rax + rax]
test rsi, rsi
js 0x14006195a
cmp r14d, eax
jl 0x140061974
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x1400619ae
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14006199b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x1400619ae
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140061950
lea r14, [0x14011c550]
mov rcx, qword [0x14011c590]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140061a3c
mov rcx, qword [0x14011c590]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140061a3c
call fcn.14004d880
mov rcx, qword [0x14011c590]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x140061a37
mov r8d, reloc.WLDAP32.dll_Ordinal_60
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_LoaderMain.h
lea rcx, [0x1400fcb58]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14004d770
cmp byte [reloc.WS2_32.dll_accept], r13b
je 0x140061a54
cmp dword [rbp + 0x98], 0x12
jne 0x1400616a0
jmp 0x140061a5e
mov dword [rbp + 0x98], reloc.WS2_32.dll_select
call fcn.14002f0e0
call fcn.14004d880
mov rcx, qword [0x14011c5f8]
movaps xmm8, xmmword [rsp + 0x260]
movaps xmm7, xmmword [rsp + 0x270]
movaps xmm6, xmmword [rsp + 0x280]
mov r15, qword [rsp + 0x290]
mov r12, qword [rsp + 0x2a0]
mov rdi, qword [rsp + 0x2d0]
mov rsi, qword [rsp + 0x2c8]
test rcx, rcx
je 0x140061aba
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011c5f8], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x14011c610]
test rcx, rcx
je 0x140061ae4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x14011c538]
mov rcx, rbx
mov qword [0x14011c610], r13
mov qword [0x14011c618], r13
mov qword [0x14011c620], r13
mov qword [0x14011c628], r13
mov qword [0x14011c630], r13
mov qword [0x14011c638], r13
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x14011c608], r13b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.14001ae10
mov rax, qword [0x14011c538]
cmp rax, rbx
cmove rax, r13
mov qword [0x14011c538], rax
test rbx, rbx
je 0x140061b78
mov rcx, rbx
call fcn.14003a770
mov rax, qword [0x14011c538]
test rax, rax
je 0x140061b69
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [0x14011c590]
test rcx, rcx
je 0x140061b91
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011c590], r13
mov rcx, qword [0x14011c598]
test rcx, rcx
je 0x140061baa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011c598], r13
mov rcx, qword [0x14011c5a0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov rbx, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x298]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400c8ae0
add rsp, 0x2a8
pop r13
pop rbp
ret
mov rcx, qword [0x14011c598]
mov rdx, qword [0x14011c590]
test rdx, rdx
je 0x140061c1e
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14011c598]
mov qword [0x14011c590], r13
test rcx, rcx
je 0x140061c30
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011c598], r13
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x140061bca
mov ecx, 6
mov dword [rbp + 0x38], r13d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3