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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov r14, qword [rcx]
mov rsi, r8
mov r13, qword [r8 + 0x60]
mov rbp, rcx
xor r8d, r8d
movsxd rbx, edx
mov qword [rsp + 0x48], r13
mov rdi, qword [r14 + 0x10]
mov rax, qword [r14 + 0x60]
mov qword [r14 + 0x60], r8
mov qword [rsp + 0x58], rdi
movsxd rdx, dword [rdi + 0x90]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], edx
cmp dword [rdi + 0x94], edx
jg 0x14007c1f1
xor r9d, r9d
mov dword [rsp + 0x20], r8d
lea edx, [r8 + 0xf]
mov rcx, rdi
call fcn.140055ca0
mov dword [rsp + 0x40], eax
jmp 0x14007c217
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0xf
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov r15, rbx
mov qword [rsp + 0x30], rbx
mov ebx, 3
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call fcn.1400c5d80
dec dword [r14 + 0x44]
mov r12d, dword [rsi + 4]
mov r9d, dword [r14 + 0x38]
mov eax, dword [r14 + 0x44]
inc r9d
mov dword [rsp + 0x38], eax
mov dword [r14 + 0x38], r9d
movzx eax, byte [rsi + 0x40]
mov dword [rsi + 0x34], r9d
imul rsi, rax, 0x68
mov dword [rsp + 0x44], r12d
add rsi, qword [rbp + 8]
mov rax, qword [rsi + 0x28]
movsx ecx, word [rax + 0x3a]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r8 + r8*4]
add eax, eax
sub ecx, eax
movsxd rdx, ecx
cmp rdx, 5
jb 0x14007c2a4
sub rdx, 2
jmp 0x14007c2ad
cmp rdx, 1
jb 0x14007c2ad
dec rdx
cmp r8w, 0x3c
jg 0x14007c2ee
add rdx, 8
movsx ecx, r8w
cmp r8w, 3
jl 0x14007c2cb
add ecx, 0xfffffffd
shl rdx, cl
jmp 0x14007c2d5
mov eax, ebx
sub eax, ecx
movzx ecx, al
shr rdx, cl
cmp rdx, 0x2710
jae 0x14007c2e5
mov edx, 0x2710
jmp 0x14007c2f3
cmp rdx, 0x989680
jbe 0x14007c2f3
mov edx, 0x989680
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14007c31b
xor eax, eax
mov r8d, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x4d]
call fcn.140055ca0
xor r8d, r8d
jmp 0x14007c34c
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rdx, dword [rdi + 0x90]
mov dword [rsp + 0x3c], edx
cmp dword [rdi + 0x94], edx
jg 0x14007c37c
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x24]
call fcn.140055ca0
mov dword [rsp + 0x3c], eax
jmp 0x14007c3aa
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rbx, qword [rbp + 0x90]
movsxd rax, dword [rbp + 0x84]
imul rbp, rax, 0x38
add rbp, rbx
cmp rbx, rbp
jae 0x14007c47d
mov r15d, dword [rsp + 0x38]
lea r12, [fcn.14004ccb0]
mov edi, 3
lea r13, [0x1400a7bc0]
test byte [rbx + 0x12], 2
mov rdx, qword [rbx]
jne 0x14007c45c
movzx ecx, byte [rsi + 0x44]
test cl, 0x40
jne 0x14007c45c
mov eax, dword [rdx + 4]
and eax, 1
test cl, 8
je 0x14007c409
test eax, eax
je 0x14007c45c
mov eax, dword [rsi + 0x4c]
cmp dword [rdx + 0x34], eax
jmp 0x14007c40b
test eax, eax
jne 0x14007c45c
mov eax, dword [rsi + 0x4c]
movzx ecx, di
mov word [rsp + 0x84], cx
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x88], eax
test rdx, rdx
je 0x14007c446
lea rcx, [rsp + 0x60]
call fcn.1400d7b10
mov rdx, qword [rbx]
movzx ecx, word [rsp + 0x84]
test cx, cx
je 0x14007c45c
mov r9d, 0x10
mov r8d, r15d
mov rcx, r14
call fcn.140086f30
add rbx, 0x38
cmp rbx, rbp
jb 0x14007c3e0
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x44]
mov r15, qword [rsp + 0x30]
test dword [r13 + 0x38], 0x100
je 0x14007c5b8
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14007c49e
inc dword [r14 + 0x38]
mov ebx, dword [r14 + 0x38]
jmp 0x14007c4af
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14007c4dc
xor eax, eax
mov r9d, ebx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov edx, 0x87
mov rcx, rdi
call fcn.140055ca0
xor r9d, r9d
jmp 0x14007c50d
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rsi, qword [rsp + 0xf0]
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x34]
cmp dword [rdi + 0x94], edx
jg 0x14007c540
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0xb4
mov rcx, rdi
call fcn.140055ca0
mov edx, eax
jmp 0x14007c56e
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x14007c592
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
test ebx, ebx
je 0x14007c70d
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x14007c70d
mov dword [r14 + rax*4 + 0xe4], ebx
inc byte [r14 + 0x1f]
jmp 0x14007c70d
movzx ebp, word [r13 + 0x18]
mov r15, qword [r13 + 0x20]
cmp ebp, 1
jne 0x14007c5f4
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14007c5dd
inc dword [r14 + 0x38]
mov esi, dword [r14 + 0x38]
xor eax, eax
mov ebx, eax
jmp 0x14007c630
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov esi, dword [r14 + rax*4 + 0xe4]
xor eax, eax
mov ebx, eax
jmp 0x14007c630
mov ecx, dword [r14 + 0x28]
mov esi, dword [r14 + 0x2c]
cmp ebp, ecx
jg 0x14007c60f
lea eax, [rsi + rbp]
sub ecx, ebp
mov dword [r14 + 0x2c], eax
mov dword [r14 + 0x28], ecx
jmp 0x14007c61c
mov eax, dword [r14 + 0x38]
lea esi, [rax + 1]
add eax, ebp
mov dword [r14 + 0x38], eax
xor r9d, r9d
mov ebx, r9d
cmp r9w, bp
jae 0x14007c651
nop dword [rax + rax]
lea eax, [rbx + rsi]
mov r9d, ebx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rdx, r15
mov rcx, r14
call fcn.140084700
inc ebx
cmp ebx, ebp
jl 0x14007c630
xor r9d, r9d
mov rax, qword [rsp + 0xf0]
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rax + 0x34]
cmp dword [rdi + 0x94], edx
jg 0x14007c684
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0xb4
mov rcx, rdi
call fcn.140055ca0
mov edx, eax
jmp 0x14007c6b2
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x14007c6d2
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebp
mov r15, qword [rsp + 0x30]
cmp ebp, 1
jne 0x14007c6f7
test esi, esi
je 0x14007c705
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x14007c705
mov dword [r14 + rax*4 + 0xe4], esi
inc byte [r14 + 0x1f]
jmp 0x14007c705
cmp ebp, dword [r14 + 0x28]
jle 0x14007c705
mov dword [r14 + 0x28], ebp
mov dword [r14 + 0x2c], esi
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rdi + 0x18]
mov edx, dword [rsp + 0x38]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14007c72c
mov r8d, edx
mov rdx, rdi
call fcn.14006a0c0
jmp 0x14007c73c
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rbx, dword [rsp + 0x3c]
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rsi + 4]
lea edx, [rbx + 1]
cmp dword [rdi + 0x94], ecx
jg 0x14007c76d
xor eax, eax
mov r9d, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x27]
call fcn.140055ca0
jmp 0x14007c79e
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x14007c7b6
lea rax, [0x140110c90]
jmp 0x14007c7c5
mov rax, qword [rdi + 0x88]
lea rcx, [rbx + rbx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
and dword [r13 + 0x38], 0xffbfffff
mov rax, qword [r14]
test dword [rax + 0x60], 0x100000
jne 0x14007c8a1
mov ebx, dword [rsp + 0xe8]
inc r15
mov rbp, qword [rsp + 0xe0]
inc ebx
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x30], r15
movzx r10d, byte [rbp + 0x40]
cmp ebx, r10d
jge 0x14007c896
mov r9, qword [rbp + 8]
add rbp, 0x3c0
imul rax, r15, 0x70
add rax, rbp
mov rbp, qword [rsp + 0xf8]
nop dword [rax + rax]
movzx ecx, byte [rax - 0x20]
lea rsi, [rax - 0x60]
imul rdx, rcx, 0x68
mov qword [rsp + 0xf0], rsi
test byte [rdx + r9 + 0x44], 0x48
jne 0x14007c86c
mov r13, qword [rax]
test r13, r13
je 0x14007c86c
test qword [r13], rbp
jne 0x14007c86c
mov ecx, dword [r13 + 0x38]
and ecx, 0x400004
cmp ecx, 0x400000
je 0x14007c87a
inc ebx
inc r15
add rax, 0x70
cmp r15, r10
jl 0x14007c830
mov rbp, qword [rsp + 0xe0]
cmp ebx, r10d
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x48], r13
mov ebx, 3
jl 0x14007c230
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x14007c8b8
mov dword [0x140110c98], edx
jmp 0x14007c8cc
movsxd rax, dword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x60], rax
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret