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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm0, xmmword [0x299f47380]
lea r12, [rsp + 0x80]
mov qword [rsp + 0x100], rcx
mov rcx, r12
mov qword [rsp + 0x108], rdx
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x9c], 0
call fcn.299ec9850
mov rcx, qword [0x299f4c780]
mov rbx, rax
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
mov rbp, rax
jne 0x299ef9075
mov rax, qword [0x299f4c140]
xor r9d, r9d
mov r8d, 1
mov rcx, rbx
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
call qword [rax]
xor edx, edx
mov rcx, rax
mov rbx, rax
mov rax, qword [0x299f4c150]
call qword [rax]
mov esi, eax
mov rax, qword [0x299f4c190]
call qword [rax]
movsxd r8, esi
xor edx, edx
mov rcx, rax
mov rax, qword [0x299f4c180]
call qword [rax]
lea r9, [rsp + 0x9c]
mov r8d, esi
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x48], rax
mov rax, qword [0x299f4c160]
mov qword [rsp + 0x20], 0
call qword [rax]
mov rdx, qword [rsp + 0x48]
movsxd rsi, dword [rdx + 0x3c]
add rsi, rdx
jo 0x299ef9070
movzx r8d, word [rsi + 0x14]
lea rax, [rsi + 0x18]
xor r10d, r10d
movsxd rcx, dword [rsi + 0x88]
add r8, rax
seto r10b
test r10, r10
jne 0x299ef9070
xor edi, edi
cmp word [rsi + 6], 0
mov r13, r8
je 0x299ef90d7
lea r15, [rsp + 0x70]
test r10, r10
mov r14, rax
mov qword [rsp + 0x58], rdx
movdqa xmm6, xmmword [0x299f47360]
mov rbx, r8
mov dword [rsp + 0x64], ecx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x48], r15
jne 0x299ef9070
lea eax, [rdi + rdi*4]
shl eax, 3
movzx eax, ax
add rbx, rax
jo 0x299ef9070
mov edx, 8
mov rcx, r12
call fcn.299e8c410
mov rax, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
test rax, rax
jle 0x299ef90a8
mov rdx, qword [rbx]
mov qword [r15 + 8], rdx
cmp byte [rbp], 0
jne 0x299ef9075
mov rdx, qword [rsp + 0x48]
mov rcx, r12
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r15
movaps xmmword [rsp + 0x70], xmm6
call fcn.299e996c0
cmp byte [rbp], 0
jne 0x299ef9075
test al, al
cmovne r13, rbx
add edi, 1
test r15, r15
je 0x299ef904f
test byte [r15 + 7], 0x40
je 0x299ef9098
cmp di, word [rsi + 6]
jae 0x299ef90c8
movzx ebx, word [rsi + 0x14]
xor r10d, r10d
add rbx, r14
seto r10b
test r10, r10
je 0x299ef8fcd
nop dword [rax]
call fcn.299e88960
xor eax, eax
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.299e886a0
jmp 0x299ef904f
lea rdx, [rax - 1]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call fcn.299e8b510
mov rax, qword [rsp + 0x50]
jmp 0x299ef900c
mov rdx, qword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x64]
mov r8, qword [rsp + 0x68]
add rcx, rdx
jo 0x299ef9070
movsxd rax, dword [r13 + 0xc]
sub rcx, rax
jo 0x299ef9250
movsxd rax, dword [r13 + 0x14]
add rcx, rax
jo 0x299ef9250
mov r14, rcx
cmp byte [rbp], 0
jne 0x299ef9075
movsxd rsi, dword [r14 + 0x20]
add rsi, rdx
jo 0x299ef9070
movsxd rcx, dword [r13 + 0xc]
sub rsi, rcx
jo 0x299ef92a5
movsxd rcx, dword [r13 + 0x14]
add rsi, rcx
jo 0x299ef92a5
movsxd r12, dword [r14 + 0x1c]
add r12, rdx
jo 0x299ef9070
movsxd rcx, dword [r13 + 0xc]
sub r12, rcx
jo 0x299ef92cf
movsxd rcx, dword [r13 + 0x14]
add r12, rcx
jo 0x299ef92cf
mov eax, dword [r14 + 0x18]
test eax, eax
jle 0x299ef9075
xor eax, eax
xor r15d, r15d
mov qword [rsp + 0x48], r12
mov rbx, rdx
mov dword [rsp + 0x58], eax
mov rdi, r8
mov rdx, r15
mov rcx, rsi
call fcn.299ef7930
cmp byte [rbp], 0
jne 0x299ef9075
movsxd rax, dword [rax]
add rax, rbx
jo 0x299ef9070
movsxd rdx, dword [r13 + 0xc]
sub rax, rdx
jo 0x299ef9271
movsxd rdx, dword [r13 + 0x14]
add rax, rdx
jo 0x299ef9271
mov r12, rax
mov rcx, qword [rsp + 0x48]
add r15, 1
mov rdx, r15
call fcn.299ef7930
cmp byte [rbp], 0
jne 0x299ef9075
movsxd rax, dword [rax]
add rax, rbx
jo 0x299ef9070
movsxd rdx, dword [rdi + 0xc]
sub rax, rdx
jo 0x299ef9288
movsxd rdx, dword [rdi + 0x14]
add rax, rdx
jo 0x299ef9288
mov qword [rsp + 0x50], rax
mov rax, qword [0x299f4c270]
mov rcx, r12
mov rdx, qword [rsp + 0x100]
call qword [rax]
test eax, eax
jne 0x299ef9237
mov r8, qword [0x299f25c40]
test r8, r8
js 0x299ef92fa
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x108]
call sub.msvcrt.dll_memcpy
mov dword [rsp + 0x58], 1
cmp dword [r14 + 0x18], r15d
jg 0x299ef9171
mov eax, dword [rsp + 0x58]
jmp 0x299ef9077
mov qword [rsp + 0x50], r8
xor r14d, r14d
mov qword [rsp + 0x48], rdx
call fcn.299e88960
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
jmp 0x299ef90f9
call fcn.299e88960
cmp byte [rbp], 0
jne 0x299ef9075
xor r12d, r12d
jmp 0x299ef91af
call fcn.299e88960
cmp byte [rbp], 0
jne 0x299ef9075
mov qword [rsp + 0x50], 0
jmp 0x299ef91f5
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], rdx
call fcn.299e88960
cmp byte [rbp], 0
jne 0x299ef9075
mov rdx, qword [rsp + 0x48]
xor esi, esi
mov r8, qword [rsp + 0x50]
jmp 0x299ef912a
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], rdx
call fcn.299e88960
cmp byte [rbp], 0
jne 0x299ef9075
mov rdx, qword [rsp + 0x48]
xor r12d, r12d
mov r8, qword [rsp + 0x50]
jmp 0x299ef9151
mov rcx, r8
xor edx, edx
movabs r8, 0x7fffffffffffffff
call fcn.299e88fc0
jmp 0x299ef9075