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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r12, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400586b0
test al, al
je 0x140057f97
mov byte [rsi + 0x20], 3
lea rcx, [r12 + 0x18]
mov rax, qword [r12]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
call qword [rax + 0x18]
mov rax, qword [r15]
test rax, rax
je 0x1400582ef
mov rax, qword [rax + 0x18]
lea rcx, [r15 + 0x18]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp rax
mov qword [rsp + 0x28], rsi
mov rcx, rdi
mov rdx, r15
call fcn.140057500
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r14d, ax
xor ebp, ebp
jmp 0x140057fd6
movzx eax, byte [rcx + 8]
cmp al, byte [r15 + 8]
je 0x14005808c
nop word cs:[rax + rax]
inc rbp
inc r14
mov rax, qword [rdi + 0x50]
cmp r14, rax
jb 0x140057ff8
mov rax, qword [rdi + 0x50]
nop word cs:[rax + rax]
test rax, rax
je 0x140057ff0
xor r14d, r14d
mov rcx, qword [rdi + 0x48]
movzx r13d, word [rcx + r14*4]
cmp r13, 0xffff
je 0x14005813a
movzx edx, word [rcx + r14*4 + 2]
movzx r8d, word [rdi + 0x58]
mov r9d, edx
and r9d, r8d
mov r10d, r14d
sub r10d, r9d
and r10d, r8d
cmp r10, rbp
jb 0x14005824c
cmp dx, bx
jne 0x140057fd0
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x140058439
mov rax, qword [rdi + 0x20]
imul rsi, r13, 0x68
mov r8, qword [rax + rsi + 0x40]
test r8, r8
setne cl
cmp qword [r15], 0
sete r9b
cmp cl, r9b
je 0x140057fd0
lea rcx, [rax + rsi]
add rcx, 0x40
test r8, r8
je 0x140057fb8
mov rdx, r15
call fcn.14011ff50
test al, al
je 0x140057fd0
mov rdx, qword [rdi + 0x28]
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp rdx, r13
jbe 0x140058457
mov rax, qword [rdi + 0x20]
cmp qword [rax + rsi], 0
mov rbx, qword [rsp + 0x28]
je 0x1400580d7
add rax, rsi
mov rdx, qword [rax + 8]
mov rcx, rdi
call fcn.140058c60
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x140058466
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax + rsi + 0x18]
movups xmm1, xmmword [rax + rsi + 0x28]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
movzx ecx, byte [rax + rsi + 0x38]
mov edx, dword [rax + rsi + 0x3c]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + rsi + 0x39]
mov dword [rbx + 0x21], edx
mov rdx, qword [rsp + 0x50]
mov qword [rax + rsi + 0x38], rdx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rsi + 0x18], xmm0
movups xmmword [rax + rsi + 0x28], xmm1
mov byte [rbx + 0x20], cl
mov rax, qword [r15]
test rax, rax
jne 0x140057f71
jmp 0x1400582ef
mov rsi, qword [rdi + 0x28]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
cmp rsi, 0x7fff
ja 0x1400582a7
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x1400581cd
lea rcx, [rdi + 0x18]
call fcn.14001acb0
mov rax, qword [rdi + 0x20]
imul rcx, rsi, 0x68
mov qword [rax + rcx], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rcx + 0x18], xmm0
movups xmmword [rax + rcx + 0x28], xmm1
mov rdx, qword [rsp + 0x50]
mov qword [rax + rcx + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmmword [rax + rcx + 0x50], xmm1
mov word [rax + rcx + 0x60], bx
lea rax, [rsi + 1]
mov qword [rdi + 0x28], rax
mov rdx, qword [rdi + 0x50]
cmp r14, rdx
jae 0x140058448
mov rax, qword [rdi + 0x48]
mov word [rax + r14*4], si
mov word [rax + r14*4 + 2], bx
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x20], 2
jmp 0x1400582ef
cmp rbp, 0x200
setae bpl
cmp qword [rdi], 2
setne sil
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rdx, qword [r12 + 0x20]
mov qword [rsp + 0xa0], rdx
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov r13, qword [rdi + 0x28]
cmp r13, 0x7fff
jbe 0x140058303
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400582e6
lea rcx, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x20], 3
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov rdx, qword [r12 + 0x20]
mov qword [rsp + 0x50], rdx
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp r13, qword [rdi + 0x18]
jne 0x140058352
lea rcx, [rdi + 0x18]
call fcn.14001acb0
mov rcx, qword [rdi + 0x48]
mov rax, qword [rdi + 0x50]
and bpl, sil
mov rdx, qword [rdi + 0x20]
imul r8, r13, 0x68
mov qword [rdx + r8], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + r8 + 0x18], xmm0
movups xmmword [rdx + r8 + 0x28], xmm1
mov r9, qword [rsp + 0x50]
mov qword [rdx + r8 + 0x38], r9
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rdx + r8 + 0x40], xmm0
movups xmmword [rdx + r8 + 0x50], xmm1
mov word [rdx + r8 + 0x60], bx
lea rdx, [r13 + 1]
mov qword [rdi + 0x28], rdx
xor r8d, r8d
xor edx, edx
cmp r14, rax
cmovae r14, r8
jb 0x1400583c5
nop dword [rax]
test rax, rax
je 0x140058400
movzx r9d, word [rcx + r14*4]
cmp r9w, 0xffff
je 0x140058402
inc rdx
movzx r10d, word [rcx + r14*4 + 2]
mov word [rcx + r14*4], r13w
mov word [rcx + r14*4 + 2], bx
inc r14
mov ebx, r10d
mov r13d, r9d
cmp r14, rax
cmovae r14, r8
jae 0x1400583c0
jmp 0x1400583c5
jmp 0x140058400
mov word [rcx + r14*4], r13w
mov word [rcx + r14*4 + 2], bx
cmp rdx, 0x80
setb al
not bpl
test bpl, al
jne 0x14005823e
cmp qword [rdi], 0
jne 0x14005823e
mov qword [rdi], 1
jmp 0x14005823e
lea r8, [0x1402b3a78]
mov rcx, r13
call fcn.14028ed50
lea r8, [0x1402b3a90]
mov rcx, r14
call fcn.14028ed50
lea r8, [0x1402b3b08]
mov rcx, r13
call fcn.14028ed50
lea r8, [0x1402b3b20]
mov rcx, r13
call fcn.14028ed50
int3