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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r10, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r11, r9d
mov r15, r8
mov r13, rcx
mov qword [rsp + 0x48], r10
movzx edx, byte [r10]
mov r14d, 0x400
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x18002e0aa
cmp dl, 0x32
jne 0x18002d9f5
mov ebp, dword [rsp + 0xd8]
lea edx, [rdi + 0x48]
mov r9d, ebp
xor r8d, r8d
mov rcx, rsi
call fcn.1800e1b20
jmp 0x18002dd61
mov r14, qword [r8 + 0x50]
mov ebp, edi
mov dword [rsp + 0x3c], 5
mov r12, rdi
mov qword [rsp + 0x40], r14
test dword [r14 + 0x28], 0x400
jne 0x18002da36
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x18002da36
mov rax, qword [rax + 0x38]
cmp byte [r11 + rax], dil
je 0x18002da36
cmp dword [rsp + 0xd0], edi
mov eax, edi
sete al
jmp 0x18002da3d
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x34], eax
test r9d, r9d
jle 0x18002da6a
mov r8, qword [r14 + 0x38]
mov rax, rdi
nop dword [rax]
mov rcx, qword [r8 + rax*8]
test rcx, rcx
je 0x18002da62
cmp qword [rcx], r10
je 0x18002db09
inc rax
cmp rax, r11
jl 0x18002da50
movzx r8d, word [r14 + 0x2c]
cmp r11d, r8d
jge 0x18002da98
mov rax, qword [r14 + 0x38]
sub r8d, r11d
lea rdx, [rax + r11*8]
nop
mov rax, qword [rdx]
lea ecx, [rbp + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r10
cmovne ecx, ebp
mov ebp, ecx
sub r8, 1
jne 0x18002da80
test dword [r10 + 4], 0x800
mov eax, edi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
je 0x18002dba5
mov rax, qword [r10 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x18002dba5
mov rcx, qword [rsp + 0xb0]
mov r9, r10
mov r13, qword [r13]
mov r8, r14
mov edx, r11d
call fcn.18008c960
mov r15, rax
cmp byte [r13 + 0x61], dil
jne 0x18002db7a
mov rax, qword [rsp + 0xb0]
movsxd r14, ebp
shl r14, 2
mov rcx, qword [rax]
test rcx, rcx
je 0x18002db20
mov rdx, r14
call fcn.1800a5800
jmp 0x18002db28
mov rdx, rbx
mov rcx, r15
call fcn.1800336f0
mov eax, dword [rsp + 0xd8]
jmp 0x18002e0f2
mov rcx, r14
call fcn.1800ca1d0
mov r12, rax
test rax, rax
je 0x18002db3d
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0xb0]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov qword [rsp + 0x20], r12
lea r8d, [r9 + 4]
call fcn.1800ae0a0
mov ecx, dword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
mov rax, qword [rbx]
mov dword [rsp + 0x38], ecx
mov dword [rax + 0x2c], ecx
test r15, r15
je 0x18002db8a
mov rdx, r15
mov rcx, r13
call fcn.1800ac450
mov rax, qword [rbx]
mov r15, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x3c]
jmp 0x18002dbd4
xor r9d, r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, r10
mov rcx, r13
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 4]
call fcn.1800ae0a0
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x3c], eax
cmp eax, 4
jne 0x18002dbe8
cmp dword [rsp + 0x34], edi
mov eax, edi
sete al
mov dword [rsp + 0x34], eax
jmp 0x18002dbec
mov eax, dword [rsp + 0x34]
test eax, eax
mov ecx, 0x21
mov edx, 0x25
cmovne edx, ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x18002dc1b
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.180078790
jmp 0x18002dc4b
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
or dword [r14 + 0x28], 0x800
mov r13d, dword [r15 + 0x40]
test r13d, r13d
jne 0x18002dc72
mov rax, qword [rsp + 0xb0]
dec dword [rax + 0x44]
mov eax, dword [rax + 0x44]
mov r13d, dword [r15 + 0x40]
mov dword [r15 + 0x10], eax
mov eax, r13d
add eax, ebp
mov rbp, qword [r15 + 0x48]
mov dword [r15 + 0x40], eax
cdqe
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0xb0]
shl r8, 2
mov r15, qword [rax]
test rbp, rbp
jne 0x18002dca6
mov rdx, r8
mov rcx, r15
call fcn.1800a5800
jmp 0x18002dcf6
cmp rbp, qword [r15 + 0x1c8]
jae 0x18002dceb
cmp rbp, qword [r15 + 0x1b8]
jb 0x18002dcc1
cmp r8, 0x80
jmp 0x18002dcd5
cmp rbp, qword [r15 + 0x1c0]
jb 0x18002dceb
movzx eax, word [r15 + 0x17e]
cmp r8, rax
ja 0x18002dceb
mov r15, qword [rsp + 0xc0]
mov r14, rbp
mov qword [r15 + 0x48], rbp
jmp 0x18002ddc8
mov rdx, rbp
mov rcx, r15
call fcn.180032440
mov r14, rax
test rax, rax
jne 0x18002ddb3
test rbp, rbp
je 0x18002ddb3
mov rdx, rbp
mov rcx, r15
call fcn.1800a5670
mov r15, qword [rsp + 0xc0]
mov qword [r15 + 0x48], r14
mov dword [r15 + 0x40], edi
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
test r12, r12
je 0x18002dd54
test rcx, rcx
je 0x18002e044
cmp qword [rcx + 0x2d8], rdi
je 0x18002dffb
mov rdx, r12
call fcn.18007fd50
mov ebp, dword [rsp + 0xd8]
mov r14d, 0x400
test byte [rbx + 0x12], 4
jne 0x18002e0f0
mov edx, 0x200
cmp dword [r15], 0
je 0x18002dd83
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x18002e0f0
mov rax, qword [rbx + 0x38]
test qword [r15 + 0x58], rax
jne 0x18002e0f0
test edi, edi
je 0x18002e0c2
movzx eax, word [rbx + 0x12]
test r14w, ax
je 0x18002e0c2
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x18002e0c7
mov r15, qword [rsp + 0xc0]
mov qword [r15 + 0x48], r14
test r14, r14
je 0x18002dd22
movsxd r9, dword [rsp + 0xc8]
movsxd rax, r13d
mov r13, qword [rsp + 0x40]
lea rcx, [rax + rax*4]
movzx eax, word [r13 + 0x2c]
lea r14, [r14 + rcx*4]
cmp r9d, eax
jge 0x18002dd26
mov ecx, dword [rsp + 0xd8]
lea r8, [r9*8]
mov r15, qword [rsp + 0x48]
mov edx, ecx
mov ebx, dword [rsp + 0x38]
sub edx, r9d
mov eax, r9d
mov qword [rsp + 0x58], r8
sub eax, ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x40], eax
mov r10, r12
mov qword [rsp + 0x50], r12
mov ebp, ecx
nop word [rax + rax]
mov rax, qword [r13 + 0x38]
mov rcx, qword [r8 + rax]
cmp qword [rcx], r15
jne 0x18002dfc2
cmp dword [rsp + 0x3c], 1
jne 0x18002dea2
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x18002de7d
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, ebx
mov edx, 0x7f
mov rcx, rsi
call fcn.180078790
mov r9d, dword [rsp + 0xc8]
mov edx, eax
jmp 0x18002df17
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7f
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x18002df0e
test r12, r12
je 0x18002deb5
mov r8d, dword [r10]
add r10, 4
mov qword [rsp + 0x50], r10
jmp 0x18002deb8
mov r8d, edi
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x18002deea
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, ebx
mov edx, 0x59
mov rcx, rsi
call fcn.180078790
mov r9d, dword [rsp + 0xc8]
mov edx, eax
jmp 0x18002df17
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 4], ebx
mov dword [r14 + 4], edx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x18002df4a
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.180078790
mov r9d, dword [rsp + 0xc8]
jmp 0x18002df73
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
add ecx, ebp
cmp ecx, r9d
jne 0x18002dfaf
cmp dword [rsp + 0x34], edi
mov dword [r14], ebx
sete al
add al, 4
mov byte [r14 + 0x10], al
test r9d, r9d
jle 0x18002dfa9
mov dword [r14 + 8], edx
mov dword [r14 + 0xc], ecx
or dword [r13 + 0x28], 0x40000
jmp 0x18002dfb4
mov dword [r14 + 0xc], edi
jmp 0x18002dfb4
mov byte [r14 + 0x10], 0xad
mov r8, qword [rsp + 0x58]
add r14, 0x14
mov r10, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
inc ebp
movzx eax, word [r13 + 0x2c]
dec edx
add r8, 8
mov dword [rsp + 0x30], edx
add ecx, ebp
mov qword [rsp + 0x58], r8
cmp ecx, eax
jl 0x18002de30
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
jmp 0x18002dd26
cmp r12, qword [rcx + 0x1c8]
jae 0x18002e044
cmp r12, qword [rcx + 0x1b8]
jb 0x18002e024
mov rax, qword [rcx + 0x1b0]
mov qword [r12], rax
mov qword [rcx + 0x1b0], r12
jmp 0x18002dd54
cmp r12, qword [rcx + 0x1c0]
jb 0x18002e044
mov rax, qword [rcx + 0x1a0]
mov qword [r12], rax
mov qword [rcx + 0x1a0], r12
jmp 0x18002dd54
cmp dword [0x180147090], edi
je 0x18002e09c
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18002e05e
call qword [0x180147110]
mov rcx, r12
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, r12
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18002dd54
call qword [0x180147120]
jmp 0x18002dd54
mov rcx, r12
call qword [0x1801470b8]
jmp 0x18002dd54
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [r10 + 0x18]
call fcn.1800aaaa0
mov ebp, eax
jmp 0x18002dd61
or word [rbx + 0x12], 4
movsxd rcx, dword [rbx + 0x18]
test ecx, ecx
js 0x18002e0f0
mov rax, qword [rbx + 8]
mov rbx, rcx
shl rbx, 6
add rbx, qword [rax + 0x20]
add byte [rbx + 0x16], 0xff
jne 0x18002e0f0
inc edi
test byte [rbx + 0x12], 4
je 0x18002dd70
mov eax, ebp
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret