Function at 0x1800517d4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov r15, rdx
mov r14, rcx
call fcn.18004f24c
nop
lea rsi, [r14 + 0x100]
mov qword [rbp - 0x29], rsi
mov rcx, rsi
call fcn.180079820
nop
lea rax, vtable.Dx9Render.1.0
mov qword [r14], rax
lea rax, vtable.Dx9Render.0
mov qword [rsi], rax
xor r12d, r12d
mov qword [r14 + 0x1a8], r12
mov qword [rbp - 0x21], r12
mov qword [rbp + 0x7f], r12
mov edi, r12d
mov qword [rbp + 0x77], r12
mov qword [rbp - 0x31], r12
xor edx, edx
lea r8d, [r12 + 0x40]
lea rcx, [rbp - 0x19]
call sub.msvcrt.dll_memset
lea ebx, [r12 + 1]
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x15], ebx
mov qword [rbp - 0x29], r12
lea rdx, [rbp - 0x29]
lea rcx, [0x180057164]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x18005185f
mov qword [rbp + 7], rax
mov dword [rbp - 0xd], ebx
mov dword [rbp + 0xf], ebx
mov dword [rbp - 1], ebx
mov byte [rbp - 0x45], 0x4d
mov byte [rbp - 0x44], WSACleanup
mov byte [rbp - 0x43], 0x7b
mov byte [rbp - 0x42], WSASetLastError
mov byte [rbp - 0x41], 0x6c
mov byte [rbp - 0x40], 0x7d
mov byte [rbp - 0x3f], 0x3c
mov byte [rbp - 0x3e], 0x4d
mov byte [rbp - 0x3d], 0x4c
mov byte [rbp - 0x3c], 0x7b
mov byte [rbp - 0x3b], WSASetLastError
mov byte [rbp - 0x3a], 0x6a
mov byte [rbp - 0x39], 0x7d
mov byte [rbp - 0x38], WSASetLastError
mov byte [rbp - 0x37], 0x42
mov byte [rbp - 0x36], 0x4e
mov byte [rbp - 0x35], 0x81
mov byte [rbp - 0x34], r12b
mov al, byte [rbp - 0x45]
mov rcx, r12
mov al, byte [rbp + rcx - 0x45]
sub al, 9
mov byte [rbp + rcx - 0x45], al
add rcx, rbx
cmp rcx, 0x11
jb 0x1800518d4
lea rdx, [rbp - 0x45]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051951
lea rdx, [rbp - 0x21]
mov ecx, 0x20
call rax
test eax, eax
jne 0x180051951
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r12
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call qword [rax + 0xa0]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x180051951
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov dword [rbp - 0x59], 0x3d
mov eax, dword [rbp - 0x59]
xor al, 0x44
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x59]
add al, bl
xor al, 0x69
mov byte [rbp - 0x54], al
mov eax, dword [rbp - 0x59]
add al, 2
xor al, 0x72
mov byte [rbp - 0x53], al
mov eax, dword [rbp - 0x59]
add al, 3
mov cl, 0x65
xor al, cl
mov byte [rbp - 0x52], al
mov eax, dword [rbp - 0x59]
add al, 4
xor al, 0x63
mov byte [rbp - 0x51], al
mov eax, dword [rbp - 0x59]
add al, 5
xor al, 0x74
mov byte [rbp - 0x50], al
mov eax, dword [rbp - 0x59]
add al, 6
xor al, 0x33
mov byte [rbp - 0x4f], al
mov eax, dword [rbp - 0x59]
add al, 7
xor al, 0x44
mov byte [rbp - 0x4e], al
mov eax, dword [rbp - 0x59]
add al, 8
xor al, 0x43
mov byte [rbp - 0x4d], al
mov eax, dword [rbp - 0x59]
add al, 9
xor al, 0x72
mov byte [rbp - 0x4c], al
mov eax, dword [rbp - 0x59]
add al, 0xa
xor al, cl
mov byte [rbp - 0x4b], al
mov eax, dword [rbp - 0x59]
add al, 0xb
xor al, 0x61
mov byte [rbp - 0x4a], al
mov eax, dword [rbp - 0x59]
add al, 0xc
xor al, 0x74
mov byte [rbp - 0x49], al
mov eax, dword [rbp - 0x59]
add al, 0xd
xor al, cl
mov byte [rbp - 0x48], al
mov eax, dword [rbp - 0x59]
add al, 0xe
xor al, 0x39
mov byte [rbp - 0x47], al
xor eax, eax
mov byte [rbp - 0x46], al
mov al, byte [rbp - 0x55]
mov r8, r12
mov al, byte [rbp + r8 - 0x55]
mov edx, dword [rbp - 0x59]
add dl, r8b
xor dl, al
mov byte [rbp + r8 - 0x55], dl
add r8, rbx
cmp r8, 0xf
jb 0x1800519f9
mov byte [rbp - 0x46], r12b
lea rdx, [rbp - 0x55]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051a83
mov ecx, 0x20
call rax
mov rdi, rax
test rax, rax
je 0x180051a68
mov r10, qword [rax]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
xor r9d, r9d
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [r10 + 0x80]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180051a87
cmp qword [rbp - 0x31], r12
jne 0x180051a87
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x180051ad6
mov dword [rsp + 0x20], 2
lea r9, [0x180051470]
mov r8d, 0x84
mov rcx, rsi
call fcn.18007b8b0
mov dword [rsp + 0x20], 5
lea r9, [0x18005156c]
mov r8d, 0x79
mov rdx, qword [rbp + 0x7f]
mov rcx, rsi
call fcn.18007b8b0
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180051b24
mov dword [rsp + 0x20], 2
lea r9, [0x180051470]
mov r8d, 0x10
mov rdx, rcx
mov rcx, rsi
call fcn.18007b8b0
mov dword [rsp + 0x20], 4
lea r9, [fcn.180051490]
mov r8d, 0x11
mov rdx, qword [rbp + 0x77]
mov rcx, rsi
call fcn.18007b8b0
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov r10, qword [rbp - 0x31]
test r10, r10
je 0x180051b55
mov dword [rsp + 0x20], 5
lea r9, [0x18005157c]
mov r8d, 3
mov rdx, r10
mov rcx, rsi
call fcn.18007b8b0
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rdx, rdx
jne 0x180051b5f
test rcx, rcx
je 0x180051b65
cmp qword [rbp - 0x31], r12
jne 0x180051b68
mov bl, r12b
mov byte [r14 + 8], bl
test rdx, rdx
je 0x180051b82
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbp + 0x7f], r12
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180051b91
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x77], r12
mov r10, qword [rbp - 0x31]
test r10, r10
je 0x180051ba7
mov rax, qword [r10]
mov rcx, r10
call qword [rax + 0x10]
mov qword [rbp - 0x31], r12
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180051bba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x21], r12
test rdi, rdi
je 0x180051bc8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.TENKO
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov qword [0x18010f1a8], r14
mov rax, r14
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret