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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rcx + 0x10]
mov r14d, r8d
lea r8, [rax + 0x20]
xor edi, edi
mov r12d, r9d
mov r15, rdx
mov rbx, rcx
mov dword [rax + 0x20], edi
call fcn.140075630
mov rcx, r15
mov r13d, eax
call fcn.140073670
movzx ecx, byte [rbx + 0x1f]
inc dword [rbx + 0x70]
mov byte [rsp + 0x80], al
test cl, cl
jne 0x1400761b9
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x1400761c5
dec cl
movzx eax, cl
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x24]
mov rdx, qword [r15 + 0x10]
mov r8d, ebp
mov rcx, rbx
call fcn.140078320
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
cmp r12d, r14d
jne 0x1400761f2
mov r9d, r12d
mov edx, 0x4c
call fcn.1400608a0
jmp 0x140076257
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.1400608a0
mov r8d, dword [r15 + 0x2c]
mov r9d, r14d
mov edx, 0x69
mov rcx, rsi
mov dword [rsp + 0x20], 0
mov edi, eax
call fcn.1400608a0
xor r8d, r8d
lea edx, [r8 + 0x10]
mov r9d, r12d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.1400608a0
mov edx, dword [rsi + 0x3c]
cmp edx, edi
jbe 0x140076249
mov rax, qword [rsi + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
xor edi, edi
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
cmp r13d, 1
jne 0x14007628f
lea edx, [r13 + 0x25]
mov r9d, r14d
call fcn.1400608a0
mov r8d, dword [r15 + 0x2c]
lea edx, [r13 + 0x42]
mov r9d, r14d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.1400608a0
jmp 0x140076472
mov r9d, 1
lea edx, [r9 + 0x2e]
call fcn.1400608a0
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x1400762fa
cmp byte [rcx + 0x50], 0
jne 0x1400762fa
test eax, eax
jns 0x1400762b9
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140060e70
mov qword [rdi + 0x10], 0
mov rcx, qword [rsi]
lea rdx, [rsp + 0x80]
mov r8d, 1
call fcn.140041040
mov byte [rdi + 1], 0xff
mov qword [rdi + 0x10], rax
jmp 0x14007630c
lea r8, [rsp + 0x80]
mov edx, 1
call fcn.140060e70
mov edi, dword [rsp + 0x88]
test edi, edi
je 0x140076450
cmp r14d, r12d
je 0x140076450
mov r8d, dword [r15 + 0x2c]
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0x42]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebp
call fcn.140060a80
mov r9d, r12d
mov r8d, edi
mov edx, 0x2c
mov rcx, rsi
mov dword [rsp + 0x20], 0
mov r13d, eax
call fcn.1400608a0
mov r9d, r14d
mov r8d, edi
mov edx, 0x2d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.1400608a0
mov r8d, dword [r15 + 0x2c]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x28], 1
lea edx, [r9 + 0x42]
mov dword [rsp + 0x20], edi
call fcn.140060a80
xor r8d, r8d
mov r9d, edi
lea edx, [r8 + 0x19]
mov rcx, rsi
mov dword [rsp + 0x20], 0
mov r15d, eax
call fcn.1400608a0
xor r8d, r8d
lea edx, [r8 + 0x10]
mov r9d, r14d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.1400608a0
mov r9d, dword [rsi + 0x3c]
cmp r9d, r15d
jbe 0x1400763e8
mov rax, qword [rsi + 8]
lea rcx, [r15 + r15*2]
mov dword [rax + rcx*8 + 8], r9d
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov edx, 0x19
dec ecx
lea r8d, [rdx - 0x18]
mov r9d, edi
mov dword [rax + 0x64], ecx
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.1400608a0
xor edi, edi
mov r9d, r12d
lea edx, [rdi + 0x10]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.1400608a0
mov edx, dword [rsi + 0x3c]
cmp edx, r13d
jbe 0x140076442
mov rax, qword [rsi + 8]
lea rcx, [r13*2]
add rcx, r13
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x140076472
mov r8d, dword [r15 + 0x2c]
mov r9d, r14d
mov edx, 0x41
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebp
call fcn.140060a80
xor edi, edi
test ebp, ebp
je 0x1400764a8
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400764a8
mov ecx, edi
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], ebp
je 0x1400764a4
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140076488
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x1400764a8
mov byte [rax + 6], 1
dec dword [rbx + 0x70]
lea rcx, [rbx + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x1400764e4
mov eax, dword [rbx + 0x70]
cmp dword [rcx - 4], eax
jle 0x1400764e4
cmp byte [rcx - 6], 0
je 0x1400764e2
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400764de
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], edi
add rcx, 0x14
dec r8
jne 0x1400764b8
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret