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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov qword [rsp + 0x58], r8
mov rdi, rdx
test r9b, r9b
mov qword [rsp + 0x30], rcx
je 0x14007701b
lea r14, [rcx + 0xd80]
lea r9, [0x1402a0c10]
xor esi, esi
mov r8d, 0x90
mov rcx, r14
xor edx, edx
call fcn.140078421
cmp rdx, rsi
je 0x140077092
mov byte [rax + rsi], 8
inc rsi
jmp 0x140077009
mov word [rcx + 0x200], 1
xor r14d, r14d
mov byte [rsp + 0x20], r14b
mov r8d, 0x120
mov r9d, 0xf
xor edx, edx
call fcn.140077a11
mov byte [rsp + 0x20], r14b
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, qword [rsp + 0x30]
call fcn.140077a11
mov rcx, qword [rsp + 0x30]
lea rdx, [rcx + 0xd80]
lea rax, [rcx + 0xe9d]
mov qword [rsp + 0x78], rdx
cmp r14, 0x1d
je 0x140077460
cmp byte [rax], 0
jne 0x140077466
inc r14
dec rax
jmp 0x140077077
lea r9, [0x1402a0c28]
mov edx, 0x90
mov r8d, 0x100
mov rcx, r14
call fcn.140078421
xor ecx, ecx
cmp rdx, rcx
je 0x1400770bc
mov byte [rax + rcx], 9
inc rcx
jmp 0x1400770ae
lea r9, [0x1402a0c40]
mov edx, 0x100
mov r8d, 0x118
mov rcx, r14
call fcn.140078421
xor ecx, ecx
cmp rdx, rcx
je 0x1400770e6
mov byte [rax + rcx], 7
inc rcx
jmp 0x1400770d8
lea r9, [0x1402a0c58]
mov edx, 0x118
mov r8d, 0x120
mov rcx, r14
call fcn.140078421
xor ecx, ecx
mov r8, qword [rsp + 0x30]
cmp rdx, rcx
je 0x140077115
mov byte [rax + rcx], 8
inc rcx
jmp 0x140077107
lea rdx, [r8 + 0xea0]
lea r9, [0x1402a0c70]
mov ecx, 0x20
mov r8d, 0x120
call fcn.140107216
xor ecx, ecx
cmp rdx, rcx
je 0x140077143
mov byte [rax + rcx], 5
inc rcx
jmp 0x140077135
mov bl, 1
mov byte [rsp + 0x20], bl
mov r8d, 0x120
mov r9d, 0xf
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call fcn.140077a11
mov byte [rsp + 0x20], bl
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, rsi
call fcn.140077a11
mov rcx, rdi
mov edx, 1
mov r8d, 2
call fcn.140076f3f
mov r10, qword [rsp + 0x58]
mov r14, qword [r10 + 0x10000]
cmp r14, 0x10001
jae 0x140077981
mov esi, dword [rdi + 0x18]
mov ebp, dword [rdi + 0x1c]
mov ebx, 1
xor r12d, r12d
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x80], rdi
cmp r12, r14
jae 0x140077407
cmp ebx, 1
jne 0x1400771e9
movzx edi, byte [r10 + r12]
or edi, 0x100
inc r12
mov r11, r12
jmp 0x1400771ee
mov r11, r12
mov edi, ebx
test dil, 1
jne 0x140077257
lea rax, [r11 + 3]
mov edx, 3
mov r12, r11
sub edx, 1
jb 0x1400772f6
cmp r12, r14
jae 0x1400778cd
mov ebx, edi
shr ebx, 1
movzx r8d, byte [r10 + r12]
inc r12
movzx r15d, word [r9 + r8*2 + 0x6c0]
mov ecx, ebp
shl r15, cl
movzx r13d, byte [r9 + r8 + 0xd80]
or r15, rsi
add r13d, ebp
test dil, 2
jne 0x140077373
mov ebp, r13d
mov rsi, r15
mov edi, ebx
cmp r12, r14
jb 0x140077200
jmp 0x140077373
cmp r11, r14
lea r13, [0x1402a0e38]
jae 0x140077922
movzx ebx, byte [r10 + r11]
mov r12, r11
lea r8, [r11 + 1]
mov rcx, r10
mov rdx, r14
call fcn.140078447
lea rcx, [0x1402a0e98]
movzx r9d, word [rcx + rbx*2]
cmp r9, 0x120
jae 0x1400778e6
lea rcx, [0x1402a10b0]
movzx r10d, byte [rbx + rcx]
cmp r10, 0x10
mov r11, qword [rsp + 0x30]
ja 0x14007790e
movzx r15d, word [r11 + r9*2 + 0x6c0]
mov ecx, ebp
shl r15, cl
movzx ecx, byte [r11 + r9 + 0xd80]
add ecx, ebp
and ebx, dword [r13 + r10*4]
shl rbx, cl
movzx edx, ax
cmp ax, 0x200
jae 0x140077301
mov rbp, r13
lea rax, [0x1402a12e0]
lea r8, [rax + rdx]
lea rax, [0x1402a14e0]
add rax, rdx
jmp 0x140077326
mov r13d, ebp
mov r15, rsi
mov r12, rax
jmp 0x140077371
mov eax, edx
shr eax, 8
test dx, dx
js 0x140077957
mov rbp, r13
lea r8, [0x1402a11c8]
add r8, rax
lea r9, [0x1402a1260]
add rax, r9
movzx r13d, byte [rax]
cmp r13, 0x11
jae 0x1400778fa
shr edi, 1
add ecx, r10d
movzx eax, byte [r8]
movzx r8d, word [r11 + rax*2 + 0x900]
shl r8, cl
movzx eax, byte [r11 + rax + 0xea0]
add eax, ecx
and edx, dword [rbp + r13*4]
mov ecx, eax
shl rdx, cl
add r12, 3
or r15, rbx
or r15, r8
or r15, rdx
or r15, rsi
add r13d, eax
mov ebx, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
lea rdx, [rcx + 8]
lea rax, [0x1402a0980]
mov qword [rsp + 0x20], rax
call fcn.1400ef1d1
mov qword [rsp + 0x88], r15
lea rcx, [0x1402a0998]
mov qword [rsp + 0x20], rcx
mov r9d, 8
mov rcx, rax
lea r8, [rsp + 0x88]
call fcn.14012a805
mov edx, r13d
shr edx, 3
mov al, 2
add rdx, qword [rdi + 0x10]
jb 0x140077716
cmp rdx, qword [rdi + 8]
ja 0x140077716
mov ecx, r13d
and cl, 0x38
shr r15, cl
mov qword [rdi + 0x10], rdx
and r13d, 7
mov ebp, r13d
mov rsi, r15
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x58]
jmp 0x1400771c8
and qword [rdi + 0x18], 0
lea r14, [0x1402a0e38]
test ebp, ebp
je 0x140077441
cmp ebp, 0x10
mov ebx, 0x10
cmovb ebx, ebp
mov edx, dword [r14 + rbx*4]
and edx, esi
mov rcx, rdi
mov r8d, ebx
call fcn.140076f3f
mov r9, qword [rsp + 0x30]
mov ecx, ebx
shr rsi, cl
sub ebp, ebx
jmp 0x140077413
movzx edx, word [r9 + 0x8c0]
movzx r8d, byte [r9 + 0xe80]
mov rcx, rdi
call fcn.140076f3f
mov al, 1
jmp 0x140077716
mov r14d, 0x1d
mov eax, 0x11e
sub rax, r14
mov qword [rsp + 0x70], rax
lea rdx, [rcx + 0xea0]
lea rax, [rcx + 0xebd]
xor esi, esi
mov qword [rsp + 0x50], rdx
cmp rsi, 0x1d
je 0x14007749b
cmp byte [rax], 0
jne 0x1400774a0
inc rsi
dec rax
jmp 0x140077488
mov esi, 0x1d
mov ebp, 0x1e
sub rbp, rsi
lea r15, [rsp + 0x1c8]
mov r8d, 0x140
mov rcx, r15
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x88]
mov r8d, 0x140
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rbx, qword [rsp + 0x70]
lea r12, [rbx + rbp]
lea r9, [0x1402a0c88]
mov r8d, 0x140
mov rcx, rbx
mov rdx, r15
call fcn.140107216
mov r13, rax
mov r15, rdx
lea r8, [0x1402a0ca0]
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
call fcn.14007828a
mov r9, rdx
lea rcx, [0x1402a0cb8]
mov qword [rsp + 0x20], rcx
mov rcx, r13
mov rdx, r15
mov r8, rax
call fcn.14012a805
lea rax, [0x1402a0cd0]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
mov rcx, rbx
mov rbx, r12
mov rdx, r12
lea r8, [rsp + 0x1c8]
call fcn.1400ef1d1
mov r15, rax
mov r12, rdx
lea r8, [0x1402a0ce8]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rdx, rbp
call fcn.14007828a
mov r9, rdx
lea rcx, [0x1402a0d00]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, r12
mov r8, rax
call fcn.14012a805
and qword [rsp + 0x3c], 0
mov byte [rsp + 0x44], 0xff
mov eax, 0x480
mov r9, qword [rsp + 0x30]
cmp rax, 0x4a6
je 0x1400775ba
and word [r9 + rax], 0
add rax, 2
jmp 0x1400775a6
and qword [rsp + 0x48], 0
cmp rbx, 0x141
jae 0x140077995
mov r15, rdi
add rsi, r14
mov edi, 0x13c
sub rdi, rsi
xor esi, esi
lea r12, [rsp + 0x3c]
lea r13, [rsp + 0x88]
lea rbp, [rsp + 0x48]
lea r14, [rsp + 0x64]
cmp rdi, rsi
je 0x1400776d9
movzx ebx, byte [rsp + rsi + 0x1c8]
mov rcx, r12
mov rdx, r13
mov r8, rbp
test rbx, rbx
je 0x14007764e
call fcn.1400782b3
test al, al
jne 0x140077714
cmp bl, byte [rsp + 0x44]
jne 0x140077681
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 6
jne 0x1400776c8
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.140078349
jmp 0x1400776c4
call fcn.140078349
test al, al
jne 0x140077714
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, 0x8a
jne 0x1400776c8
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.1400782b3
jmp 0x1400776c4
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.140078349
test al, al
jne 0x140077714
mov rax, qword [rsp + 0x30]
inc word [rax + rbx*2 + 0x480]
mov byte [rsp + 0x64], bl
mov qword [rsp + 0x20], rbp
mov edx, 1
mov r9d, 0x140
mov rcx, r14
mov r8, r13
call fcn.1400783d0
test al, al
jne 0x140077714
mov byte [rsp + 0x44], bl
inc rsi
mov r9, qword [rsp + 0x30]
jmp 0x1400775f4
cmp dword [rsp + 0x40], 0
je 0x1400776f9
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.140078349
jmp 0x140077710
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.1400782b3
test al, al
je 0x14007772a
mov al, 2
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x20], 0
mov esi, 0x13
mov edx, 2
mov r8d, 0x13
mov r9d, 7
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140077a11
mov rcx, r15
mov edx, 2
mov r8d, 2
call fcn.140076f3f
mov rdx, qword [rsp + 0x70]
add edx, 0xfffffeff
mov rcx, r15
mov r8d, 5
call fcn.140076f3f
mov rdx, qword [rsp + 0x50]
dec edx
mov rcx, r15
mov r8d, 5
call fcn.140076f3f
lea rcx, [0x1402a0d42]
xor eax, eax
cmp rax, 0x13
je 0x1400777ba
movzx edx, byte [rcx]
cmp byte [rbx + rdx + 0xfc0], 0
jne 0x1400777b7
inc rax
dec rcx
jmp 0x14007779c
mov rsi, rax
mov edi, 0x13
mov eax, 0x13
sub rax, rsi
cmp rax, 5
mov r14d, 4
cmovae r14, rax
lea edx, [r14 - 4]
mov rcx, r15
mov r8d, 4
call fcn.140076f3f
cmp rdi, rsi
jb 0x1400779a9
xor esi, esi
lea rdi, [0x1402a0d30]
mov rcx, qword [rsp + 0x30]
cmp r14, rsi
je 0x140077827
movzx eax, byte [rsi + rdi]
movzx edx, byte [rcx + rax + 0xfc0]
mov rcx, r15
mov r8d, 3
call fcn.140076f3f
mov rcx, qword [rsp + 0x30]
inc rsi
jmp 0x1400777fe
xor ebx, ebx
movabs rsi, 0x300000002
cmp rbx, qword [rsp + 0x48]
jae 0x1400778c5
mov r14, rbx
cmp rbx, 0x13f
ja 0x14007792b
movzx edi, byte [rsp + r14 + 0x88]
cmp rdi, 0x13
mov rax, qword [rsp + 0x30]
jae 0x14007793f
lea rbx, [r14 + 1]
movzx edx, word [rax + rdi*2 + 0xb40]
movzx r8d, byte [rax + rdi + 0xfc0]
mov rcx, r15
call fcn.140076f3f
cmp dil, 0x10
jb 0x140077833
cmp r14, 0x13f
je 0x14007796b
movzx edx, byte [rsp + r14 + 0x89]
mov qword [rsp + 0x64], rsi
mov dword [rsp + 0x6c], 7
mov r8d, dword [rsp + rdi*4 + 0x24]
mov rcx, r15
call fcn.140076f3f
add r14, 2
mov rbx, r14
jmp 0x140077833
mov rdi, r15
jmp 0x140077194
cmp r11, r14
cmovbe r11, r14
lea r8, [0x1402a16f8]
mov rcx, r11
mov rdx, r14
call fcn.14003efaf
lea r8, [0x1402a1098]
mov edx, 0x120
mov rcx, r9
call fcn.14003efaf
lea r8, [0x1402a16e0]
mov edx, 0x11
mov rcx, r13
call fcn.14003efaf
lea r8, [0x1402a11b0]
mov edx, 0x11
mov rcx, r10
call fcn.14003efaf
lea r8, [0x1402a0e80]
jmp 0x1400778db
lea r8, [0x1402a0d60]
mov edx, 0x140
mov rcx, r14
call fcn.14003efaf
lea rcx, str.assertion_failed:_code___MAX_HUFF_SYMBOLS_2
lea r8, [0x1402a0da8]
mov edx, 0x2b
call fcn.14003fe40
lea r8, [0x1402a1248]
mov edx, pe_nt_image_headers64
mov rcx, rax
call fcn.14003efaf
lea r8, [0x1402a0dc0]
mov ecx, 0x140
mov edx, 0x140
call fcn.14003efaf
lea r8, [0x1402a1710]
mov edx, 0x10000
mov rcx, r14
call fcn.14003f980
lea r8, [0x1402a0d18]
mov edx, 0x140
mov rcx, rbx
call fcn.14003f980
lea r8, [0x1402a0d48]
mov edx, 0x13
jmp 0x14007798d