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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r13
sub rsp, 0x338
mov rax, qword [rcx + 0x10]
mov r13, rcx
mov rbp, rdx
mov rsi, qword [rax + 0x1a0]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x48], rsi
test rsi, rsi
je 0x1400433d7
test rdx, rdx
je 0x1400433d7
mov eax, dword [rcx + 0x1c]
sub eax, 1
je 0x1400433e9
mov eax, 2
add rsp, 0x338
pop r13
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x368], rdi
lea rdi, [r13 + 0x98]
test rdi, rdi
jne 0x140043405
lea eax, [rdi + 2]
jmp 0x140043cc7
xor eax, eax
mov qword [rsp + 0x330], r12
lea rcx, [rsp + 0x198]
xor ebx, ebx
xor edx, edx
mov r8d, 0x168
mov qword [rsp + 0x328], r14
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x320], r15
mov qword [rsp + 0x180], rbx
call fcn.1401e6750
mov r8, qword [rsp + 0x78]
mov r14d, dword [rbp + 0x30]
mov r15d, dword [rbp + 0x2c]
mov r9, qword [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x84], ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x100], rbx
mov ecx, r15d
mov eax, r14d
sar eax, 3
sar ecx, 3
mov r12, rbx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x160], rbx
mov dword [rsp + 0x38], ebx
imul ecx, eax
movd xmm0, ecx
movsxd rcx, dword [r9 + 0x210]
mov dword [rsp + 0x3c], ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402abbc8]
imul rcx, rcx, 0x44
cvttss2si eax, xmm0
mov dword [rsp + 0x58], eax
mov eax, dword [r8 + 0x4a4]
dec eax
movsxd rdx, eax
movsxd rax, dword [r8 + 0x3c4]
and rdx, rax
lea rax, [r8 + rdx]
movzx r11d, byte [rcx + rax + 0x3a4]
cmp r11b, 0xff
je 0x140043caa
mov rax, qword [r9 + 0x140]
movzx ecx, r11b
mov r10d, dword [rax + rcx*4 + 0x20]
mov dword [rsp + 0x34], r10d
cmp byte [r8 + 0x370], bl
je 0x140043716
mov eax, dword [r13 + 0x2b0]
test eax, eax
jle 0x140043c96
movzx esi, byte [r9 + 0x148]
lea r9d, [rax - 1]
mov r13d, 1
mov dword [rsp + 0x378], r13d
mov dword [rsp + 0x30], ebx
mov r10, r13
movsxd r8, r9d
test r9d, r9d
js 0x1400436ac
mov r15d, dword [rsp + 0x34]
inc r9d
mov r14d, ebx
mov rcx, qword [rdi + r8*8]
test rcx, rcx
je 0x14004368e
cmp byte [rcx + 0x70], bl
je 0x14004368e
cmp byte [rcx + 0x71], bl
je 0x14004368e
test sil, sil
je 0x140043644
cmp byte [rcx + 0x72], bl
je 0x14004368e
movzx edx, byte [rcx + 0x72]
movzx eax, byte [rcx + 0x74]
test dl, dl
jne 0x140043660
test r11b, r11b
jne 0x14004365b
test al, al
je 0x140043660
jmp 0x14004368e
cmp al, r11b
jae 0x14004368e
cmp dword [rcx + 0x6c], r15d
jne 0x14004366b
mov rax, rbx
jmp 0x140043674
mov rax, r10
inc r13d
inc r10
lea rax, [rax + rax*2]
mov qword [rsp + rax*8 + 0x180], rcx
mov dword [rsp + rax*8 + 0x188], r9d
movzx eax, dl
add r14d, eax
dec r9d
sub r8, 1
jns 0x140043627
mov r15d, dword [rbp + 0x2c]
mov dword [rsp + 0x30], r14d
mov r14d, dword [rbp + 0x30]
mov dword [rsp + 0x378], r13d
cmp qword [rsp + 0x180], rbx
jne 0x140043785
movsxd r9, r13d
cmp r9, 1
jle 0x1400436e7
lea rdx, [rsp + 0x188]
lea r8, [r9 - 1]
nop
mov rax, qword [rdx + 0x10]
add rdx, 0x18
sub r8, 1
mov qword [rdx - 0x20], rax
mov eax, dword [rdx]
mov dword [rdx - 0x18], eax
jne 0x1400436d0
mov rsi, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
lea rax, [r9 + r9*2]
mov r9, qword [rsp + 0x50]
dec r13d
mov qword [rsp + rax*8 + 0x168], rbx
mov dword [rsp + rax*8 + 0x170], ebx
mov dword [rsp + 0x378], r13d
jmp 0x140043794
mov eax, dword [r13 + 0x2b0]
test eax, eax
jle 0x140043c96
lea r8d, [rax - 1]
mov r13d, ebx
mov dword [rsp + 0x378], ebx
mov dword [rsp + 0x30], ebx
movsxd rdx, r8d
test r8d, r8d
js 0x140043c96
inc r8d
lea rcx, [rsp + 0x188]
nop
mov rax, qword [rdi + rdx*8]
test rax, rax
je 0x140043772
cmp byte [rax + 0x70], bl
je 0x140043772
cmp byte [rax + 0x74], r11b
ja 0x140043772
mov qword [rcx - 8], rax
mov dword [rcx], r8d
inc r13d
add rcx, 0x18
dec r8d
sub rdx, 1
jns 0x140043750
mov dword [rsp + 0x378], r13d
jmp 0x140043794
mov rsi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x34]
test r13d, r13d
je 0x140043c96
mov rax, qword [rbp + 8]
mov edi, 0x7fffffff
mov dword [rsp + 0xf0], r15d
mov qword [rsp + 0xc0], rax
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0xd8], 1
mov qword [rsp + 0xc8], rax
mov rax, qword [rbp + 0x18]
mov dword [rsp + 0xf4], r14d
mov qword [rsp + 0xd0], rax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0xf8], reloc.WS2_32.dll_socket
mov dword [rsp + 0xdc], eax
mov eax, dword [rbp + 0x24]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0xe0], eax
movsxd rax, r13d
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x70], rdi
mov r15, rdi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x158], rax
mov rbp, rbx
test r13d, r13d
jle 0x140043bcc
movaps xmmword [rsp + 0x310], xmm6
movsd xmm6, qword [0x1402ab578]
movaps xmmword [rsp + 0x300], xmm7
movsd xmm7, qword [0x1402ab580]
mov r13, rdi
nop
mov rax, qword [rsi + rbp*8 + 0x480]
mov dword [rsp + 0x80], ebx
mov byte [rsp + 0xb4], bl
mov qword [rsp + 0x90], rax
lea r14, [rbp + rbp*2]
mov rsi, qword [rsp + r14*8 + 0x180]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x108], rax
mov rax, qword [rsi + 0x18]
mov dword [rsp + 0x118], 1
mov qword [rsp + 0x110], rax
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x11c], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x120], eax
mov eax, dword [rsi + 0x2c]
mov dword [rsp + 0x130], eax
mov eax, dword [rsi + 0x30]
mov dword [rsp + 0x138], reloc.WS2_32.dll_socket
mov dword [rsp + 0x134], eax
cmp dword [rsi + 0x6c], r10d
sete r12b
test rbp, rbp
jne 0x1400439da
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x360]
xor eax, eax
mov dword [rdi + 0x150], eax
mov dword [rdi + 0x154], eax
mov dword [rdi + 0x158], eax
mov dword [rdi + 0x15c], eax
mov dword [rdi + 0x160], eax
mov dword [rdi + 0x164], eax
mov dword [rdi + 0x168], eax
mov dword [rdi + 0x16c], eax
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
lea r8, [rdi + 0x150]
lea edx, [rbp + 0xc]
call qword [rax + 0x30]
mov rax, qword [rsp + 0x360]
lea r9, [rsp + 0x100]
mov rcx, qword [rax + 8]
lea r8, [rsp + 0xc0]
lea edx, [rbp + 0xc]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x140043986
mov rax, qword [rsp + 0x360]
lea r8, [rdi + 0x150]
lea edx, [rbp + 0xc]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov eax, dword [rdi + 0x150]
lea rcx, [rsp + 0x98]
mov dword [rcx], eax
mov eax, dword [rdi + 0x154]
mov dword [rcx + 4], eax
mov eax, dword [rdi + 0x158]
mov dword [rcx + 8], eax
mov eax, dword [rdi + 0x15c]
mov dword [rcx + 0xc], eax
mov eax, dword [rdi + 0x160]
mov dword [rcx + 0x10], eax
mov eax, dword [rdi + 0x164]
mov dword [rcx + 0x14], eax
mov eax, dword [rdi + 0x168]
mov dword [rcx + 0x18], eax
mov eax, dword [rdi + 0x16c]
mov rdi, qword [rsp + 0x60]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x360]
lea r8, [rsp + 0x80]
mov edx, 4
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rax, qword [rsp + 0x360]
lea r9, [rsp + 0x100]
mov rcx, qword [rax + 8]
lea r8, [rsp + 0xc0]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x140043b91
mov rax, qword [rsp + 0x360]
lea r8, [rsp + 0x80]
mov edx, 4
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, dword [rsp + 0x80]
movzx r11d, byte [rsi + 0x72]
mov edx, dword [rsi + 0x78]
cmp ecx, 2
mov eax, ebx
sete al
add dword [rsp + 0x38], eax
test r11b, r11b
je 0x140043a72
test ecx, ecx
je 0x140043a72
mov eax, 1
jmp 0x140043a74
mov eax, ebx
add dword [rsp + 0x3c], eax
mov r8, qword [rsp + 0x90]
test r12b, r12b
je 0x140043a94
mov rcx, qword [rsp + 0x88]
cmp rcx, r13
jge 0x140043b0b
jmp 0x140043aac
mov rcx, qword [rsp + 0x88]
cmp rcx, rdi
jl 0x140043aac
cmp rcx, r13
jg 0x140043b0b
cmp edx, dword [rsp + 0x40]
jge 0x140043b0b
pxor xmm1, xmm1
lea r9, [rsp + 0x140]
mov dword [rsp + 0x40], edx
cvtsi2sd xmm1, rcx
mov qword [r9], rsi
movapd xmm0, xmm1
mulsd xmm1, xmm7
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
movsxd rdi, eax
cvttsd2si eax, xmm1
mov qword [rsp + 0x60], rdi
movsxd r13, eax
mov rax, qword [rsp + r14*8 + 0x188]
mov qword [r9 + 8], rax
mov rax, qword [rsp + r14*8 + 0x190]
mov qword [r9 + 0x10], rax
mov rax, r8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x150], rax
test r11b, r11b
je 0x140043b84
test r12b, r12b
je 0x140043b1c
cmp rcx, r15
jge 0x140043b84
jmp 0x140043b2e
cmp rcx, qword [rsp + 0x70]
jl 0x140043b2e
cmp rcx, r15
jg 0x140043b84
cmp edx, dword [rsp + 0x44]
jge 0x140043b84
pxor xmm1, xmm1
mov dword [rsp + 0x44], edx
cvtsi2sd xmm1, rcx
lea rcx, [rsp + 0x160]
mov qword [rcx], rsi
movapd xmm0, xmm1
mulsd xmm1, xmm7
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
cdqe
mov qword [rsp + 0x70], rax
cvttsd2si eax, xmm1
movsxd r15, eax
mov rax, qword [rsp + r14*8 + 0x188]
mov qword [rcx + 8], rax
mov rax, qword [rsp + r14*8 + 0x190]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x170], r8
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x84], eax
jle 0x140043bac
mov rsi, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
inc rbp
cmp rbp, qword [rsp + 0x158]
jl 0x140043850
mov r12, qword [rsp + 0x140]
mov r13d, dword [rsp + 0x378]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm6, xmmword [rsp + 0x310]
cmp dword [rsp + 0x38], r13d
jne 0x140043bda
mov ebx, 2
jmp 0x140043bed
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jne 0x140043bed
test eax, eax
je 0x140043bed
mov ebx, 1
mov rcx, qword [rsp + 0x78]
lea r8, str.iVaaFrameSceneChangeIdc___d_codingIdx___d
mov r9d, ebx
mov eax, dword [rcx + 0x3c4]
mov rcx, qword [rsp + 0x50]
mov edx, 8
mov dword [rsp + 0x20], eax
call fcn.1400279c0
cmp dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
mov rax, qword [rcx]
mov qword [rdx + 0x170], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 0x178], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x180], rax
mov eax, dword [r12 + 0x40]
mov dword [rdx + 0x474], eax
mov rax, qword [rsp + 0x68]
mov qword [rdx + 0x478], rax
jle 0x140043c88
lea rax, [rsp + 0x160]
mov rcx, qword [rax]
mov qword [rdx + 0x2f0], rcx
mov rcx, qword [rax + 8]
mov qword [rdx + 0x2f8], rcx
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x300], rcx
mov dword [rdx + 0x470], 1
mov eax, ebx
jmp 0x140043caf
lea r8, str.SceneChangeDetect___iAvailableRefNum0_but_not_I.
mov edx, 1
mov rcx, r9
call fcn.1400279c0
mov eax, 2
mov r14, qword [rsp + 0x328]
mov r12, qword [rsp + 0x330]
mov r15, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x368]
add rsp, 0x338
pop r13
pop rsi
pop rbp
pop rbx
ret