Function at 0x180001d90
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180022028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov rcx, qword [rcx]
or edx, 0xffffffff
mov rcx, qword [rcx + 0x43c]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx]
xor esi, esi
mov edx, dword [rax + 0x430]
test edx, edx
je 0x180002292
mov rcx, qword [rbx + 0x30]
xor eax, eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x1800022bd
mov rax, qword [rbx]
movsxd rdi, dword [rax + 0x430]
mov rax, qword [rbx]
mov ecx, dword [rax + 0x430]
cmp ecx, dword [rbx + 0x50]
jle 0x180001ed7
mov rax, qword [rbx]
cmp qword [rbx + 0x58], rsi
jne 0x180001e76
movsxd rcx, dword [rax + 0x430]
shl rcx, 4
call fcn.1800069a8
jmp 0x180001e8a
movsxd rdx, dword [rax + 0x430]
mov rcx, qword [rbx + 0x58]
shl rdx, 4
call fcn.180006a60
movsxd r8, dword [rbx + 0x50]
mov qword [rbx + 0x58], rax
mov rax, qword [rbx]
mov ecx, dword [rax + 0x430]
cmp r8d, ecx
jge 0x180001ed7
mov rdx, r8
shl rdx, 4
nop word [rax + rax]
mov rax, qword [rbx + 0x58]
inc r8d
lea rdx, [rdx + 0x10]
mov qword [rdx + rax - 0x10], rsi
mov rax, qword [rbx + 0x58]
mov qword [rax + rdx - 8], rsi
mov rax, qword [rbx]
mov ecx, dword [rax + 0x430]
cmp r8d, ecx
jl 0x180001eb0
mov r12d, esi
mov rbp, rsi
mov r13, rdi
test edi, edi
jle 0x18000228f
mov rdi, rsi
mov r14, rsi
nop
mov rax, qword [rbx + 0x60]
mov rcx, qword [r14 + rax]
test rcx, rcx
je 0x18000223e
mov rax, qword [rbx + 0x60]
mov ecx, dword [r14 + rax + 0x14]
test ecx, ecx
jne 0x180001f1c
mov rax, qword [rbx + 0x58]
cmp qword [rdi + rax], rsi
jne 0x180002275
mov rax, qword [rbx + 0x58]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x180001f37
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx + 0x58]
mov qword [rdi + rax], rsi
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
test rcx, rcx
je 0x180001f53
call fcn.180006b34
mov rax, qword [rbx + 0x58]
mov qword [rax + rdi + 8], rsi
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
movsxd r8, dword [r14 + rax + 0x10]
mov rdx, qword [rbx + 0x60]
lea rax, [rsp + 0x40]
mov rdx, qword [r14 + rdx]
mov rcx, qword [rbx + 0xf8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateTextureFromMemory]
mov r15d, eax
test eax, eax
js 0x1800022f3
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [0x18001e730]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rbx + 0xf8]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
movsxd r15, r12d
xor r8d, r8d
mov r9, r15
shl r9, 4
add r9, qword [rbx + 0x58]
call qword [rax + 0x38]
test eax, eax
js 0x1800022bd
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx + 0x60]
mov rcx, qword [r14 + rax + 8]
test rcx, rcx
je 0x180002230
mov ecx, 0x308
xorps xmm6, xmm6
call fcn.1800069a8
mov rcx, qword [rbx + 0x58]
mov r8, rsi
mov qword [rcx + rdi + 8], rax
mov rax, qword [rbx + 0x60]
mov rdx, qword [r14 + rax + 8]
add rdx, 4
movzx eax, word [rdx - 4]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx], xmm0
nop word [rax + rax]
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
movss dword [rcx + r8 + 8], xmm6
movzx eax, word [rdx - 2]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0xc], xmm0
movzx eax, word [rdx - 2]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8 + 0x10], xmm6
movzx eax, word [rdx]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0x14], xmm0
movzx eax, word [rdx]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [r8 + rcx + 0x18], xmm6
movzx eax, word [rdx + 2]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0x1c], xmm0
movzx eax, word [rdx + 2]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8 + 0x20], xmm6
movzx eax, word [rdx + 4]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0x24], xmm0
movzx eax, word [rdx + 4]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8 + 0x28], xmm6
movzx eax, word [rdx + 6]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0x2c], xmm0
movzx eax, word [rdx + 6]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8 + 0x30], xmm6
movzx eax, word [rdx + 8]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 0x34], xmm0
movzx eax, word [rdx + 8]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8 + 0x38], xmm6
movzx eax, word [rdx + 0xa]
add r8, 0x40
add rdx, 0x10
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 - 4], xmm0
movzx eax, word [rdx - 6]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [rcx + r8], xmm6
movzx eax, word [rdx - 4]
movd xmm0, eax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
cvtdq2ps xmm0, xmm0
movss dword [rcx + r8 + 4], xmm0
movzx eax, word [rdx - 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
cmp r8, 0x300
jl 0x180002040
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
movss dword [rcx + 4], xmm6
mov rax, qword [rbx + 0x60]
lea rcx, [r15 + r15*2]
mov dword [rax + rcx*8 + 0x14], esi
jmp 0x180002275
mov rax, qword [rbx + 0x58]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x180002259
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx + 0x58]
mov qword [rdi + rax], rsi
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rdi + 8]
test rcx, rcx
je 0x180002275
call fcn.180006b34
mov rax, qword [rbx + 0x58]
mov qword [rax + rdi + 8], rsi
inc rbp
inc r12d
add r14, 0x18
add rdi, 0x10
cmp rbp, r13
jl 0x180001ef0
mov edi, r13d
mov dword [rbx + 0x50], edi
mov rax, qword [rbx]
mov ecx, dword [rax + 0x42c]
test ecx, ecx
je 0x1800022a8
mov rax, qword [rbx]
xchg dword [rax + 0x42c], esi
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x43c]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180006780
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.Failure_creating_a_texture
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, r15d
jmp 0x1800022bd