Function at 0x4d4f40
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, 0x78
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov rsi, r9
mov rbx, rcx
mov r15d, edx
mov eax, dword [rsp + 0xe8]
mov r9d, dword [r9 + 0x5a8]
mov r12d, r8d
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x50], eax
test r9d, r9d
je 0x4d5300
mov rdi, qword [0x005ab240]
mov rax, qword [rdi]
mov rax, qword [rax + 0xc8]
mov ebp, dword [rax + 0x18]
mov rcx, qword [rsi + 0x578]
lea rax, [0x005944e3]
mov edx, 2
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [rsi + 0x580]
mov qword [rsp + 0x60], rax
test rcx, rcx
lea rax, [0x005944e6]
cmovne rax, rcx
mov ecx, dword [rsi + 0x624]
mov qword [rsp + 0x68], rax
call fcn.004f1e20
mov ecx, dword [rsi + 0x624]
xor edx, edx
mov qword [rsp + 0x40], rax
call fcn.004f1e20
cmp qword [rsi + 0xb8], 0
mov qword [rsp + 0x38], rax
je 0x4d5015
test byte [rsi + 0x85], 8
je 0x4d5318
test r12d, r12d
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
lea rax, str.diff___combined
lea rcx, str.diff___cc
lea rdx, [0x00594498]
cmove rcx, rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], r14
mov r9, r13
mov qword [rsp + 0x28], rax
mov r8, qword [rbx + 8]
call fcn.004d4e30
mov r8, r14
mov rdx, r13
lea rcx, str._s_sindex
call sub.libintl_8.dll___printf__
lea rax, [rbx + 0x14]
mov qword [rsp + 0x58], rax
test r15d, r15d
jle 0x4d5460
mov rcx, qword [rdi]
lea rdx, [rbx + 0x40]
mov r8d, ebp
lea r14, [rbx + 0x80]
lea r12, [0x00594512]
call fcn.0046ccf0
lea rdx, [0x00594498]
mov r8, rax
lea eax, [r15 - 1]
shl rax, 6
lea r13, [rbx + rax + 0x80]
jmp 0x4d50d1
mov rcx, qword [rdi]
mov rdx, r14
add r14, 0x40
call fcn.0046ccf0
lea rdx, [0x00594505]
mov r8, rax
mov rcx, r12
call sub.libintl_8.dll___printf__
mov r8d, ebp
cmp r14, r13
jne 0x4d50b8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi]
call fcn.0046ccf0
mov r8, qword [rsp + 0x38]
lea rcx, str..._s_s_n
mov rdx, rax
call sub.libintl_8.dll___printf__
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x4d5280
mov r9d, dword [rbx + 0x10]
test r9d, r9d
sete r12b
sete r8b
movzx r12d, r12b
je 0x4d543b
lea rdx, [rbx + 0x38]
xor eax, eax
jmp 0x4d513c
test cl, cl
je 0x4d514e
cmp byte [rdx], 0x41
sete cl
add eax, 1
add rdx, 0x40
cmp r15d, eax
jg 0x4d5138
mov byte [rsp + 0x54], 1
movzx edi, cl
test edi, edi
jne 0x4d5420
test r8b, r8b
jne 0x4d5440
lea rcx, str.mode
call sub.libintl_8.dll___printf__
cmp byte [rsp + 0x54], 0
je 0x4d51bc
mov r8d, dword [rbx + 0x3c]
lea r13, [rbx + 0x7c]
xor r14d, r14d
lea rdx, [0x00594498]
lea rdi, str._s_06o
lea rbp, [0x00594505]
jmp 0x4d51ab
mov r8d, dword [r13]
mov rdx, rbp
add r13, 0x40
mov rcx, rdi
add r14d, 1
call sub.libintl_8.dll___printf__
cmp r15d, r14d
jg 0x4d51a0
mov edx, dword [rbx + 0x10]
test edx, edx
jne 0x4d5400
xor edi, edi
mov rdx, qword [rsp + 0x38]
lea rcx, [0x0059455c]
call sub.libintl_8.dll___printf__
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x4d5328
cmp byte [rsi + 0x85], 0
js 0x4d5340
test edi, edi
je 0x4d529c
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
lea r8, [0x00594560]
lea rdx, [0x00594498]
lea rcx, [0x0059456a]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.004d4e30
test r12d, r12d
je 0x4d52d3
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
lea r8, [0x00594560]
lea rdx, [0x00594498]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
lea rcx, [0x0059456f]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.004d4e30
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x4d5328
xor r12d, r12d
cmp byte [rsi + 0x85], 0
js 0x4d53f0
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
lea rcx, [0x0059456a]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, qword [rbx + 8]
call fcn.004d4e30
test r12d, r12d
jne 0x4d5237
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov r8, qword [rbx + 8]
jmp 0x4d5264
mov rax, qword [0x005aac30]
mov rdi, qword [0x005ab240]
mov ebp, dword [rax]
jmp 0x4d4fa3
mov rcx, rsi
call fcn.00513ba0
jmp 0x4d5015
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x54], 0
je 0x4d522e
xor r13d, r13d
mov dword [rsp + 0x50], r12d
mov r14, rbx
lea rsi, [0x0059456a]
mov r12, r13
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x48]
lea rbp, [0x00594560]
lea rdi, [0x00594498]
jmp 0x4d5394
mov rdx, rbx
mov rcx, rsi
add r12, 1
call fcn.004d4e30
cmp r15d, r12d
jle 0x4d53e2
mov rcx, r12
shl rcx, 6
movzx edx, byte [r14 + rcx + 0x38]
cmp dl, 0x52
je 0x4d5418
cmp dl, 0x43
je 0x4d5418
mov r8, qword [r14 + 8]
mov rax, qword [rsp + 0x38]
mov r9, r13
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp dl, 0x41
jne 0x4d5380
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add r12, 1
call fcn.004d4e30
cmp r15d, r12d
jg 0x4d5394
mov r12d, dword [rsp + 0x50]
mov rbx, r14
jmp 0x4d522e
test r15d, r15d
jg 0x4d534b
jmp 0x4d52d3
lea rcx, str..._06o
call sub.libintl_8.dll___printf__
jmp 0x4d51c7
mov r8, qword [r14 + rcx + 0x70]
jmp 0x4d53af
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, str._s_snew_file_mode__06o
call sub.libintl_8.dll___printf__
jmp 0x4d51c9
mov byte [rsp + 0x54], 1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, str._s_sdeleted_file
call sub.libintl_8.dll___printf__
jmp 0x4d5167
mov rcx, qword [rdi]
mov r8d, ebp
lea rdx, [rbx + 0x14]
call fcn.0046ccf0
mov r8, qword [rsp + 0x38]
lea rcx, str..._s_s_n
mov rdx, rax
call sub.libintl_8.dll___printf__
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x4d5280
mov r9d, dword [rbx + 0x10]
mov byte [rsp + 0x54], 0
test r9d, r9d
sete r12b
setne dil
sete r8b
movzx r12d, r12b
movzx edi, dil
jmp 0x4d5156