Function at 0x180059970
Capabilities:
Contain obfuscated stackstrings
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.1800573a4
nop
lea r14, [rsi + 0x100]
mov qword [rbp - 0x29], r14
mov rcx, r14
call fcn.1800802bc
nop
lea rax, vtable.Dx9Render.1.0
mov qword [rsi], rax
lea rax, vtable.Dx9Render.0
mov qword [r14], rax
xor ebx, ebx
mov qword [rsi + 0x1a8], rbx
mov qword [rbp - 0x21], rbx
mov qword [rbp + 0x7f], rbx
mov edi, ebx
mov qword [rbp + 0x77], rbx
mov qword [rbp - 0x31], rbx
xor edx, edx
lea r8d, [rbx + 0x40]
lea rcx, [rbp - 0x19]
call fcn.1800970a0
lea r12d, [rbx + 1]
mov dword [rbp - 0x19], r12d
mov dword [rbp - 0x15], r12d
mov qword [rbp - 0x29], rbx
lea rdx, [rbp - 0x29]
lea rcx, [0x18005f370]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x1800599f9
mov qword [rbp + 7], rax
mov dword [rbp - 0xd], r12d
mov dword [rbp + 0xf], r12d
mov dword [rbp - 1], r12d
mov byte [rbp - 0x49], 0x48
mov byte [rbp - 0x48], WSASetLastError
mov byte [rbp - 0x47], 0x76
mov byte [rbp - 0x46], 0x69
mov byte [rbp - 0x45], 0x67
mov byte [rbp - 0x44], 0x78
mov byte [rbp - 0x43], 0x37
mov byte [rbp - 0x42], 0x48
mov byte [rbp - 0x41], 0x47
mov byte [rbp - 0x40], 0x76
mov byte [rbp - 0x3f], 0x69
mov byte [rbp - 0x3e], 0x65
mov byte [rbp - 0x3d], 0x78
mov byte [rbp - 0x3c], 0x69
mov byte [rbp - 0x3b], 0x3d
mov byte [rbp - 0x3a], 0x49
mov byte [rbp - 0x39], 0x7c
mov byte [rbp - 0x38], bl
mov al, byte [rbp - 0x49]
mov rcx, rbx
mov al, byte [rbp + rcx - 0x49]
sub al, 4
mov byte [rbp + rcx - 0x49], al
add rcx, r12
cmp rcx, 0x11
jb 0x180059a70
lea rdx, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180059aed
lea rdx, [rbp - 0x21]
mov ecx, 0x20
call rax
test eax, eax
jne 0x180059aed
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor r9d, r9d
mov r8d, r12d
xor edx, edx
call qword [rax + 0xa0]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x180059aed
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov byte [rbp - 0x59], 0x4e
mov byte [rbp - 0x58], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x57], 0x7c
mov byte [rbp - 0x56], WSASetLastError
mov byte [rbp - 0x55], WSASetLastError
mov byte [rbp - 0x54], 0x7e
mov byte [rbp - 0x53], 0x3d
mov byte [rbp - 0x52], 0x4e
mov byte [rbp - 0x51], 0x4d
mov byte [rbp - 0x50], 0x7c
mov byte [rbp - 0x4f], WSASetLastError
mov byte [rbp - 0x4e], 0x6b
mov byte [rbp - 0x4d], 0x7e
mov byte [rbp - 0x4c], WSASetLastError
mov byte [rbp - 0x4b], 0x43
mov byte [rbp - 0x4a], bl
mov al, byte [rbp - 0x59]
mov rdx, rbx
mov al, byte [rbp + rdx - 0x59]
sub al, 0xa
mov byte [rbp + rdx - 0x59], al
add rdx, r12
cmp rdx, 0xf
jb 0x180059b32
lea rdx, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180059bb0
mov ecx, 0x20
call rax
mov rdi, rax
test rax, rax
je 0x180059b95
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, r12d
xor edx, edx
mov rcx, rdi
call qword [r10 + 0x80]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180059bb4
cmp qword [rbp - 0x31], rbx
jne 0x180059bb4
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, 2
mov r10, qword [rbp + 0x7f]
test r10, r10
je 0x180059c07
mov dword [rsp + 0x20], r15d
lea r9, [0x180059614]
mov r8d, 0x84
mov rdx, r10
mov rcx, r14
call fcn.180081b44
mov dword [rsp + 0x20], 5
lea r9, [0x180059710]
lea r8d, [r15 + 0x77]
mov rdx, qword [rbp + 0x7f]
mov rcx, r14
call fcn.180081b44
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180059c52
mov dword [rsp + 0x20], r15d
lea r9, [0x180059614]
mov r8d, 0x10
mov rdx, rcx
mov rcx, r14
call fcn.180081b44
mov dword [rsp + 0x20], 4
lea r9, [fcn.180059634]
mov r8d, 0x11
mov rdx, qword [rbp + 0x77]
mov rcx, r14
call fcn.180081b44
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x180059c80
mov dword [rsp + 0x20], 5
lea r9, [0x180059720]
mov r8d, 3
mov rcx, r14
call fcn.180081b44
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test r10, r10
jne 0x180059c8a
test rcx, rcx
je 0x180059c93
cmp qword [rbp - 0x31], rbx
mov al, r12b
jne 0x180059c95
mov al, bl
mov byte [rsi + 8], al
test r10, r10
je 0x180059cae
mov rax, qword [r10]
mov rcx, r10
call qword [rax + 0x10]
mov qword [rbp + 0x7f], rbx
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180059cbd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x77], rbx
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x180059cd3
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbp - 0x31], rbx
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180059ce6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x21], rbx
test rdi, rdi
je 0x180059cf4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov byte [rbp + 0x67], 0x61
mov byte [rbp + 0x68], 0x52
mov byte [rbp + 0x69], 0x5b
mov byte [rbp + 0x6a], 0x58
mov byte [rbp + 0x6b], 0x5c
mov byte [rbp + 0x6c], bl
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rbx + 0x67]
sub al, 0xd
mov byte [rbp + rbx + 0x67], al
add rbx, r12
cmp rbx, 5
jb 0x180059d0e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, [rbp + 0x67]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov qword [0x1801b8258], rsi
mov rax, rsi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret