Function at 0x140002fb0
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x78
mov r9, qword [sym.imp.gif_7.dll_GifNoisyPrint]
lea rax, [rbp - 0x20]
mov r8, qword [str.gifbuild_v___d___t__Characters_s_h___GifFile_s__s]
xor edi, edi
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x24]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov byte [rbp + 0x28], 0
mov byte [rbp - 0x28], 0
mov byte [rbp + 0x30], 0
mov qword [rbp - 0x20], rdi
call sub.gif_7.dll_GAGetArgs
test al, al
je 0x140003037
movzx ecx, al
call sub.gif_7.dll_GAPrintErrMsg
mov rcx, qword [str.gifbuild_v___d___t__Characters_s_h___GifFile_s__s]
call sub.gif_7.dll_GAPrintHowTo
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [rbp - 0x28], dil
je 0x140003076
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, qword [section..data]
mov r9d, 2
mov rcx, rax
lea r8d, [r9 + 3]
call fcn.140002f60
mov rcx, qword [str.gifbuild_v___d___t__Characters_s_h___GifFile_s__s]
call sub.gif_7.dll_GAPrintHowTo
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, byte [rbp + 0x28]
movzx edx, byte [rbp + 0x30]
mov eax, dword [rbp - 0x24]
test cl, cl
jne 0x140003112
cmp eax, 1
jle 0x1400030ce
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r9, str.Error_in_command_line_parsing___one__text_input_please.
lea r8, str.gifbuild
lea rdx, str._n_s:__s_n
call fcn.140002f60
mov rcx, qword [str.gifbuild_v___d___t__Characters_s_h___GifFile_s__s]
call sub.gif_7.dll_GAPrintHowTo
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test dl, dl
je 0x140003112
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r9, str.Error_in_command_line_parsing____t_invalid_without__d.
lea r8, str.gifbuild
lea rdx, str._n_s:__s_n
call fcn.140002f60
mov rcx, qword [str.gifbuild_v___d___t__Characters_s_h___GifFile_s__s]
call sub.gif_7.dll_GAPrintHowTo
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x70], r14
test eax, eax
jne 0x14000318c
test cl, cl
je 0x14000316d
test dl, dl
lea r9, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ________._:________
lea r8d, [rax + 1]
cmovne r9, qword [rbp - 0x18]
lea rcx, str.Stdin
xor edx, edx
call fcn.140001580
mov rsi, qword [rsp + 0x98]
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0x70]
add rsp, 0x78
pop rdi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 1
lea rcx, str.Stdin
mov rdx, rax
call fcn.140001a40
jmp 0x14000314f
jle 0x14000314f
mov rbx, rdi
lea r14, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ________._:________
nop dword [rax + rax]
mov rcx, qword [rbp - 0x20]
lea rdx, [0x140005480]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x14000322e
cmp byte [rbp + 0x28], 0
je 0x1400031fb
mov rdx, qword [rbp - 0x20]
lea rcx, str._n_GIF_information_from__s_n
mov rdx, qword [rbx + rdx]
call fcn.140003260
mov rcx, qword [rbp - 0x20]
mov edx, 0xffffffff
cmp byte [rbp + 0x30], 0
mov r9, r14
cmovne r9, qword [rbp - 0x18]
mov rcx, qword [rbx + rcx]
lea r8d, [rdx + 2]
call fcn.140001580
jmp 0x140003211
mov rcx, qword [rbp - 0x20]
mov r8d, 1
mov rdx, rsi
mov rcx, qword [rbx + rcx]
call fcn.140001a40
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
inc edi
add rbx, 8
cmp edi, dword [rbp - 0x24]
jl 0x1400031a0
jmp 0x14000314f
mov ecx, 2
movsxd rbx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbp - 0x20]
lea rdx, str.Cant_open__s_n
mov rcx, rax
mov r8, qword [r8 + rbx*8]
call fcn.140002f60
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3