Function at 0x18005898c
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.1800563c0
nop
lea r14, [rsi + 0x100]
mov qword [rbp - 0x29], r14
mov rcx, r14
call fcn.1800775d4
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 sub.msvcrt.dll_memset
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, [0x18005e538]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x180058a15
mov qword [rbp + 7], rax
mov dword [rbp - 0xd], r12d
mov dword [rbp + 0xf], r12d
mov dword [rbp - 1], r12d
mov byte [rbp - 0x49], 0x49
mov byte [rbp - 0x48], WSASetLastError
mov byte [rbp - 0x47], 0x77
mov byte [rbp - 0x46], 0x6a
mov byte [rbp - 0x45], 0x68
mov byte [rbp - 0x44], 0x79
mov byte [rbp - 0x43], 0x38
mov byte [rbp - 0x42], 0x49
mov byte [rbp - 0x41], 0x48
mov byte [rbp - 0x40], 0x77
mov byte [rbp - 0x3f], 0x6a
mov byte [rbp - 0x3e], 0x66
mov byte [rbp - 0x3d], 0x79
mov byte [rbp - 0x3c], 0x6a
mov byte [rbp - 0x3b], 0x3e
mov byte [rbp - 0x3a], 0x4a
mov byte [rbp - 0x39], 0x7d
mov byte [rbp - 0x38], bl
mov al, byte [rbp - 0x49]
mov rcx, rbx
mov al, byte [rbp + rcx - 0x49]
sub al, 5
mov byte [rbp + rcx - 0x49], al
add rcx, r12
cmp rcx, 0x11
jb 0x180058a8c
lea rdx, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180058b09
lea rdx, [rbp - 0x21]
mov ecx, 0x20
call rax
test eax, eax
jne 0x180058b09
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 0x180058b09
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
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], bl
mov al, byte [rbp - 0x59]
mov rdx, rbx
mov al, byte [rbp + rdx - 0x59]
sub al, 0xb
mov byte [rbp + rdx - 0x59], al
add rdx, r12
cmp rdx, 0xf
jb 0x180058b4e
lea rdx, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180058bcc
mov ecx, 0x20
call rax
mov rdi, rax
test rax, rax
je 0x180058bb1
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 0x180058bd0
cmp qword [rbp - 0x31], rbx
jne 0x180058bd0
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 0x180058c23
mov dword [rsp + 0x20], r15d
lea r9, [0x180058630]
mov r8d, 0x84
mov rdx, r10
mov rcx, r14
call fcn.180078e5c
mov dword [rsp + 0x20], 5
lea r9, [0x18005872c]
lea r8d, [r15 + 0x77]
mov rdx, qword [rbp + 0x7f]
mov rcx, r14
call fcn.180078e5c
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180058c6e
mov dword [rsp + 0x20], r15d
lea r9, [0x180058630]
mov r8d, 0x10
mov rdx, rcx
mov rcx, r14
call fcn.180078e5c
mov dword [rsp + 0x20], 4
lea r9, [fcn.180058650]
mov r8d, 0x11
mov rdx, qword [rbp + 0x77]
mov rcx, r14
call fcn.180078e5c
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x180058c9c
mov dword [rsp + 0x20], 5
lea r9, [0x18005873c]
mov r8d, 3
mov rcx, r14
call fcn.180078e5c
mov r10, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
test r10, r10
jne 0x180058ca6
test rcx, rcx
je 0x180058caf
cmp qword [rbp - 0x31], rbx
mov al, r12b
jne 0x180058cb1
mov al, bl
mov byte [rsi + 8], al
test r10, r10
je 0x180058cca
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 0x180058cd9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x77], rbx
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x180058cef
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 0x180058d02
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x21], rbx
test rdi, rdi
je 0x180058d10
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov byte [rbp + 0x67], 0x5d
mov byte [rbp + 0x68], 0x4e
mov byte [rbp + 0x69], 0x57
mov byte [rbp + 0x6a], 0x54
mov byte [rbp + 0x6b], 0x58
mov byte [rbp + 0x6c], bl
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rbx + 0x67]
sub al, 9
mov byte [rbp + rbx + 0x67], al
add rbx, r12
cmp rbx, 5
jb 0x180058d2a
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 [0x18019f228], rsi
mov rax, rsi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret