Function at 0x4dc69c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x510
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r13d, r9d
mov r14, r8
mov r12, rdx
mov rdi, rcx
mov rbx, qword [0x00862cb8]
xor r15d, r15d
cmp byte [rbx + 0x3127], r15b
jne 0x4dc6fe
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc6fe
mov edx, 0x2a7
call fcn.0041024c
jmp 0x4dc704
mov al, byte [rbx + 0x2d48]
cmp al, r15b
je 0x4dcd5b
mov esi, dword [rsp + 0x560]
cmp byte [0x008669f3], r15b
jne 0x4dc752
cmp byte [rbx + 0x3128], r15b
jne 0x4dc73e
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc73e
mov edx, 0x2a8
call fcn.0041024c
jmp 0x4dc744
mov al, byte [rbx + 0x2d49]
cmp al, r15b
je 0x4dc752
cmp esi, 0xffffffff
je 0x4dcd5b
mov rax, qword [0x008668d8]
cmp byte [rax + 0x9d3], r15b
jne 0x4dc797
cmp byte [rbx + 0x3129], r15b
jne 0x4dc783
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc783
mov edx, 0x2a9
call fcn.0041024c
jmp 0x4dc789
mov al, byte [rbx + 0x2d4a]
cmp al, r15b
je 0x4dc797
cmp esi, 0xffffffff
je 0x4dcd5b
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.004021f8
nop
mov rbp, qword [r12 + 0x40]
mov rbx, qword [0x00862cb8]
cmp byte [rbx + 0x3062], r15b
jne 0x4dc7d2
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc7d2
mov edx, 0x1e2
call fcn.0040a51c
jmp 0x4dc7d8
mov eax, dword [rbx + 0x2bac]
sub rbp, qword [r12 + 0x48]
sar rbp, 1
cmp ebp, eax
jle 0x4dc8a6
cmp byte [rbx + 0x3062], r15b
jne 0x4dc809
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc809
mov edx, 0x1e2
call fcn.0040a51c
jmp 0x4dc80f
mov eax, dword [rbx + 0x2bac]
add eax, 0xfffffffd
movsxd r9, eax
xor r8d, r8d
lea rdx, [rsp + 0xe8]
mov rcx, r12
call fcn.00421328
nop
lea rcx, [rsp + 0x70]
cmp rax, rcx
je 0x4dc846
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x70]
call fcn.00406d38
nop
lea rax, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
cmp rcx, rax
je 0x4dc887
cmp rcx, r15
je 0x4dc887
mov rax, qword [rsp + 0xe8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, 0x100
jbe 0x4dc882
call fcn.006a4944
jmp 0x4dc887
call fcn.006a3610
lea r8, [0x0079b4d6]
lea rdx, [0x0079b4d0]
lea rcx, [rsp + 0x70]
call fcn.00406b9c
mov rbx, qword [0x00862cb8]
cmp esi, r15d
jge 0x4dc8d4
cmp byte [rbx + 0x2fb9], r15b
jne 0x4dc8ce
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc8ce
mov edx, 0x139
call fcn.0040a51c
mov esi, eax
jmp 0x4dc8d4
mov esi, dword [rbx + 0x2908]
cmp esi, r15d
jne 0x4dc9d7
mov dword [rsp + 0x140], 0x3c8
mov rax, qword [0x008668d8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x148], rcx
mov dword [rsp + 0x150], r15d
mov dword [rsp + 0x154], reloc.WS2_32.dll_recv
cmp byte [rbx + 0x2fba], r15b
jne 0x4dc92f
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc92f
mov edx, 0x13a
call fcn.0040a51c
jmp 0x4dc935
mov eax, dword [rbx + 0x290c]
imul eax, eax, 0x3e8
mov dword [rsp + 0x470], eax
mov dword [rsp + 0x4f4], r13d
mov r8, qword [rsp + 0xb8]
mov ebx, 0x100
mov rdx, rbx
lea rcx, [rsp + 0x270]
call fcn.006a5d0c
mov r8, qword [r14 + 0x48]
mov edx, 0x40
lea rcx, [rsp + 0x474]
call fcn.006a5d0c
lea rdx, [rsp + 0x140]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
nop
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x4dcd5b
cmp rcx, r15
je 0x4dcd5b
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rbx
jbe 0x4dc9cd
call fcn.006a4944
jmp 0x4dcd5b
call fcn.006a3610
jmp 0x4dcd5b
mov r12d, 0xc5
cmp byte [rbx + 0x2f45], r15b
jne 0x4dc9fc
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dc9fc
mov edx, r12d
call fcn.004083bc
jmp 0x4dca03
lea rax, [rbx + 0x25b0]
lea rbp, [rdi + 0x30]
mov r8, qword [rbp + 0x20]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
sub rcx, rdx
mov rax, r8
sub rax, qword [rbp + 0x28]
cmp rax, rcx
jne 0x4dca3c
mov rcx, qword [rbp + 0x28]
sub r8, rcx
call fcn.006b9320
cmp eax, r15d
jne 0x4dca3c
cmp dword [rdi + 0x60], esi
je 0x4dcb32
cmp byte [rbx + 0x2f45], r15b
jne 0x4dca5b
mov rcx, qword [rbx + 0xb8]
cmp rcx, r15
je 0x4dca5b
mov edx, r12d
call fcn.004083bc
jmp 0x4dca62
lea rax, [rbx + 0x25b0]
cmp rax, rbp
je 0x4dca77
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
mov rcx, rbp
call fcn.0040289c
mov dword [rdi + 0x60], esi
mov rdx, rbp
lea rcx, [rsp + 0xe8]
call fcn.00401f00
mov dword [rsp + 0x28], 0x2010
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rdi + 0x28], rax
lea rax, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
cmp rcx, rax
je 0x4dcaee
cmp rcx, r15
je 0x4dcaee
mov rax, qword [rsp + 0xe8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, 0x100
jbe 0x4dcae9
call fcn.006a4944
jmp 0x4dcaee
call fcn.006a3610
mov rcx, qword [rdi + 0x28]
cmp rcx, r15
je 0x4dcb25
cmp esi, 1
jne 0x4dcb2a
lea r8, [rsp + 0xc0]
lea edx, [rsi + 0x1f]
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r11b, byte [rsp + 0xc8]
mov byte [rdi + 0x20], r11b
mov al, byte [rsp + 0xc4]
mov byte [rdi + 0x21], al
jmp 0x4dcb32
cmp esi, 1
je 0x4dcb32
mov byte [rdi + 0x20], 0x5a
mov byte [rdi + 0x21], 0xc8
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], r15d
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [rsp + 0x4c]
mov ebp, dword [rsp + 0x48]
movzx ecx, byte [rdi + 0x20]
movzx eax, word [rdi + 0x22]
add ecx, eax
cmp ecx, ebx
jle 0x4dcbb9
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x4dcd5b
cmp rcx, r15
je 0x4dcd5b
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x100
jbe 0x4dcbaf
call fcn.006a4944
jmp 0x4dcd5b
call fcn.006a3610
jmp 0x4dcd5b
mov rcx, qword [0x008669d0]
call qword [sym.imp.USER32.dll_SetFocus]
mov r12, rax
movzx ecx, word [rdi + 0x22]
sub ebx, ecx
movzx ecx, byte [rdi + 0x20]
mov r8d, ebx
sub r8d, ecx
movzx ecx, byte [rdi + 0x21]
mov edx, ebp
sub edx, ecx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x64], r8d
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x6c], ebx
mov ecx, 0x1e8
call fcn.006a494c
mov qword [rsp + 0x50], rax
cmp rax, r15
je 0x4dcc47
mov edx, dword [rdi + 0x64]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xc0], xmm0
lea ecx, [rdx + 1]
mov dword [rdi + 0x64], ecx
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
lea r9, [rsp + 0xc0]
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.004dbb90
mov rbx, rax
jmp 0x4dcc4a
mov rbx, r15
mov qword [rsp + 0x50], rbx
mov al, byte [rdi + 0x20]
mov byte [rbx + 0x58], al
cmp esi, 1
je 0x4dccb6
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4dccb6
mov esi, 0xffffffec
mov edx, esi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
or rax, 0x80020
mov r8, rax
mov edx, esi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.SetLayeredWindowAttributes
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9d, [rsi + 0x16]
mov r8b, 0xc8
xor edx, edx
mov rcx, qword [rbx + 8]
call rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 8
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetFocus]
movzx r11d, byte [rdi + 0x20]
add word [rdi + 0x22], r11w
lea rbx, [rdi + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.00442b68
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rbx + 8], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x4dcd5b
cmp rcx, r15
je 0x4dcd5b
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x100
jbe 0x4dcd56
call fcn.006a4944
jmp 0x4dcd5b
call fcn.006a3610
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret