Function at 0x140079b80
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
lea rdi, [rsp + 0x70]
mov ecx, WSAAsyncSelect
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x210]
mov rax, qword [0x14031eae8]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x780], 0
je 0x140079be0
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x780]
movzx eax, word [rax]
test eax, eax
jne 0x140079be7
xor eax, eax
jmp 0x14007a1eb
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x50
lea rax, [0x140285658]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x1403213b0]
mov qword [rsp + 0x98], rax
lea rax, [0x1400a6fc0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffff61
xor ecx, ecx
call fcn.1400f94e0
mov qword [0x140321738], rax
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.1400f94e0
mov qword [0x140321730], rax
mov rax, qword [0x140321738]
mov qword [rsp + 0xa0], rax
mov rax, qword [0x140321730]
mov qword [rsp + 0xc8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], reloc.WSOCK32.dll_recv
mov qword [rsp + 0xb8], 0xd3
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x140079d09
mov qword [rsp + 0x20], 0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x10000
lea rcx, str.RegClass
call fcn.140103a20
xor eax, eax
jmp 0x14007a1eb
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 0
je 0x140079d67
mov r8d, 0x40
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x140079d5a
lea rdx, [0x140285688]
lea rcx, [rsp + 0xf0]
call fcn.1401a7920
test eax, eax
je 0x140079d67
mov dword [rsp + 0x1e8], 0
jmp 0x140079d72
mov dword [rsp + 0x1e8], 1
movzx eax, byte [rsp + 0x1e8]
mov byte [rsp + 0x180], al
xor r9d, r9d
lea r8, [rsp + 0x198]
xor edx, edx
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rsp + 0x198]
mov ecx, dword [rsp + 0x1a0]
sub ecx, eax
mov eax, ecx
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x1b4], eax
mov eax, dword [rsp + 0x19c]
mov ecx, dword [rsp + 0x1a4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x1b8], eax
mov eax, dword [rsp + 0x1b8]
cmp dword [rsp + 0x1b4], eax
jle 0x140079df5
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x1b4], eax
imul eax, dword [rsp + 0x1b8], 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x1b8], eax
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x140079e26
mov dword [rsp + 0x1ec], 0x80
jmp 0x140079e31
mov dword [rsp + 0x1ec], 0
mov qword [rsp + 0x58], 0
mov rax, qword [0x1403213b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x1b4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
mov rax, qword [rsp + 0x210]
mov r8, qword [rax + 0x780]
lea rdx, [0x1402856a8]
mov ecx, dword [rsp + 0x1ec]
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1403213e8], rax
cmp qword [0x1403213e8], 0
jne 0x140079edf
mov qword [rsp + 0x20], 0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x10000
lea rcx, [0x1402856c0]
call fcn.140103a20
xor eax, eax
jmp 0x14007a1eb
mov ecx, 0x68
call fcn.140135540
mov qword [rsp + 0x1e0], rax
cmp qword [rsp + 0x1e0], 0
je 0x140079f18
mov edx, 1
mov rcx, qword [rsp + 0x1e0]
call fcn.1400df060
mov qword [rsp + 0x1f0], rax
jmp 0x140079f24
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x1d8]
mov qword [rax + 0x828], rcx
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x828]
call fcn.1400dfc20
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x788], 1
jne 0x140079fc4
mov rcx, qword [0x1403213e8]
call qword [sym.imp.USER32.dll_GetMenu]
mov qword [rsp + 0x1c0], rax
mov r8d, 3
mov edx, 0xff79
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx eax, byte [0x140319825]
test eax, eax
jne 0x140079fc4
mov r8d, 3
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x210]
call fcn.14007da40
mov qword [rsp + 0x58], 0
mov rax, qword [0x1403213b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 1
mov rax, qword [0x1403213e8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x50a00804
xor r8d, r8d
lea rdx, [0x1402856e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1403213f0], rax
cmp qword [0x1403213f0], 0
jne 0x14007a05e
mov qword [rsp + 0x20], 0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x10000
lea rcx, str.CreateWindow
call fcn.140103a20
xor eax, eax
jmp 0x14007a1eb
mov rcx, qword [0x1403213f0]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x1c8], rax
mov edx, 0x5a
mov rcx, qword [rsp + 0x1c8]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, 0x48
mov edx, eax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
lea rcx, str.Consolas
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateFontW]
mov qword [0x1403213f8], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [0x1403213f0]
call qword [sym.imp.USER32.dll_ReleaseDC]
xor r9d, r9d
mov r8, qword [0x1403213f8]
mov edx, gethostbyaddr
mov rcx, qword [0x1403213f0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc5
mov rcx, qword [0x1403213f0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [0x1403213e8]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [0x1403213e8]
call qword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x14007a1a0
mov edx, 6
mov rcx, qword [0x1403213e8]
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov edx, 0xffffffec
mov rcx, qword [0x1403213e8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xd4
mov rcx, qword [0x1403213b0]
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x140321400], rax
movzx eax, byte [0x140321532]
test eax, eax
je 0x14007a1d9
mov rax, qword [rsp + 0x210]
mov qword [rax + 0x2e8], 0
jmp 0x14007a1e6
mov rcx, qword [rsp + 0x210]
call fcn.140079a40
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WSOCK32.dll_closesocket
call fcn.140134a00
mov rax, rdi
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140135520
add rsp, 0x200
pop rdi
ret