Function at 0x14002cba0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xb8
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
lea rdx, str.log.txt
cmp dword [0x1400deae8], ebx
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rbx
lea r8, [0x1400aedf0]
jg 0x14002cbf2
lea r8, [0x1400aee48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
jne 0x14002cdd9
cmp qword [rbp - 0x49], rbx
je 0x14002cdd9
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xorps xmm0, xmm0
mov qword [rbp - 0x41], rax
xor eax, eax
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x19], eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
je 0x14002cc50
lea rcx, str.localtime_s
call fcn.140029bc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [rbp - 0x39]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__wasctime_s]
test eax, eax
je 0x14002cc7f
lea rcx, str._tasctime_s
call fcn.140029bc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, 0xffffffffffffffff
lea rdx, [rbp - 9]
mov rcx, rax
nop dword [rax]
cmp word [rdx + rcx*2 + 2], bx
lea rcx, [rcx + 1]
jne 0x14002cc90
lea rcx, [rcx*2 - 2]
cmp rcx, 0x40
jae 0x14002cdef
mov word [rbp + rcx - 9], bx
lea rcx, [rbp - 9]
mov qword [rsp + 0xb0], rdi
nop
cmp word [rcx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x14002ccc0
lea rbx, [rax*2 + 6]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14002cd26
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
shr rbx, 1
lea r9, [rbp - 9]
mov rdx, rbx
lea r8, str.__s_
mov rcx, rdi
call fcn.140022740
mov rcx, qword [rbp - 0x49]
lea rdx, [0x1400aee40]
mov r8, rdi
call fcn.14002cb50
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbp + 0x6f]
lea rdi, [rbp + 0x77]
movzx eax, word [rbx]
test ax, ax
je 0x14002cdb2
add rdi, 0xfffffffffffffff8
nop word [rax + rax]
cmp ax, 0x25
je 0x14002cd55
mov rdx, qword [rbp - 0x49]
movzx ecx, ax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x14002cda5
movzx ecx, word [rbx + 2]
add rbx, 2
cmp ecx, 0x64
je 0x14002cd8d
cmp ecx, 0x73
je 0x14002cd73
mov rdx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x14002cda5
mov r8, qword [rdi + 8]
lea rdx, [0x1400aee38]
mov rcx, qword [rbp - 0x49]
add rdi, 8
call fcn.14002cb50
jmp 0x14002cda5
mov r8d, dword [rdi + 8]
lea rdx, [0x1400aaf74]
mov rcx, qword [rbp - 0x49]
add rdi, 8
call fcn.14002cb50
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x14002cd40
mov rdx, qword [rbp - 0x49]
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov rcx, qword [rbp - 0x49]
inc dword [0x1400deae8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14008f700
add rsp, 0xb8
pop rbx
pop rbp
ret
call fcn.140090138
int3