Function at 0x180051988
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, 0xd0
mov r15, rdx
mov r14, rcx
call fcn.18004f400
nop
lea rsi, [r14 + 0x100]
mov qword [rbp - 0x31], rsi
mov rcx, rsi
call fcn.18007a400
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 - 0x29], r12
mov qword [rbp + 0x7f], r12
mov edi, r12d
mov qword [rbp + 0x77], r12
mov qword [rbp - 0x39], 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 - 0x31], r12
lea rdx, [rbp - 0x31]
lea rcx, [0x180057558]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x180051a13
mov qword [rbp + 7], rax
mov dword [rbp - 0xd], ebx
mov dword [rbp + 0xf], ebx
mov dword [rbp - 1], ebx
mov dword [rbp - 0x55], 0x44
mov byte [rbp - 0x51], r12b
mov byte [rbp - 0x50], 0x2d
mov byte [rbp - 0x4f], 0x36
mov byte [rbp - 0x4e], 0x21
mov byte [rbp - 0x4d], 0x27
mov byte [rbp - 0x4c], 0x30
mov byte [rbp - 0x4b], 0x77
mov byte [rbp - 0x4a], r12b
mov byte [rbp - 0x49], 7
mov byte [rbp - 0x48], 0x36
mov byte [rbp - 0x47], 0x21
mov byte [rbp - 0x46], 0x25
mov byte [rbp - 0x45], 0x30
mov byte [rbp - 0x44], 0x21
mov byte [rbp - 0x43], 0x7d
mov byte [rbp - 0x42], bl
mov byte [rbp - 0x41], 0x3c
xor eax, eax
mov byte [rbp - 0x40], al
mov al, byte [rbp - 0x51]
mov rdx, r12
mov al, byte [rbp + rdx - 0x51]
mov ecx, dword [rbp - 0x55]
xor cl, al
mov byte [rbp + rdx - 0x51], cl
add rdx, rbx
cmp rdx, 0x11
jb 0x180051a8f
mov byte [rbp - 0x40], r12b
lea rdx, [rbp - 0x51]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051b13
lea rdx, [rbp - 0x29]
mov ecx, 0x20
call rax
test eax, eax
jne 0x180051b13
mov rcx, qword [rbp - 0x29]
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 0x180051b13
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov dword [rbp - 0x69], 0x2a
mov eax, dword [rbp - 0x69]
xor al, 0x44
mov byte [rbp - 0x65], al
mov eax, dword [rbp - 0x69]
add al, bl
xor al, 0x69
mov byte [rbp - 0x64], al
mov eax, dword [rbp - 0x69]
add al, 2
xor al, 0x72
mov byte [rbp - 0x63], al
mov eax, dword [rbp - 0x69]
add al, 3
mov cl, 0x65
xor al, cl
mov byte [rbp - 0x62], al
mov eax, dword [rbp - 0x69]
add al, 4
xor al, 0x63
mov byte [rbp - 0x61], al
mov eax, dword [rbp - 0x69]
add al, 5
xor al, 0x74
mov byte [rbp - 0x60], al
mov eax, dword [rbp - 0x69]
add al, 6
xor al, 0x33
mov byte [rbp - 0x5f], al
mov eax, dword [rbp - 0x69]
add al, 7
xor al, 0x44
mov byte [rbp - 0x5e], al
mov eax, dword [rbp - 0x69]
add al, 8
xor al, 0x43
mov byte [rbp - 0x5d], al
mov eax, dword [rbp - 0x69]
add al, 9
xor al, 0x72
mov byte [rbp - 0x5c], al
mov eax, dword [rbp - 0x69]
add al, 0xa
xor al, cl
mov byte [rbp - 0x5b], al
mov eax, dword [rbp - 0x69]
add al, 0xb
xor al, 0x61
mov byte [rbp - 0x5a], al
mov eax, dword [rbp - 0x69]
add al, 0xc
xor al, 0x74
mov byte [rbp - 0x59], al
mov eax, dword [rbp - 0x69]
add al, 0xd
xor al, cl
mov byte [rbp - 0x58], al
mov eax, dword [rbp - 0x69]
add al, 0xe
xor al, 0x39
mov byte [rbp - 0x57], al
xor eax, eax
mov byte [rbp - 0x56], al
mov al, byte [rbp - 0x65]
mov r8, r12
mov al, byte [rbp + r8 - 0x65]
mov edx, dword [rbp - 0x69]
add dl, r8b
xor dl, al
mov byte [rbp + r8 - 0x65], dl
add r8, rbx
cmp r8, 0xf
jb 0x180051bbb
mov byte [rbp - 0x56], r12b
lea rdx, [rbp - 0x65]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051c45
mov ecx, 0x20
call rax
mov rdi, rax
test rax, rax
je 0x180051c2a
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 0x180051c49
cmp qword [rbp - 0x39], r12
jne 0x180051c49
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
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 0x180051c98
mov dword [rsp + 0x20], 2
lea r9, [0x180051624]
mov r8d, 0x84
mov rcx, rsi
call fcn.18007c530
mov dword [rsp + 0x20], 5
lea r9, [0x180051720]
mov r8d, 0x79
mov rdx, qword [rbp + 0x7f]
mov rcx, rsi
call fcn.18007c530
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180051ce6
mov dword [rsp + 0x20], 2
lea r9, [0x180051624]
mov r8d, 0x10
mov rdx, rcx
mov rcx, rsi
call fcn.18007c530
mov dword [rsp + 0x20], 4
lea r9, [fcn.180051644]
mov r8d, 0x11
mov rdx, qword [rbp + 0x77]
mov rcx, rsi
call fcn.18007c530
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov r10, qword [rbp - 0x39]
test r10, r10
je 0x180051d17
mov dword [rsp + 0x20], 5
lea r9, [0x180051730]
mov r8d, 3
mov rdx, r10
mov rcx, rsi
call fcn.18007c530
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rdx, rdx
jne 0x180051d21
test rcx, rcx
je 0x180051d27
cmp qword [rbp - 0x39], r12
jne 0x180051d2a
mov bl, r12b
mov byte [r14 + 8], bl
test rdx, rdx
je 0x180051d44
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 0x180051d53
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x77], r12
mov r10, qword [rbp - 0x39]
test r10, r10
je 0x180051d69
mov rax, qword [r10]
mov rcx, r10
call qword [rax + 0x10]
mov qword [rbp - 0x39], r12
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x180051d7c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x29], r12
test rdi, rdi
je 0x180051d8a
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 [0x1801101a8], r14
mov rax, r14
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret