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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rsi, qword [rcx + 0x10]
lea r14, [rcx + 0x10]
xor r15d, r15d
mov rbp, r8
mov r11d, edx
mov rdi, rcx
mov r8d, r15d
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x40], r15d
cmp dword [rcx + 0x30], r15d
jne 0x14009767e
mov qword [rsp + 0x78], rbx
mov rbx, qword [rbp + 0x28]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x68], r13
mov byte [rbp], 1
mov dword [rsp + 0x30], r15d
cmp dword [rbp + 0x30], r15d
jg 0x140096e15
lea rax, [rbp + 0x24]
mov r13, rax
cmp dword [rax], r15d
je 0x140097563
mov edx, r11d
test r11d, r11d
je 0x140097563
movsxd r8, dword [rsi + 0x90]
mov r13, rax
mov dword [rsp + 0x40], r8d
cmp dword [rsi + 0x94], r8d
jg 0x140097535
mov r8d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x10
xor r9d, r9d
mov rcx, rsi
call fcn.140034960
mov dword [rsp + 0x40], eax
jmp 0x14009755f
mov r8d, dword [rsp + 0x34]
mov rax, qword [rbx]
mov r13d, r15d
mov dword [rsp + 0x3c], r15d
mov r14d, r15d
test dword [rax + 4], 0x1000000
mov r10, qword [rax + 0x20]
mov qword [rsp + 0x50], r10
je 0x140096eec
mov rax, qword [rax + 0x40]
mov rbx, qword [rax + 0x48]
cmp dword [rbp + 0x24], r15d
je 0x140096ec4
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 8]
test byte [rax + 4], 0x20
je 0x140096ec4
test r11d, r11d
je 0x140096ec4
test r8d, r8d
jne 0x140096e6c
inc dword [rdi + 0x38]
mov r8d, dword [rdi + 0x38]
mov dword [rsp + 0x34], r8d
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x140096e95
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, r11d
mov edx, 0x50
mov rcx, rsi
call fcn.140034960
jmp 0x140096ec4
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
dec dword [rdi + 0x44]
mov r9d, 0x10
mov ebp, dword [rdi + 0x44]
mov rdx, rbx
mov r8d, ebp
mov dword [rsp + 0x3c], ebp
mov rcx, rdi
call fcn.1400586e0
mov r10, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp dword [rbx + 0x18], r15d
jl 0x1400970ca
mov rax, qword [rbx]
cmp byte [rbx + 0x1d], r15b
mov r14d, dword [r10]
mov dword [rsp + 0x38], r14d
mov rcx, qword [rax + 0x10]
mov rbp, qword [rcx + 0x20]
mov eax, dword [rbp]
lea r13d, [rax + 1]
cmovne r13d, eax
cmp byte [rbx + 0x1c], r15b
je 0x140096f21
add r13d, r14d
cmp byte [rbx + 0x1e], r15b
je 0x140096f2a
add r13d, r14d
inc r13d
cmp r13d, 1
jne 0x140096f56
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x140096f44
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
jmp 0x140096f7e
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xe8]
jmp 0x140096f7e
mov ecx, dword [rdi + 0x28]
mov r12d, dword [rdi + 0x2c]
cmp r13d, ecx
jg 0x140096f71
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x140096f7e
mov eax, dword [rdi + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rdi + 0x38], eax
xor r9d, r9d
mov dword [rsp + 0xb0], r12d
mov r8d, r12d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rdi
call fcn.140057e80
mov ebp, dword [rbp]
cmp byte [rbx + 0x1d], r15b
jne 0x140097003
movsxd rcx, dword [rsi + 0x90]
lea edx, [r12 + rbp]
mov r8d, dword [rbx + 0x18]
cmp dword [rsi + 0x94], ecx
jg 0x140096fd3
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x7e
mov rcx, rsi
call fcn.140034960
jmp 0x140097001
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
inc ebp
cmp byte [rbx + 0x1c], r15b
je 0x140097034
mov rdx, qword [rsp + 0x50]
lea ebx, [r12 + rbp]
mov r8d, ebx
mov dword [rsp + 0xb0], ebx
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
call fcn.140057e80
mov rbx, qword [rsp + 0x48]
add ebp, r14d
cmp byte [rbx + 0x1e], r15b
je 0x140097174
mov rdx, qword [rsp + 0x48]
mov ebx, r12d
cmp byte [rdx + 0x1c], r15b
cmovne ebx, dword [rsp + 0xb0]
test r14d, r14d
jle 0x140097171
add ebp, r12d
nop
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x140097089
mov r9d, ebp
mov dword [rsp + 0x20], r15d
mov r8d, ebx
mov edx, 0xb5
mov rcx, rsi
call fcn.140034960
jmp 0x1400970b6
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0xb5
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
inc ebp
inc ebx
sub r14, 1
jne 0x140097060
mov rbx, qword [rsp + 0x48]
jmp 0x140097174
test r10, r10
je 0x140097167
mov r14d, dword [r10]
mov dword [rsp + 0x38], r14d
cmp r14d, 1
jne 0x140097110
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1400970f8
inc dword [rdi + 0x38]
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0xb0], eax
jmp 0x140097144
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0xb0], eax
jmp 0x140097144
mov ecx, dword [rdi + 0x28]
mov edx, dword [rdi + 0x2c]
mov dword [rsp + 0xb0], edx
cmp r14d, ecx
jg 0x140097131
lea eax, [rdx + r14]
sub ecx, r14d
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x140097144
mov eax, dword [rdi + 0x38]
lea ecx, [rax + 1]
add eax, r14d
mov dword [rdi + 0x38], eax
mov dword [rsp + 0xb0], ecx
mov r14d, dword [rsp + 0xb0]
xor r9d, r9d
mov r8d, r14d
mov byte [rsp + 0x20], 1
mov rdx, r10
mov rcx, rdi
mov r12d, r14d
call fcn.140057e80
jmp 0x14009717c
mov dword [rsp + 0x38], r15d
mov r12d, r15d
jmp 0x140097181
mov rbx, rdx
mov r14d, dword [rsp + 0xb0]
mov r10, qword [rsp + 0x50]
cmp dword [rbx + 0x10], r15d
jl 0x1400971c1
test r10, r10
je 0x1400971c1
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x14009719e
dec dword [rdi + 0x44]
mov eax, dword [rdi + 0x44]
mov dword [rsp + 0x3c], eax
mov r8d, dword [rbx + 0x10]
mov r9d, eax
mov edx, dword [rsp + 0xc8]
mov rcx, rdi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r10
call fcn.14008bf30
mov dword [rbx + 0x10], eax
cmp dword [rbx + 0x18], r15d
jl 0x1400972cf
movsxd rcx, dword [rsi + 0x90]
lea ebp, [r13 - 1]
add ebp, r12d
lea ebx, [r13 - 1]
cmp dword [rsi + 0x94], ecx
jg 0x1400971fe
mov r9d, ebx
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x61
mov rcx, rsi
call fcn.140034960
jmp 0x14009722b
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r15
mov rdx, qword [rsp + 0x48]
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [rdx + 0x18]
cmp dword [rsi + 0x94], ecx
jg 0x140097275
mov r8d, edx
mov dword [rsp + 0x28], ebx
mov edx, 0x8a
mov dword [rsp + 0x20], r12d
mov r9d, ebp
mov rcx, rsi
call fcn.1400349c0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0xc0]
mov r14d, dword [rsp + 0x30]
jmp 0x1400974a3
mov r14d, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8 + 8], ebp
mov rbp, qword [rsp + 0xc0]
mov dword [rax + rcx*8 + 0x10], ebx
mov rbx, qword [rsp + 0x48]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r12d
jmp 0x1400974a3
cmp r13d, dword [rdi + 0x28]
jle 0x1400974c5
mov dword [rdi + 0x28], r13d
mov dword [rdi + 0x2c], r12d
jmp 0x1400974c5
mov rax, qword [rbx + 8]
mov r13d, dword [rsp + 0x38]
test byte [rax + 4], 0x20
je 0x1400973e6
mov r14, qword [rsp + 0x50]
mov rbp, r15
add r14, 8
mov ebx, r15d
cmp ebx, r13d
jge 0x140097311
mov rdx, qword [r14]
mov rcx, rdi
call fcn.14004e7b0
inc ebx
add r14, 0x20
mov rbp, rax
test rax, rax
je 0x1400972f1
jmp 0x14009731d
test rbp, rbp
jne 0x14009731d
mov rax, qword [rdi]
mov rbp, qword [rax + 0x10]
mov r8d, dword [rsp + 0x34]
test r8d, r8d
jne 0x140097341
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x24], r15d
je 0x140097341
inc dword [rdi + 0x38]
mov r8d, dword [rdi + 0x38]
mov dword [rsp + 0x34], r8d
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x140097369
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x55
mov rcx, rsi
call fcn.140034960
mov edx, eax
jmp 0x140097393
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x55
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rsi]
cmp byte [rax + 0x67], r15b
jne 0x1400973e1
test edx, edx
jns 0x1400973a8
mov edx, dword [rsi + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
cmp byte [rax + rcx*8 + 1], r15b
lea rdx, [rax + rcx*8]
je 0x1400973d4
mov r9d, 0xfffffffe
mov r8, rbp
mov rcx, rsi
call fcn.140035f70
jmp 0x1400973e1
test rbp, rbp
je 0x1400973e1
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfe
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0xc0]
mov r14d, dword [rsp + 0x30]
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [rbp + 0x20]
add edx, dword [rbp + 0xc]
add edx, r14d
cmp dword [rsi + 0x94], ecx
jg 0x140097424
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0xa2
xor r8d, r8d
mov rcx, rsi
call fcn.140034960
jmp 0x14009744e
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8], 0xa2
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r15
mov rcx, qword [rsi]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x67], r15b
je 0x140097468
test byte [rdx + 4], 0x10
je 0x140097484
call fcn.140007ce0
jmp 0x140097484
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf9
mov qword [rax + rcx*8 - 8], rdx
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x1400974a3
lea rcx, [rax + rax*2]
movzx edx, r13b
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp r13d, 1
jne 0x1400972b8
test r12d, r12d
je 0x1400974c5
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400974c5
mov dword [rdi + rax*4 + 0xe8], r12d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x1400974f8
mov rcx, qword [rsi + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400974e8
mov r8d, edx
mov rdx, rsi
call fcn.1400356a0
jmp 0x1400974f8
mov rcx, qword [rcx + 0x50]
mov eax, dword [rsi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r11d, dword [rsp + 0xb8]
inc r14d
add rbx, 0x20
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x48], rbx
cmp r14d, dword [rbp + 0x30]
jl 0x140096e10
mov edx, dword [rsp + 0x34]
test edx, edx
jne 0x14009752c
lea r14, [rdi + 0x10]
jmp 0x140096dae
lea rax, [rbp + 0x24]
jmp 0x140096dca
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x10
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
lea r14, [rdi + 0x10]
mov r12, qword [rbp + 0x18]
cmp dword [r13], r15d
jle 0x14009761c
add r12, 8
nop word [rax + rax]
mov ebp, dword [rbp + 0xc]
add ebp, r15d
cmp qword [r14], 0
je 0x140097603
mov rbx, qword [r12]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.140056530
mov r8d, eax
cmp eax, ebp
je 0x140097603
test rbx, rbx
je 0x1400975f3
nop word [rax + rax]
mov ecx, dword [rbx + 4]
test ecx, 0x82000
je 0x1400975de
bt ecx, 0x13
jae 0x1400975cb
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1400975d4
cmp byte [rbx], 0x71
jne 0x1400975d9
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400975b0
test rbx, rbx
je 0x1400975f3
test dword [rbx + 4], 0x400000
jne 0x1400975ec
cmp byte [rbx], 0xb0
jne 0x1400975f3
mov edx, 0x50
jmp 0x1400975f8
mov edx, 0x51
mov rcx, qword [r14]
mov r9d, ebp
call fcn.140034b40
mov rbp, qword [rsp + 0xc0]
inc r15d
add r12, 0x18
cmp r15d, dword [r13]
jl 0x140097580
movsxd rcx, dword [rsp + 0x40]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov byte [rbp], 0
test ecx, ecx
je 0x14009767e
mov edx, dword [rsi + 0x90]
lea eax, [rdx - 1]
cmp ecx, eax
jne 0x14009765a
mov dword [rsi + 0x90], eax
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x14009766c
lea rax, [0x1400fd3a0]
jmp 0x14009767b
mov rax, qword [rsi + 0x88]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret