Function at 0x180050fe8
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 rsi, rcx
call fcn.18004ea60
nop
lea r14, [rsi + 0x100]
mov qword [rbp - 0x29], r14
mov rcx, r14
call fcn.180079680
nop
lea rax, vtable.Dx9Render.1.0
mov qword [rsi], rax
lea rax, vtable.Dx9Render.0
mov qword [r14], rax
xor r12d, r12d
mov qword [rsi + 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, [0x180056a04]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x180051073
mov qword [rbp + 7], rax
mov dword [rbp - 0xd], ebx
mov dword [rbp + 0xf], ebx
mov dword [rbp - 1], ebx
mov byte [rbp - 0x59], 0x4f
mov byte [rbp - 0x58], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x57], 0x7d
mov byte [rbp - 0x56], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x55], WSASetLastError
mov byte [rbp - 0x54], 0x7f
mov byte [rbp - 0x53], 0x3e
mov byte [rbp - 0x52], 0x4f
mov byte [rbp - 0x51], 0x4e
mov byte [rbp - 0x50], 0x7d
mov byte [rbp - 0x4f], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x4e], 0x6c
mov byte [rbp - 0x4d], 0x7f
mov byte [rbp - 0x4c], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x4b], 0x44
mov byte [rbp - 0x4a], 0x50
mov byte [rbp - 0x49], 0x83
mov byte [rbp - 0x48], r12b
mov al, byte [rbp - 0x59]
mov rcx, r12
mov al, byte [rbp + rcx - 0x59]
sub al, 0xb
mov byte [rbp + rcx - 0x59], al
add rcx, rbx
cmp rcx, 0x11
jb 0x1800510e8
lea rdx, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051165
lea rdx, [rbp - 0x21]
mov ecx, 0x20
call rax
test eax, eax
jne 0x180051165
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 0x180051165
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov dword [rbp - 0x45], 0x2b
mov byte [rbp - 0x41], WSASetLastError
mov byte [rbp - 0x40], 0x42
mov byte [rbp - 0x3f], 0x59
mov byte [rbp - 0x3e], 0x4e
mov byte [rbp - 0x3d], 0x48
mov byte [rbp - 0x3c], 0x5f
mov byte [rbp - 0x3b], 0x18
mov byte [rbp - 0x3a], WSASetLastError
mov byte [rbp - 0x39], 0x68
mov byte [rbp - 0x38], 0x59
mov byte [rbp - 0x37], 0x4e
mov byte [rbp - 0x36], 0x4a
mov byte [rbp - 0x35], 0x5f
mov byte [rbp - 0x34], 0x4e
mov byte [rbp - 0x33], 0x12
xor eax, eax
mov byte [rbp - 0x32], al
mov al, byte [rbp - 0x41]
mov r8, r12
mov al, byte [rbp + r8 - 0x41]
mov edx, dword [rbp - 0x45]
xor dl, al
mov byte [rbp + r8 - 0x41], dl
add r8, rbx
cmp r8, 0xf
jb 0x1800511b3
mov byte [rbp - 0x32], r12b
lea rdx, [rbp - 0x41]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005123a
mov ecx, 0x20
call rax
mov rdi, rax
test rax, rax
je 0x18005121f
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 0x18005123e
cmp qword [rbp - 0x31], r12
jne 0x18005123e
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 r15d, 5
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x18005128c
mov dword [rsp + 0x20], 2
lea r9, [0x180050c84]
lea r8d, [r15 + 0x7f]
mov rcx, r14
call fcn.18007b720
mov dword [rsp + 0x20], r15d
lea r9, [0x180050d80]
lea r8d, [r15 + 0x74]
mov rdx, qword [rbp + 0x7f]
mov rcx, r14
call fcn.18007b720
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1800512da
mov dword [rsp + 0x20], 2
lea r9, [0x180050c84]
mov r8d, 0x10
mov rdx, rcx
mov rcx, r14
call fcn.18007b720
mov dword [rsp + 0x20], 4
lea r9, [fcn.180050ca4]
mov r8d, 0x11
mov rdx, qword [rbp + 0x77]
mov rcx, r14
call fcn.18007b720
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov r10, qword [rbp - 0x31]
test r10, r10
je 0x180051308
mov dword [rsp + 0x20], r15d
lea r9, [0x180050d90]
mov r8d, 3
mov rdx, r10
mov rcx, r14
call fcn.18007b720
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rdx, rdx
jne 0x180051312
test rcx, rcx
je 0x180051318
cmp qword [rbp - 0x31], r12
jne 0x18005131b
mov bl, r12b
mov byte [rsi + 8], bl
test rdx, rdx
je 0x180051334
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 0x180051343
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x77], r12
mov r10, qword [rbp - 0x31]
test r10, r10
je 0x180051359
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 0x18005136c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x21], r12
test rdi, rdi
je 0x18005137a
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 [0x18010f2b8], rsi
mov rax, rsi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret