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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rbp, qword [0x14022c040]
mov rax, qword [rbp]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp dword [r8], 2
mov r12, rcx
mov rbx, rdx
mov rsi, r8
je 0x14018eb20
mov r13, qword [0x14029c680]
test r13, r13
je 0x14018eb70
mov rax, qword [rbx + 0x10]
mov r14, qword [0x14022c910]
mov qword [rbx + 8], 0
cmp rax, r14
je 0x14018eb10
mov byte [rax], 0
mov rdx, r13
mov rcx, rbx
call fcn.140189990
cmp rax, 0xffffffffffffffff
je 0x14018e9e4
mov r8, qword [rbx + 0x10]
mov r9, rbx
mov rdx, rsi
mov rcx, r12
call fcn.14018df40
mov r8d, dword [rsi]
mov edi, eax
test eax, eax
jne 0x14018ec34
mov edx, dword [rbx + 0x20]
test edx, edx
je 0x14018ea10
cmp r8d, 2
je 0x14018ea44
movsxd rcx, dword [rbx + 0x20]
xor edx, edx
cmp r8d, 1
setne dl
test ecx, ecx
jle 0x14018e9e9
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rcx*4]
lea rcx, [rax + rcx*8]
jmp 0x14018e9b9
add rax, 0x28
cmp rcx, rax
je 0x14018e9e9
cmp dword [rax], edx
je 0x14018e9b0
mov rax, qword [str.PF__]
mov edx, dword [rax]
cmp r8d, 1
je 0x14018eb50
lea rcx, str.cannot_revert_during_a_cherry_pick.
test edx, edx
jne 0x14018eb5f
call fcn.1400b6bf0
mov edi, 0xffffffff
mov rax, qword [rsp + 0x58]
sub rax, qword [rbp]
jne 0x14018ec94
mov eax, edi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp r8d, 2
jne 0x14018ec63
mov rcx, qword [0x14029c678]
test rcx, rcx
je 0x14018eb90
call fcn.140021db0
test eax, eax
je 0x14018ec63
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x14018e98b
mov rdx, qword [0x14029c678]
pxor xmm0, xmm0
mov qword [rsp + 0x50], 0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
movups xmmword [rsp + 0x40], xmm0
test rdx, rdx
je 0x14018ec19
lea r13, [rsp + 0x20]
xor r8d, r8d
mov rcx, r13
call fcn.1400912b0
test rax, rax
jg 0x14018ebb0
xor r8d, r8d
movsxd rdx, dword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
mov dword [rbx + 0x2c], r8d
test edx, edx
jle 0x14018ead6
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8]
xor edx, edx
nop word cs:[rax + rax]
nop word cs:[rax + rax]
xor ecx, ecx
cmp dword [rax], 0xe
setne cl
add rax, 0x28
add edx, ecx
cmp r9, rax
jne 0x14018eac0
add r8d, edx
mov dword [rbx + 0x30], r8d
mov rcx, r13
call fcn.14008e580
mov rcx, qword [rsp + 0x38]
call fcn.1400eaf30
mov rcx, rbx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call fcn.140187930
jmp 0x14018e9e9
cmp byte [rax], 0
je 0x14018e942
call fcn.140187a60
nop
mov r13, qword [0x14029c6b0]
test r13, r13
jne 0x14018e923
lea rcx, str.rebase_merge_git_rebase_todo
call fcn.1400430e0
mov qword [0x14029c6b0], rax
mov r13, rax
jmp 0x14018e923
lea rcx, str.cannot_cherry_pick_during_a_revert.
test edx, edx
je 0x14018e9df
call fcn.1401d81b8
mov rcx, rax
jmp 0x14018e9df
lea rcx, str.sequencer_todo
call fcn.1400430e0
mov qword [0x14029c680], rax
mov r13, rax
jmp 0x14018e923
lea rcx, str.rebase_merge_done
call fcn.1400430e0
mov qword [0x14029c678], rax
mov rcx, rax
jmp 0x14018ea2a
mov r8, qword [rsp + 0x30]
mov r9, r13
mov rdx, rsi
mov rcx, r12
call fcn.14018df40
mov r8d, eax
test eax, eax
jne 0x14018ea8e
movsxd rdx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
test edx, edx
jle 0x14018ea91
lea rdx, [rdx + rdx*4]
lea rcx, [rax + rdx*8]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop
xor edx, edx
cmp dword [rax], 0xe
setne dl
add rax, 0x28
add r8d, edx
cmp rcx, rax
jne 0x14018ec00
jmp 0x14018ea91
lea rcx, str.rebase_merge_done
call fcn.1400430e0
mov qword [0x14029c678], rax
mov rdx, rax
jmp 0x14018ea75
mov rax, qword [str.PF__]
mov eax, dword [rax]
cmp r8d, 2
je 0x14018ec80
lea rcx, str.unusable_instruction_sheet:__s
test eax, eax
je 0x14018ec56
call fcn.1401d81b8
mov rcx, rax
mov rdx, r13
call fcn.1400b6bf0
jmp 0x14018e9e4
mov rax, qword [str.PF__]
lea rcx, str.no_commits_parsed.
mov eax, dword [rax]
test eax, eax
je 0x14018e9df
jmp 0x14018eb5f
lea rcx, str.please_fix_this_using_git_rebase___edit_todo.
test eax, eax
je 0x14018e9df
jmp 0x14018eb5f
call fcn.1401d96b0
nop
nop word [rax + rax]