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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, r9d
mov esi, r9d
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
and eax, 3
je 0x14010739f
sub eax, 1
je 0x1401072e6
sub eax, 1
je 0x140107268
cmp eax, 1
je 0x1401071af
lea rsi, str.__wrong_params__
jmp 0x140107460
cmp qword [rdx + 0x18], 0x10
jb 0x1401071b9
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
call fcn.14002ca50
lea rdx, [0x140206ac8]
mov rcx, rax
call fcn.14002a5a0
mov rcx, rax
lea rdx, str.ROTL32_
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x1401071ee
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14002ca50
lea rdx, [0x1401f97bc]
mov rcx, rax
call fcn.14002a5a0
shr esi, 0x10
mov r8, rax
mov ecx, esi
mov eax, 0x8421085
mul esi
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, 0x1f
shr ecx, 4
imul eax, ecx, 0x1f
sub esi, eax
sub edx, esi
mov rcx, r8
call fcn.1400b4910
lea rdx, [0x140206b00]
mov rcx, rax
call fcn.14002a5a0
cmp qword [rdi + 0x18], 0x10
mov r8, qword [rdi + 0x10]
jb 0x140107251
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14002ca50
lea rsi, [0x140206a94]
jmp 0x14010745d
cmp qword [rdx + 0x18], 0x10
jb 0x140107272
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
call fcn.14002ca50
lea rdx, [0x140206ac8]
mov rcx, rax
call fcn.14002a5a0
mov rcx, rax
lea rdx, str.ROTL32_
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x1401072a7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14002ca50
lea rdx, [0x1401f97bc]
mov rcx, rax
call fcn.14002a5a0
shr esi, 0x10
mov r8, rax
mov ecx, esi
mov eax, 0x8421085
mul esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
imul eax, ecx, 0x1f
sub esi, eax
lea edx, [rsi + 1]
jmp 0x14010722c
lea rdx, str.tmpMr____
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1401072ff
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14002ca50
lea rdx, [0x140206a44]
mov rcx, rax
call fcn.14002a5a0
cmp qword [rdi + 0x18], 0x10
mov r8, qword [rdi + 0x10]
jb 0x140107328
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14002ca50
lea rdx, [0x140204130]
mov rcx, rax
call fcn.14002a5a0
lea rsi, [0x140206a94]
mov rcx, rax
mov rdx, rsi
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x140107362
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rbp
call fcn.14002ca50
lea rdx, [0x140206ac8]
mov rcx, rax
call fcn.14002a5a0
mov rcx, rax
lea rdx, str._tmpMr____5_
call fcn.14002a5a0
mov rcx, rax
lea rdx, str.__tmpMr
call fcn.14002a5a0
jmp 0x14010745d
lea rdx, str.tmpMr_____
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1401073b8
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14002ca50
lea rdx, str.____5__
mov rcx, rax
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1401073e0
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14002ca50
lea rdx, [0x140206a98]
mov rcx, rax
call fcn.14002a5a0
lea rsi, [0x140206a94]
mov rcx, rax
mov rdx, rsi
call fcn.14002a5a0
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x14010741b
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rbp
call fcn.14002ca50
lea rdx, [0x140206ac8]
mov rcx, rax
call fcn.14002a5a0
mov rcx, rax
lea rdx, str.tmpMr_
call fcn.14002a5a0
cmp qword [rdi + 0x18], 0x10
mov r8, qword [rdi + 0x10]
jb 0x140107452
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14002ca50
mov rbp, rax
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14002a5a0