Function at 0x1800058b2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180041640
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8f0
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
xorps xmm0, xmm0
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0xb0]
xor edx, edx
mov dword [rsp + 0xa8], eax
mov r8d, 0x208
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
call fcn.180003a85
xor edx, edx
lea rcx, [rsp + 0x2c0]
mov r8d, 0x618
call fcn.180003a85
mov r8d, dword [rbx + 0x14]
xor ebp, ebp
mov edx, dword [rbx + 0x18]
xor r15d, r15d
xor r14d, r14d
mov dword [rsp + 0x5c], ebp
xor esi, esi
mov dword [rsp + 0x58], r15d
xor r12d, r12d
mov dword [rsp + 0x50], r14d
xor r13d, r13d
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x6c], edx
cmp qword [rbx + 0x1700], rsi
jne 0x18004175d
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041725
lea rdx, str.d3d9_device_not_available_n
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor dil, dil
movzx eax, dil
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp byte [rbx + 0x51], sil
jne 0x180041785
cmp byte [rbx + 0x52], sil
jne 0x180041785
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041725
lea rdx, str.User_has_not_selected_valid_overlay_n
jmp 0x180041719
test r8d, r8d
jle 0x180041725
test edx, edx
jle 0x180041725
movzx eax, byte [rbx + 0x3c]
test al, al
je 0x1800417ad
cmp byte [rbx + 0x4e], sil
jne 0x1800417a2
cmp byte [rbx + 0x4f], sil
je 0x1800417ad
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], esi
jmp 0x180041822
xor ecx, ecx
lea rax, [0x1801327a8]
cmp edx, dword [rax - 4]
jl 0x1800417c0
cmp dword [rax], r8d
jle 0x1800417cf
inc ecx
add rax, 0x428
cmp ecx, 8
jb 0x1800417b6
jmp 0x18004181e
test ecx, ecx
js 0x18004181e
lfence
movsxd rax, ecx
imul rcx, rax, 0x428
lea rax, [0x1801327a0]
mov r12d, dword [rcx + rax]
mov r13d, dword [rcx + rax + 4]
mov ebp, dword [rcx + rax + 8]
mov r15d, dword [rcx + rax + 0xc]
mov r14d, dword [rcx + rax + 0x10]
mov esi, dword [rcx + rax + 0x14]
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], esi
movzx eax, byte [rbx + 0x3c]
mov dil, 1
test al, al
je 0x180041728
cmp byte [rbx + 0x4e], 0
je 0x18004197a
lea r8, [rbx + 0x54]
test r8, r8
je 0x180041728
mov edx, 0x104
lea rcx, [rsp + 0xb0]
mov r9, 0xffffffffffffffff
call fcn.1800025b3
xor r9d, r9d
lea r8, [rsp + 0x88]
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1800747fc
test eax, eax
je 0x1800418cf
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041725
mov dword [rsp + 0x48], esi
lea rdx, str.UserCustom_Logo_D3DXGetImageInfoFromFile_failed_with_error_code:0x_x_:_FileExists:_d_W:_d_H:_d_Lw:_d_Lh:_d_Mx:_d_My:_d
mov dword [rsp + 0x40], r14d
lea rcx, vtable.CLogger.0
mov dword [rsp + 0x38], r15d
mov r9d, 1
mov dword [rsp + 0x30], ebp
mov r8d, eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
call fcn.1800024fa
jmp 0x180041725
mov rcx, qword [rbx + 0x1700]
lea rsi, [rbx + 0x1738]
mov r8d, dword [rbx + 0x18]
xor edx, edx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rsi
mov rax, qword [rcx]
mov dword [rsp + 0x20], edx
lea r9d, [rdx + 0x15]
mov edx, dword [rbx + 0x14]
call qword [rax + 0x120]
test eax, eax
je 0x180041937
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041725
mov r8d, eax
lea rdx, str.UserCustom_Logo_CreateOffscreenPlainSurface_failed_with_error_code:0x_x_n
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180041725
mov rcx, qword [rbx + 0x1750]
test rcx, rcx
je 0x180041b97
mov eax, dword [rbx + 0x18]
lea r9, [rsp + 0x88]
mov rdx, qword [rsi]
lea r8, [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
call fcn.18000193d
test eax, eax
jns 0x180041b97
jmp 0x180041725
cmp byte [rbx + 0x4f], 0
je 0x180041728
xor eax, eax
lea rdi, [rbx + 0x1738]
xor r13d, r13d
mov qword [rsp + 0x80], rax
xor ebp, ebp
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rbp
lea r15, [rsp + 0x2c0]
lea esi, [rax + 1]
lea r12, [rbx + 0x854]
jmp 0x1800419c5
mov rdi, qword [rsp + 0x70]
test r12, r12
je 0x1800419eb
cmp byte [rbx + rax + 0x1484], 0
je 0x1800419eb
mov r9, 0xffffffffffffffff
mov r8, r12
mov edx, 0x104
mov rcx, r15
call fcn.1800025b3
xorps xmm0, xmm0
lea r8, [rsp + 0x88]
xor eax, eax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0xa8], eax
mov rcx, r15
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
call fcn.1800747fc
test eax, eax
je 0x180041a79
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041a79
mov ecx, dword [rsp + 0x54]
lea rdx, str.UserCustom_Logo_D3DXGetImageInfoFromFile_failed_with_error_code:0x_x_:_FileExists:_d_W:_d_H:_d_Lw:_d_Lh:_d_Mx:_d_My:_d
mov dword [rsp + 0x48], ecx
mov r9d, esi
mov ecx, dword [rsp + 0x58]
mov r8d, eax
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x20], ecx
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, qword [rbx + 0x1700]
lea rax, [rbx + 0x1738]
mov r8d, dword [rbx + 0x18]
xor edx, edx
mov qword [rsp + 0x30], rdx
add rax, rbp
mov qword [rsp + 0x28], rax
movzx r14d, sil
mov r10, qword [rcx]
mov dword [rsp + 0x20], edx
lea r9d, [rdx + 0x15]
mov edx, dword [rbx + 0x14]
call qword [r10 + 0x120]
mov ebp, eax
test eax, eax
je 0x180041ae8
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180041ae5
mov r9d, eax
lea rdx, str.UserCustom_Logo_CreateOffscreenPlainSurface___d__failed_with_error_code:0x_x_n
mov r8d, r13d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor r14b, r14b
mov rcx, qword [rbx + 0x1750]
test rcx, rcx
je 0x180041b17
mov eax, dword [rbx + 0x18]
lea r9, [rsp + 0x88]
mov rdx, qword [rdi]
mov r8, r15
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
call fcn.18000193d
mov ebp, eax
xor edi, edi
movzx eax, r14b
mov r14d, dword [rsp + 0x50]
test ebp, ebp
mov rbp, qword [rsp + 0x78]
cmovns edi, eax
mov rax, qword [rsp + 0x80]
add qword [rsp + 0x70], 8
inc rax
add rbp, 8
mov qword [rsp + 0x80], rax
inc r13d
mov qword [rsp + 0x78], rbp
add r12, 0x410
add r15, 0x208
cmp r13d, 3
jl 0x1800419c0
mov rax, rsi
nop dword [rax]
cmp byte [rbx + rax + 0x1483], 0
jne 0x180041b91
inc esi
mov dword [rbx + 0x1790], 0
inc rax
cmp rax, 3
jle 0x180041b70
jmp 0x180041b97
mov dword [rbx + 0x1790], esi
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x1780], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0x1784], eax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x178c], eax
mov qword [rbx + 0x1778], 0
mov dword [rbx + 0x1788], r14d
jmp 0x180041728