Function at 0x14007f560
Capabilities:
Set console window title

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x140132060]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rbx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [0x140080130]
mov dword [rbp + 0xb0], 0x50
xor r12d, r12d
mov qword [rbp + 0xb8], rax
xor ecx, ecx
mov dword [rbp + 0xb4], 0x40
mov qword [rbp + 0xc0], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 0xf0], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xb0]
movdqa xmmword [rbp + 0xe0], xmm1
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xf8], r12
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp + 0xc8]
mov r9d, 0x80000000
mov rdx, qword [rbp + 0xf0]
mov r8, rbx
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [r12 + 0x20]
mov qword [0x140166060], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1401660b0], rax
mov rcx, rax
test rax, rax
je 0x1400800be
lea rdx, [0x140166068]
mov qword [0x140166070], r12
mov qword [rsp + 0x30], rdx
lea r13, [0x140166070]
mov qword [0x14016607c], r12
lea r8d, [r12 + 1]
mov dword [0x140166084], r12d
mov r9, rbx
mov qword [0x14016608c], r12
xor edx, edx
mov dword [0x140166094], r12d
mov qword [0x1401660a4], r12
mov dword [0x140166098], 1
mov dword [0x140166088], 1
mov dword [0x140166078], r12d
mov dword [0x14016609c], 1
mov dword [0x1401660a0], 0x50
mov dword [0x1401660ac], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x1400800b7
mov qword [rsp + 0x310], rsi
mov qword [rsp + 0x318], rdi
mov qword [rsp + 0x320], r14
mov qword [rsp + 0x2e0], r15
movaps xmmword [rsp + 0x2d0], xmm6
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140166060]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140166060]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140166040]
test rax, rax
je 0x14007f7a5
inc dword [rax + 0x3b0]
mov rdx, qword [0x140166048]
mov ecx, 0x40e8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test rax, rax
je 0x14007f7ca
xor edx, edx
mov rcx, rax
call fcn.1400357a0
mov rcx, rax
jmp 0x14007f7cd
mov rcx, r12
mov rax, qword [0x140166040]
test rax, rax
cmove rax, rcx
mov qword [0x140166040], rax
call fcn.14003c4c0
mov rax, qword [0x140166040]
test rax, rax
jne 0x14007f814
mov r8d, 0xda1
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 [0x140166040]
mov ecx, dword [rax + 8]
lea r15, [rax + 8]
bts ecx, 0xa
mov qword [r15 + 0x18], r12
mov dword [r15], ecx
test rax, rax
jne 0x14007f84f
mov r8d, 0x997
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 [0x140166040]
bt ecx, 0xa
jae 0x14007f866
mov dword [rax + 0x1644], r12d
mov dword [rax + 0x1728], 0x3f800000
call fcn.14006ee20
mov rbx, qword [0x140166040]
mov rdi, qword [0x140166068]
test rbx, rbx
jne 0x14007f89f
mov r8d, 0xda1
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 [0x140166040]
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 [0x140166160], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14007f940
mov rax, qword [0x140166040]
test rax, rax
jne 0x14007f8fa
mov r8d, 0xda7
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 [0x140166040]
lea rcx, [fcn.14006ea00]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14006eb40]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14006ebf0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14006ec70]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14006edc0]
mov qword [rax + 0x1610], rcx
movss xmm6, dword [0x14011bfb4]
xorps xmm0, xmm0
mov rdi, qword [r15 + 0xa0]
xor eax, eax
cmp word [0x140166200], ax
mov r14d, 0xffff
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], 2
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x2c], 0x7f7fffff
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x20], 0x3f800000
movups xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x64], 1
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x1c], r14w
mov byte [rbp - 0x28], 1
mov byte [rbp - 0x50], 1
mov dword [rbp - 0x54], 2
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
jne 0x14007fa00
movups xmm0, xmmword [0x1401320c8]
lea rcx, [0x140166210]
mov edx, 0x4e00
lea r8, [0x140118220]
mov r9d, 0xbb7
movaps xmmword [0x140166200], xmm0
nop dword [rax + rax]
movsx eax, word [r8]
lea rcx, [rcx + 4]
add edx, eax
lea r8, [r8 + 2]
mov word [rcx - 2], dx
mov word [rcx - 4], dx
sub r9, 1
jne 0x14007f9e0
mov word [rcx], r12w
cmp byte [rdi + 0x18], r12b
je 0x14007fa20
mov r8d, 0x85a
lea rdx, str.D:SourcesGengarScannerimguiimgui_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:WindowsFontsVerdana.ttf
mov qword [rbp - 0x80], r12
mov rcx, rsi
lea r8, [rbp - 0x80]
call fcn.140036fe0
mov rbx, rax
test rax, rax
jne 0x14007fa5e
mov r8d, 0x85f
lea rdx, str.D:SourcesGengarScannerimguiimgui_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]
jmp 0x14007fb7e
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x30], xmm2
mov qword [rbp + 0xa0], rax
movups xmmword [rbp + 0x70], xmm2
mov dword [rbp + 0x38], 3
movups xmmword [rbp + 0x20], xmm2
mov dword [rbp + 0x3c], 1
movaps xmm1, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x140], xmm1
movups xmmword [rbp + 0x60], xmm2
mov dword [rbp + 0x70], 0x3f800000
mov word [rbp + 0x74], r14w
movaps xmm1, xmmword [rbp + 0x70]
mov byte [rbp + 0x2c], 1
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x130], xmm0
movaps xmmword [rbp + 0x180], xmm1
psrldq xmm1, 6
mov dword [rbp + 0x64], 0x7f7fffff
movaps xmm0, xmmword [rbp + 0x60]
movd eax, xmm1
movaps xmmword [rbp + 0x170], xmm0
movsd xmm0, qword [rbp + 0xa0]
movaps xmmword [rbp + 0x150], xmm2
movaps xmmword [rbp + 0x160], xmm2
movaps xmmword [rbp + 0x190], xmm2
movaps xmmword [rbp + 0x1a0], xmm2
movsd qword [rbp + 0x1b0], xmm0
test al, al
jne 0x14007fb4f
lea r9, [0x14011ad7c]
nop dword [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x14007fb29
cmp al, 0x5c
je 0x14007fb29
mov r9, rcx
cmp rcx, rsi
ja 0x14007fb10
movsd xmm0, qword [0x14011bff0]
lea r8, str._s___.0fpx
mov edx, Ordinal_41
movsd qword [rsp + 0x20], xmm0
lea rcx, [rbp + 0x186]
call fcn.140036c70
movss xmm3, dword [0x14011c02c]
lea rax, [0x140166200]
mov r8d, dword [rbp - 0x80]
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
call fcn.140068260
movss xmm3, dword [0x14011c040]
lea rax, [0x14011ad80]
mov rcx, qword [r15 + 0xa0]
lea rdx, [0x1400ef4d0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.140068440
cmp qword [0x140164a00], r12
jne 0x14007fc21
mov rcx, qword [0x140166068]
lea rax, [0x140164a00]
mov qword [rsp + 0x70], rax
lea rdx, [0x1401320e0]
mov qword [rsp + 0x68], r12
mov r9d, 0xdc
mov qword [rsp + 0x60], r12
mov r8d, 0x32516
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xdc
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x100]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007fc80
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14007ff3e
cmp qword [0x140166150], r12
jne 0x14007fc8e
call fcn.14006e760
call fcn.14006fa50
call fcn.14003b2d0
cmp dword [0x1401690f0], r12d
jne 0x14007fcb9
mov rcx, qword [0x140166068]
call fcn.1400262e0
mov dword [0x1401690f0], 1
jmp 0x14007fcd7
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostMessageA]
call fcn.140025170
call fcn.14003db80
mov rcx, qword [0x140166068]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140166068]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14007fd7d
call fcn.14003e040
mov rbx, qword [0x140166040]
cmp dword [rbx + 0x1f28], r12d
jg 0x14007fd4a
mov r8d, 0x6c7
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 + 0x1f30]
mov rcx, qword [rax]
mov rax, r12
add rcx, 0xa8
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.14006dee0
mov rcx, qword [0x140166068]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r15], 0x400
je 0x14007febf
call fcn.14004f8f0
mov rbx, qword [0x140166040]
test rbx, rbx
jne 0x14007fdbc
mov r8d, 0xda7
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 [0x140166040]
mov eax, dword [rbx + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14007fe3f
nop
test rsi, rsi
js 0x14007fdda
cmp r14d, eax
jl 0x14007fdf4
mov r8d, 0x6c7
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 0x14007fe2e
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14007fe1b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14007fe2e
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x14007fdd0
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14007febf
nop dword [rax + rax]
test rsi, rsi
js 0x14007fe5a
cmp r14d, eax
jl 0x14007fe74
mov r8d, 0x6c7
lea rdx, str.D:SourcesGengarScannerimguiimgui.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 0x14007feae
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14007fe9b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14007feae
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x14007fe50
mov rcx, qword [0x140166068]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14007ff35
mov rcx, qword [0x140166068]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14007ff35
call fcn.14006e870
mov rcx, qword [0x140166068]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x14007ff30
mov r8d, gethostname
lea rdx, str.D:SourcesGengarScannerMain.h
lea rcx, [0x140110788]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14006e760
cmp byte [reloc.WS2_32.dll_accept], r12b
je 0x14007ff4d
cmp dword [rbp + 0x108], 0x12
jne 0x14007fc40
jmp 0x14007ff57
mov dword [rbp + 0x108], reloc.WS2_32.dll_select
call fcn.140050020
call fcn.14006e870
mov rcx, qword [0x140166160]
movaps xmm6, xmmword [rsp + 0x2d0]
mov r15, qword [rsp + 0x2e0]
mov r14, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x318]
mov rsi, qword [rsp + 0x310]
test rcx, rcx
je 0x14007ffa2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140166160], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.shadow
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x140166178]
test rcx, rcx
je 0x14007ffcc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140166040]
mov rcx, rbx
mov qword [0x140166178], r12
mov qword [0x140166180], r12
mov qword [0x140166188], r12
mov qword [0x140166190], r12
mov qword [0x140166198], r12
mov qword [0x1401661a0], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x140166170], r12b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.14003c870
mov rax, qword [0x140166040]
cmp rax, rbx
cmove rax, r12
mov qword [0x140166040], rax
test rbx, rbx
je 0x140080060
mov rcx, rbx
call fcn.14005b5f0
mov rax, qword [0x140166040]
test rax, rax
je 0x140080051
dec dword [rax + 0x3b0]
mov rdx, qword [0x140166048]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [0x140166068]
test rcx, rcx
je 0x140080079
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140166068], r12
mov rcx, qword [0x1401660b0]
test rcx, rcx
je 0x140080092
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401660b0], r12
mov rcx, qword [0x140166060]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14008010c
mov rcx, qword [0x1401660b0]
mov rdx, qword [0x140166068]
test rdx, rdx
je 0x1400800e1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401660b0]
mov qword [0x140166068], r12
test rcx, rcx
je 0x1400800f3
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x1401660b0], r12
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400d7fe0
add rsp, 0x2e8
pop r13
pop r12
pop rbx
pop rbp
ret