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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov rbx, qword [0x140207460]
xor r8d, r8d
lea rdx, [0x140166460]
movsxd r9, dword [rcx + 0x20]
mov rax, qword [rbx]
mov qword [rsp + 0x118], rax
xor eax, eax
mov rdi, rcx
mov rax, qword [0x1401f9e10]
mov dword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
movabs rbx, 0x3fffffffffffffff
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xe0]
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.14001f8a0
movsxd r8, dword [rdi + 0x20]
cmp rbx, r8
jb 0x1401739b8
lea rcx, [r8*4]
call fcn.1400a5fa0
movsxd r8, dword [rdi + 0x20]
mov qword [rsp + 0x28], rax
cmp rbx, r8
jb 0x1401739b8
lea rcx, [r8*4]
call fcn.1400a5fa0
movsxd r8, dword [rdi + 0x20]
mov qword [rsp + 0x30], rax
mov rax, r8
shr rax, 0x3d
jne 0x1401739a7
lea rcx, [r8*8]
call fcn.1400a5fa0
mov r9d, dword [rdi + 0x20]
mov qword [rsp + 0x38], rax
test r9d, r9d
jle 0x14017394a
xor r11d, r11d
mov r12, qword [0x140207cf0]
mov r15, qword [str._________AA__A__________________]
xor ebx, ebx
mov dword [rsp + 0x5c], r11d
jmp 0x1401732f2
mov rcx, r14
call fcn.14001f750
mov rcx, qword [rsp + 0x40]
mov r8, r14
mov rdx, r13
mov dword [rsp + 0x98], eax
mov qword [rsp + 0x90], 0
call fcn.14001fa30
test rax, rax
je 0x1401736f0
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0xa0]
add rbx, 1
mov edx, dword [rax + 0x40]
call fcn.140166960
mov edx, dword [rdi + 0x20]
mov qword [rax], rsi
cmp edx, ebx
jle 0x140173464
mov rax, qword [0x140207c90]
mov rsi, qword [rdi + 0x18]
lea rbp, [rbx + rbx*4]
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], rax
lea rax, [rbp*8]
add rsi, rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsi + 8]
mov dword [rax + rbx*4], 0xffffffff
mov rax, qword [rsp + 0x28]
mov dword [rax + rbx*4], 0xffffffff
test rdx, rdx
je 0x140173448
mov eax, dword [rsi]
cmp eax, 0xd
je 0x140173448
sub eax, 4
cmp eax, 1
jbe 0x14017389f
mov rcx, qword [r12]
xor r8d, r8d
mov dword [rsp + 0x58], ebx
lea r14, [rsp + 0xc0]
call fcn.1400f6bb0
mov rdx, qword [rsi + 8]
mov rcx, qword [r12]
xor r8d, r8d
lea r9, str.UTF_8
call fcn.14003eb60
lea rdx, [rsp + 0x78]
mov rcx, rax
mov r13, rax
call fcn.1400f6c20
mov rdx, qword [rsp + 0x78]
lea r8, [0x1401f8a71]
mov rcx, r14
call fcn.14003f060
mov rcx, r14
lea rdx, [rsp + 0x88]
call fcn.14007d860
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsi + 8]
mov r8, r13
lea r13, [rsp + 0x90]
mov qword [rcx + rbx*8], rax
mov rcx, qword [r12]
mov qword [rsp + 0x78], rax
call fcn.1400f6010
mov r14, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.140166300
test eax, eax
je 0x140173298
jmp 0x140173425
call fcn.140166300
test eax, eax
je 0x140173620
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx]
test byte [r15 + rax], 1
je 0x140173418
add rcx, 1
mov qword [rsp + 0x80], rcx
jmp 0x14017342d
mov rax, qword [rsp + 0x38]
mov edx, dword [rdi + 0x20]
mov qword [rax + rbx*8], 0
add rbx, 1
cmp edx, ebx
jg 0x1401732f2
mov r11d, dword [rsp + 0x5c]
test r11d, r11d
je 0x140173562
mov rcx, qword [rdi + 0x18]
test edx, edx
jle 0x140173988
xor r15d, r15d
mov r12, qword [rsp + 0x28]
mov r8, rcx
xor ebx, ebx
xor r14d, r14d
xor r13d, r13d
mov rcx, r15
movabs rsi, 0x666666666666666
nop
lea rax, [rbx + rbx*4]
mov eax, dword [r8 + rax*8]
sub eax, 4
cmp eax, 1
jbe 0x14017353e
movsxd rax, r13d
mov ebp, ebx
lea r15, [rax + rax*4]
shl r15, 3
nop dword [rax]
cmp r13d, r14d
jl 0x140173506
lea edx, [r14 + r14*2 + 0x30]
lea r14d, [r13 + 1]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, r13d
cmovg r14d, eax
movsxd r8, r14d
cmp rsi, r8
jb 0x140173996
lea rdx, [r8 + r8*4]
shl rdx, 3
call fcn.1400a61c0
mov r8, qword [rdi + 0x18]
mov rcx, rax
movsxd rax, ebp
add r13d, 1
lea rdx, [rax + rax*4]
lea rdx, [r8 + rdx*8]
movdqu xmm0, xmmword [rdx]
movups xmmword [rcx + r15], xmm0
movdqu xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + r15 + 0x10], xmm1
mov rdx, qword [rdx + 0x20]
mov qword [rcx + r15 + 0x20], rdx
mov ebp, dword [r12 + rax*4]
add r15, 0x28
test ebp, ebp
jns 0x1401734c8
add rbx, 1
cmp dword [rdi + 0x20], ebx
jg 0x1401734a0
mov r15, rcx
mov rcx, r8
call fcn.1400d2670
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x20], r13d
mov dword [rdi + 0x24], r14d
mov rcx, qword [rsp + 0x28]
mov ebx, dword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
call fcn.1400d2670
mov rcx, qword [rsp + 0x30]
call fcn.1400d2670
mov edx, dword [rdi + 0x20]
test edx, edx
jle 0x1401735aa
mov r12, qword [rsp + 0x38]
xor ebp, ebp
nop dword [rax + rax]
mov rcx, qword [r12 + rbp*8]
add rbp, 1
call fcn.1400d2670
cmp dword [rdi + 0x20], ebp
jg 0x140173598
mov rcx, qword [rsp + 0x38]
call fcn.1400d2670
mov rcx, qword [rsp + 0x40]
xor edx, edx
call fcn.14001f9e0
test ebx, ebx
je 0x1401735e1
mov rdi, rsi
lea rbx, [rsi + rbx*8]
nop dword [rax + rax]
mov rcx, qword [rdi]
add rdi, 8
call fcn.1400d2670
cmp rdi, rbx
jne 0x1401735d0
mov rcx, rsi
call fcn.1400d2670
xor eax, eax
mov rdi, qword [0x140207460]
mov rdx, qword [rsp + 0x118]
sub rdx, qword [rdi]
jne 0x1401739c9
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsp + 0x80]
mov dword [rsp + 0x50], eax
lea r13, [rsp + 0x90]
mov rcx, r14
call fcn.14001f750
mov rcx, qword [rsp + 0x40]
mov r8, r14
mov rdx, r13
mov dword [rsp + 0x98], eax
mov qword [rsp + 0x90], 0
call fcn.14001fa30
test rax, rax
je 0x14017376b
mov r9d, dword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov r14, rcx
test r9d, r9d
js 0x140173298
lea rdx, str.fixup_
mov dword [rsp + 0x50], r9d
call fcn.14007d6d0
movsxd r9, dword [rsp + 0x50]
test eax, eax
je 0x1401737e7
mov rax, qword [rdi + 0x18]
mov dword [rax + rbp*8], 4
mov rax, qword [rsp + 0x30]
shl r9, 2
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + r9]
movsxd rax, dword [rdx]
test eax, eax
js 0x140173756
mov eax, dword [rcx + rax*4]
mov r10d, dword [rsp + 0x58]
mov dword [rcx + rbx*4], eax
movsxd rax, dword [rdx]
mov dword [rcx + rax*4], r10d
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], 1
mov dword [rdx], eax
jmp 0x1401732cc
mov r13, qword [rsp + 0x88]
cmp r13, 0xffffffffffffffe7
ja 0x1401739e7
je 0x1401739ce
lea rdx, [r13 + 0x19]
mov ecx, 1
call fcn.1400a6220
mov rdx, qword [rsp + 0x78]
mov r8, r13
lea rcx, [rax + 0x14]
mov rbp, rax
call sub.msvcrt.dll_memcpy
mov rcx, rax
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0x10], eax
call fcn.14001f750
mov qword [rbp], 0
mov rcx, qword [rsp + 0x40]
mov rdx, rbp
mov dword [rbp + 8], eax
call fcn.14001fc90
jmp 0x1401732cc
add r9, rcx
mov eax, dword [r9]
mov dword [rcx + rbx*4], eax
mov eax, dword [rsp + 0x58]
mov dword [r9], eax
jmp 0x1401736d5
mov edx, 0x20
mov rcx, r14
call sub.msvcrt.dll_strchr
mov r9d, dword [rsp + 0x50]
test rax, rax
je 0x140173831
mov r8, qword [rsp + 0x38]
test ebx, ebx
je 0x140173940
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov rsi, r8
mov qword [rsp + 0x68], rbp
mov ebp, r9d
nop dword [rax + rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401737c8
mov rdx, r14
call fcn.14007d6d0
test eax, eax
jne 0x140173915
add ebp, 1
add rsi, 8
cmp ebp, ebx
jne 0x1401737b0
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
jmp 0x140173298
mov rcx, qword [rsp + 0x78]
lea rdx, str.amend_
mov dword [rsp + 0x50], r9d
call fcn.14007d6d0
movsxd r9, dword [rsp + 0x50]
test eax, eax
je 0x140173821
mov rax, qword [rsp + 0x48]
add rax, qword [rdi + 0x18]
mov dword [rax], 4
mov dword [rax + 0x10], 2
jmp 0x1401736a6
mov rax, qword [rdi + 0x18]
mov dword [rax + rbp*8], 5
jmp 0x1401736a6
mov rcx, r14
mov dword [rsp + 0x50], r9d
call fcn.1400f6960
mov r9d, dword [rsp + 0x50]
test rax, rax
je 0x140173786
mov edx, dword [rax + 0x40]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
call fcn.140166960
mov r9d, dword [rsp + 0x50]
cmp qword [rax], 0
je 0x140173786
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov edx, dword [r8 + 0x40]
call fcn.140166960
mov r9, qword [rax]
sub r9, qword [rdi + 0x18]
sar r9, 3
imul r9d, r9d, 0xcccccccd
jmp 0x14017366c
mov rdi, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xa8]
mov rbx, rdi
lea rsi, [rdi + rax*8]
test eax, eax
je 0x1401738d1
nop dword [rax]
mov rcx, qword [rbx]
add rbx, 8
call fcn.1400d2670
cmp rbx, rsi
jne 0x1401738c0
mov rcx, rdi
call fcn.1400d2670
mov rax, qword [0x1402078f0]
lea rcx, str.the_script_was_already_rearranged.
mov r8d, dword [rax]
test r8d, r8d
jne 0x1401738fe
call fcn.1400a0b40
mov eax, 0xffffffff
jmp 0x1401735eb
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.1400a0b40
mov eax, 0xffffffff
jmp 0x1401735eb
mov rcx, qword [rsp + 0x78]
mov r9d, ebp
mov r10d, ebx
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov r14, rcx
cmp r10d, r9d
jne 0x14017367d
jmp 0x140173298
mov r14, qword [rsp + 0x78]
jmp 0x140173298
mov rcx, qword [rsp + 0x28]
xor esi, esi
xor ebx, ebx
call fcn.1400d2670
mov rcx, qword [rsp + 0x30]
call fcn.1400d2670
mov eax, dword [rdi + 0x20]
test eax, eax
jg 0x14017358c
mov rcx, qword [rsp + 0x38]
call fcn.1400d2670
mov rcx, qword [rsp + 0x40]
xor edx, edx
call fcn.14001f9e0
jmp 0x1401735e1
xor r15d, r15d
xor r14d, r14d
xor r13d, r13d
jmp 0x140173551
mov edx, 0x28
lea rcx, [0x1401f6c60]
call fcn.1400a08a0
mov edx, 8
lea rcx, [0x1401f6c60]
call fcn.1400a08a0
mov edx, 4
lea rcx, [0x1401f6c60]
call fcn.1400a08a0
call fcn.1401be670
mov r8d, 1
mov rdx, 0xffffffffffffffff
lea rcx, [0x1401f8a78]
call fcn.1400a08a0
mov r8, r13
mov edx, 0x18
lea rcx, [0x1401f8a78]
call fcn.1400a08a0
nop
nop dword [rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rsi, qword [0x140207460]
lea rdi, str.CHERRY_PICK_HEAD
mov rax, qword [rsi]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rbx, rcx
mov rbp, rdx
call fcn.140051470
mov rdx, rdi
mov rcx, rax
call fcn.140051030
test eax, eax
jne 0x140173a60
mov rdx, qword [rsp + 0x78]
sub rdx, qword [rsi]
jne 0x140173bcd
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [0x1402887a0]
test rcx, rcx
je 0x140173b60
call fcn.1400189e0
test eax, eax
je 0x140173a80
mov dword [rbp], 3
mov rcx, qword [0x1402887a8]
test rcx, rcx
je 0x140173b40
call fcn.1400189e0
test eax, eax
jne 0x140173ab0
mov eax, 2
mov dword [rbp], eax
mov eax, 1
jmp 0x140173a3d
lea r8, [rsp + 0x50]
lea rdx, str.REBASE_HEAD
mov rcx, rbx
call fcn.14002ea00
test eax, eax
jne 0x140173a99
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.14002ea00
test eax, eax
jne 0x140173a99
movsxd rax, dword [rsp + 0x70]
test eax, eax
jne 0x140173b7b
mov rax, qword [0x140207cf0]
mov rax, qword [rax]
mov rax, qword [rax + 0x100]
cmp qword [rax + 0x10], 0x20
mov rax, qword [rsp + 0x50]
je 0x140173b93
mov rdx, qword [rsp + 0x58]
xor rax, qword [rsp + 0x20]
xor rdx, qword [rsp + 0x28]
or rax, rdx
jne 0x140173a99
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x60], eax
jne 0x140173a99
mov eax, 4
jmp 0x140173a9e
lea rcx, str.rebase_merge
call fcn.1400379d0
mov qword [0x1402887a8], rax
mov rcx, rax
jmp 0x140173a90
lea rcx, str.sequencer
call fcn.1400379d0
mov qword [0x1402887a0], rax
mov rcx, rax
jmp 0x140173a70
lea rdx, [rax + rax*2]
lea rdx, [rax + rdx*4]
mov rax, qword [0x1402079b0]
lea rax, [rax + rdx*8]
jmp 0x140173afa
mov rdx, qword [rsp + 0x58]
xor rax, qword [rsp + 0x20]
xor rdx, qword [rsp + 0x28]
or rax, rdx
jne 0x140173a99
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
xor rax, qword [rsp + 0x30]
xor rdx, qword [rsp + 0x38]
or rax, rdx
jne 0x140173a99
jmp 0x140173b30
call fcn.1401be670
nop
nop word cs:[rax + rax]
nop