Function at 0x140051ef8
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x3d8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x340], xmm8
movaps xmmword [rbp + 0x330], xmm7
movaps xmmword [rbp + 0x320], xmm6
mov qword [rbp + 0x318], 0xfffffffffffffffe
mov r15, r9
mov r14d, edx
mov rsi, rcx
mov qword [rbp + 0x178], r8
add rcx, 8
mov qword [rbp + 0x1c0], rcx
cmp byte [rsi + 0x30], 0
je 0x140051f5b
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rsi + 0x38], 0
je 0x140051f6c
cmp qword [rsi + 0x50], 0
je 0x14005310e
mov eax, dword [rsi + 0xb0]
shr eax, 0x14
mov ecx, dword [0x14019f994]
cmp ecx, 2
mov edx, 1
cmovge edx, ecx
cmp eax, edx
jae 0x140051f97
call fcn.1400780c7
test al, al
je 0x1400521e3
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140051fa8
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea r12, [rsi + 0xa0]
xor eax, eax
mov qword [rsi + 0xa0], rax
mov qword [rsi + 0xac], rax
mov dword [rsi + 0xb4], 0x1f
mov eax, dword [rsi + 0xb4]
inc eax
mov dword [rsi + 0xb4], eax
cmp eax, 0x20
jne 0x14005310e
mov dword [rsi + 0xb4], 0
lea rcx, [rbp + 0x198]
lea rdx, [rbp + 0x178]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64_s
lea rcx, [rbp - 0x58]
mov edx, 1
call fcn.1400011fe
lea rcx, [rbp - 0x58]
mov rax, qword [rcx]
movsxd rax, dword [rax + 4]
mov byte [rbp + rax], 0x30
mov edx, 0x76c
add edx, dword [rbp + 0x1ac]
call fcn.140007878
mov rdi, rax
lea rcx, [rbp + 0x90]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x98]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x90]
mov edx, dword [rbp + 0x1a8]
inc edx
mov rcx, rdi
call fcn.140007878
mov rdi, rax
lea rcx, [rbp + 0x210]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x218]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x210]
mov edx, dword [rbp + 0x1a4]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x2d
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x298]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x298]
mov edx, dword [rbp + 0x1a0]
mov rcx, rdi
call fcn.140007878
mov rdi, rax
lea rcx, [rbp + 0x2c0]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2c8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x19c]
mov rcx, rdi
call fcn.140007878
mov rdi, rax
lea rcx, [rbp + 0x2f0]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2f8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x2f0]
mov edx, dword [rbp + 0x198]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x2e
call fcn.140008910
mov rdi, rax
call fcn.1400780bb
mov rcx, rdi
mov edx, eax
call fcn.140007878
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x210]
call fcn.1400047ea
cmp byte [rsi + 0x38], 0
je 0x1400521fd
lea rdi, [rbp + 0x210]
mov rcx, rsi
mov rdx, rdi
call fcn.140053a24
test al, al
jne 0x140052d4c
lea rcx, str.Could_not_create_log_file
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rsi, qword [rbp + 0x210]
mov rbx, qword [rbp + 0x228]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
cmp rbx, 0x10
cmovae rdi, rsi
lea rdx, str.COULD_NOT_CREATE_LOGFILE__s__n
mov rcx, rax
mov r8, rdi
call fcn.140014500
jmp 0x1400531aa
lea r12, [rsi + 0xa0]
cmp qword [rsi + 0xa0], 0
jne 0x140053063
jmp 0x140051fc9
call fcn.140077f30
mov rdi, rax
lea rbx, [rbp + 0x90]
mov qword [rbx], 0
movaps xmm8, xmmword [section..rdata]
movups xmmword [rbx + 0x10], xmm8
mov byte [rbx], 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rbx
mov rdx, rdi
mov r8, rax
call fcn.14000136e
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x188], r15
mov byte [rbp + 0x317], r14b
mov qword [rbp + 0x2e8], rsi
lea r13, [rbp + 0x298]
mov qword [r13], 0
movups xmmword [r13 + 0x10], xmm8
mov byte [r13], 0
mov rcx, r13
call fcn.14004e968
call fcn.1400781cf
mov rbx, rax
mov qword [rbp + 0x2c0], 0
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x2d0], xmm0
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400522a3
mov rbx, qword [rbx]
movabs rax, 0x7fffffffffffffff
cmp rdi, 0x10
jae 0x1400522f1
movdqu xmm0, xmmword [rbx]
movdqa xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], rdi
mov qword [rbp + 0x2d8], send
test rdi, rdi
jne 0x14005233c
lea rdx, str.invalid_user
lea rcx, [rbp + 0x2c0]
mov r8d, 0xc
call fcn.14000136e
jmp 0x14005233c
mov rsi, rdi
or rsi, 0xf
cmp rsi, rax
cmovae rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jb 0x140052313
call fcn.1400014ce
jmp 0x140052318
call fcn.1400e7770
mov qword [rbp + 0x2c0], rax
lea r8, [rdi + 1]
mov rcx, rax
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x2d0], rdi
mov qword [rbp + 0x2d8], rsi
mov rbx, qword [rbp + 0xa0]
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
je 0x1400531d3
mov rax, qword [rbp + 0x2e8]
movsxd rax, dword [rax + 0xa8]
mov qword [rbp + 0x2b8], rax
mov r15, qword [rbp + 0x90]
mov rdi, qword [rbp + 0xa8]
mov qword [rbp + 0x1f0], 0
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x200], xmm0
lea r14, [rbx + 1]
cmp r14, 0x10
jb 0x1400523c4
mov rax, r14
or rax, 0xf
js 0x1400523d2
cmp rax, 0x17
mov esi, 0x16
cmovae rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jae 0x1400523e6
call fcn.1400e7770
jmp 0x1400523eb
mov esi, send
lea r12, [rbp + 0x1f0]
jmp 0x1400523f5
movabs rsi, 0x7fffffffffffffff
movabs rcx, 0x8000000000000000
call fcn.1400014ce
mov r12, rax
mov qword [rbp + 0x1f0], rax
cmp rdi, 0x10
lea rax, [rbp + 0x90]
cmovb r15, rax
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], rsi
mov rcx, r12
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [r12 + rbx], 0x2e
mov r8, qword [rbp + 0x2a8]
cmp qword [rbp + 0x2b0], 0x10
jb 0x14005243f
mov r13, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x200]
mov rax, qword [rbp + 0x208]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
lea r14, [rbp + 0x2c0]
jae 0x14005247b
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x1f0]
mov rdx, r8
mov r9, r13
call fcn.1400022ee
mov rbx, rax
jmp 0x1400524a9
lea rsi, [rcx + r8]
lea rbx, [rbp + 0x1f0]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rax, 0x10
jb 0x14005249a
mov rdi, qword [rbp + 0x1f0]
add rcx, rdi
mov rdx, r13
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0x10]
movdqa xmmword [rbp + 0x260], xmm1
movdqa xmmword [rbp + 0x250], xmm0
movups xmmword [rbx + 0x10], xmm8
mov byte [rbx], 0
mov rax, qword [rbp + 0x260]
mov rcx, qword [rbp + 0x268]
cmp rax, rcx
jae 0x1400524f7
lea rdx, [rax + 1]
mov qword [rbp + 0x260], rdx
cmp rcx, 0x10
jb 0x14005250d
mov rcx, qword [rbp + 0x250]
jmp 0x140052514
lea rcx, [rbp + 0x250]
mov edx, 1
mov r9b, 0x2e
call fcn.140003c2a
jmp 0x14005251a
lea rcx, [rbp + 0x250]
mov word [rcx + rax], 0x2e
movdqa xmm0, xmmword [rbp + 0x250]
movdqa xmm1, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x1e0], xmm1
movdqa xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x260], xmm8
mov byte [rbp + 0x250], 0
mov r8, qword [rbp + 0x2d0]
cmp qword [rbp + 0x2d8], 0x10
jb 0x140052561
mov r14, qword [rbp + 0x2c0]
mov rcx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e8]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140052596
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x1d0]
mov rdx, r8
mov r9, r14
call fcn.1400022ee
mov rdi, rax
jmp 0x1400525c4
lea rsi, [rcx + r8]
lea rdi, [rbp + 0x1d0]
mov qword [rdi + 0x10], rsi
mov rbx, rdi
cmp rax, 0x10
jb 0x1400525b5
mov rbx, qword [rbp + 0x1d0]
add rcx, rbx
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdi + 0x10]
movdqa xmmword [rbp + 0x240], xmm1
movdqa xmmword [rbp + 0x230], xmm0
movups xmmword [rdi + 0x10], xmm8
mov byte [rdi], 0
mov rcx, qword [rbp + 0x240]
mov rdx, qword [rbp + 0x248]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jae 0x140052622
mov qword [rsp + 0x20], 5
lea r9, str..log.
lea rcx, [rbp + 0x230]
mov edx, 5
call fcn.1400022ee
jmp 0x14005264f
lea rbx, [rcx + 5]
lea rax, [rbp + 0x230]
mov qword [rax + 0x10], rbx
mov rbx, rax
cmp rdx, 0x10
jb 0x140052641
mov rbx, qword [rbp + 0x230]
mov dword [rbx + rcx], 0x676f6c2e
mov word [rbx + rcx + 4], 0x2e
lea rcx, str.INFO
mov rdx, qword [rbp + 0x2b8]
mov r14, qword [rcx + rdx*8]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqa xmmword [rbp + 0x280], xmm1
movdqa xmmword [rbp + 0x270], xmm0
movups xmmword [rax + 0x10], xmm8
mov byte [rax], 0
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
mov rdx, rdi
sub rdx, rcx
cmp rdx, rax
jae 0x1400526bf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x270]
mov rdx, rax
mov r9, r14
call fcn.1400022ee
mov rbx, rax
jmp 0x1400526f3
mov rsi, rax
add rsi, rcx
lea rbx, [rbp + 0x270]
mov qword [rbx + 0x10], rsi
mov r15, rbx
cmp rdi, 0x10
jb 0x1400526e0
mov r15, qword [rbp + 0x270]
add rcx, r15
mov rdx, r14
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rsi], 0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0x10]
movdqa xmmword [rbp + 0x300], xmm1
movdqa xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbx + 0x10], xmm8
mov byte [rbx], 0
mov rax, qword [rbp + 0x300]
mov rcx, qword [rbp + 0x308]
cmp rax, rcx
jae 0x140052741
lea rdx, [rax + 1]
mov qword [rbp + 0x300], rdx
cmp rcx, 0x10
jb 0x140052757
mov rcx, qword [rbp + 0x2f0]
jmp 0x14005275e
lea rcx, [rbp + 0x2f0]
mov edx, 1
mov r9b, 0x2e
call fcn.140003c2a
jmp 0x140052764
lea rcx, [rbp + 0x2f0]
mov word [rcx + rax], 0x2e
mov rsi, qword [rbp + 0x2f0]
movups xmm7, xmmword [rbp + 0x2f8]
mov rdi, qword [rbp + 0x308]
movaps xmmword [rbp + 0x300], xmm8
mov byte [rbp + 0x2f0], 0
mov rbx, qword [rbp + 0xa8]
mov eax, send
cmp rbx, 0x10
jb 0x1400527d9
mov rcx, qword [rbp + 0x90]
lea rdx, [rbx + 1]
cmp rdx, 0x1000
jb 0x1400527cd
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400531e2
add rbx, 0x28
mov rdx, rbx
mov rcx, rax
call fcn.1400e7768
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0x90], rsi
movups xmmword [rbp + 0x98], xmm7
mov qword [rbp + 0xa8], rdi
cmp rax, 0x10
jb 0x14005282c
mov rcx, qword [rbp + 0x2f0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052827
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531e7
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmmword [rbp + 0x300], xmm8
mov byte [rbp + 0x2f0], 0
mov rax, qword [rbp + 0x288]
cmp rax, 0x10
jb 0x140052880
mov rcx, qword [rbp + 0x270]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005287b
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531ec
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmmword [rbp + 0x280], xmm8
mov byte [rbp + 0x270], 0
mov rax, qword [rbp + 0x248]
cmp rax, 0x10
jb 0x1400528d4
mov rcx, qword [rbp + 0x230]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400528cf
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531f1
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmmword [rbp + 0x240], xmm8
mov byte [rbp + 0x230], 0
mov rax, qword [rbp + 0x1e8]
cmp rax, 0x10
jb 0x140052928
mov rcx, qword [rbp + 0x1d0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052923
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531f6
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmmword [rbp + 0x1e0], xmm8
mov byte [rbp + 0x1d0], 0
mov rax, qword [rbp + 0x268]
cmp rax, 0x10
jb 0x14005297c
mov rcx, qword [rbp + 0x250]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052977
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531fb
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmmword [rbp + 0x260], xmm8
mov byte [rbp + 0x250], 0
mov rax, qword [rbp + 0x208]
cmp rax, 0x10
jb 0x1400529d0
mov rcx, qword [rbp + 0x1f0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400529cb
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140053200
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
call fcn.14005133b
mov qword [rbp + 0x2b8], rax
mov rax, qword [rbp + 0x2b8]
mov r13, qword [rax]
mov rax, qword [rbp + 0x2e8]
add rax, 0x41
mov qword [rbp + 0x180], rax
xorps xmm7, xmm7
mov rax, qword [rbp + 0x2b8]
cmp r13, qword [rax + 8]
je 0x140053144
mov rdi, qword [r13 + 0x10]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
je 0x1400531c4
mov rbx, qword [r13]
mov rcx, qword [r13 + 0x18]
mov qword [rbp + 0x2f0], 0
lea rax, [rbp + 0x300]
movups xmmword [rax], xmm7
lea r15, [rdi + 1]
mov r12d, send
lea r14, [rbp + 0x2f0]
cmp r15, 0x10
jb 0x140052abb
mov qword [rbp + 0x1c8], rcx
mov rsi, r15
or rsi, 0xf
movabs rcx, 0x8000000000000000
movabs r12, 0x7fffffffffffffff
js 0x140052a98
cmp rsi, 0x17
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jb 0x140052aa2
mov r12, rsi
call fcn.1400014ce
mov r14, rax
jmp 0x140052aad
call fcn.1400e7770
mov r14, rax
mov r12, rsi
mov rcx, qword [rbp + 0x1c8]
mov qword [rbp + 0x2f0], r14
cmp rcx, 0x10
cmovb rbx, r13
mov qword [rbp + 0x300], r15
mov qword [rbp + 0x308], r12
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + rdi], 0x2f
cmp qword [rbp + 0xa8], 0x10
lea r9, [rbp + 0x90]
jb 0x140052afe
mov r9, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0x300]
mov rax, qword [rbp + 0x308]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140052b34
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x2f0]
mov rdx, r8
call fcn.1400022ee
jmp 0x140052b69
lea rsi, [rcx + r8]
mov qword [rbp + 0x300], rsi
lea rdi, [rbp + 0x2f0]
cmp rax, 0x10
jb 0x140052b53
mov rdi, qword [rbp + 0x2f0]
add rcx, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
lea rax, [rbp + 0x2f0]
mov bl, byte [rax]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x277], rcx
mov rcx, qword [rax + 1]
mov qword [rbp + 0x270], rcx
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rax + 0x10], xmm8
mov byte [rax], 0
mov rdx, qword [rbp + 0x2e8]
mov rax, qword [rdx + 0x58]
cmp rax, 0x10
jb 0x140052bda
mov rcx, qword [rdx + 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052bce
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x1400531c9
add rax, 0x28
mov rdx, rax
mov rcx, rdi
call fcn.1400e7768
mov rdx, qword [rbp + 0x2e8]
mov byte [rdx + 0x40], bl
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0x277]
mov rbx, qword [rbp + 0x180]
mov qword [rbx + 7], rcx
mov qword [rbx], rax
movups xmmword [rdx + 0x50], xmm6
mov rax, qword [rbp + 0x308]
cmp rax, 0x10
jb 0x140052c42
mov rcx, qword [rbp + 0x2f0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052c3d
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531ce
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
mov rcx, qword [rbp + 0x2e8]
lea rdx, [rbp + 0x210]
call fcn.140053a24
add r13, 0x20
test al, al
je 0x1400529fb
mov rax, qword [rbp + 0x2d8]
cmp rax, 0x10
mov rsi, qword [rbp + 0x2e8]
mov r14b, byte [rbp + 0x317]
mov r15, qword [rbp + 0x188]
mov r12, qword [rbp + 0x190]
jb 0x140052cc2
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052cbd
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140053205
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
mov rax, qword [rbp + 0x2b0]
cmp rax, 0x10
jb 0x140052d07
mov rcx, qword [rbp + 0x298]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052d02
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14005320a
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
mov rax, qword [rbp + 0xa8]
cmp rax, 0x10
jb 0x140052d4c
mov rcx, qword [rbp + 0x90]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140052d47
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14005320f
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp + 0x90]
mov edx, 1
call fcn.1400011fe
lea rcx, [rbp + 0x90]
mov rax, qword [rcx]
movsxd rax, dword [rax + 4]
mov byte [rbp + rax + 0xe8], 0x30
lea rdx, str.Log_file_created_at:
call fcn.14000345f
mov edx, 0x76c
add edx, dword [rbp + 0x1ac]
mov rcx, rax
call fcn.140007878
mov rcx, rax
mov dl, 0x2f
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x298]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x298]
mov edx, dword [rbp + 0x1a8]
inc edx
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x2f
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x2c0]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2c8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x2c0]
mov edx, dword [rbp + 0x1a4]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x20
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x2f0]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x2f8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x2f0]
mov edx, dword [rbp + 0x1a0]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x3a
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x270]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x278]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x270]
mov edx, dword [rbp + 0x19c]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0x3a
call fcn.140008910
mov rdi, rax
lea rcx, [rbp + 0x230]
mov edx, 2
call fcn.1400f13c4
mov rdx, qword [rbp + 0x238]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [rbp + 0x230]
mov edx, dword [rbp + 0x198]
mov rcx, rdi
call fcn.140007878
mov rcx, rax
mov dl, 0xa
call fcn.140008910
lea rdx, str.Running_on_machine:
mov rcx, rax
call fcn.14000345f
mov rdi, rax
call fcn.14004e918
mov r8, qword [0x14019fa90]
cmp qword [0x14019fa98], 0x10
jb 0x140052f1e
mov rdx, qword [0x14019fa80]
jmp 0x140052f25
lea rdx, [0x14019fa80]
mov rcx, rdi
call fcn.140004e8c
mov rcx, rax
mov dl, 0xa
call fcn.140008910
lea rdx, str.Log_line_format:__IWEF_mmdd_hh:mm:ss.uuuuuu
mov rcx, rax
call fcn.14000345f
lea rdx, str.threadid_file:line__msg
mov rcx, rax
call fcn.14000345f
mov rcx, rax
mov dl, 0xa
call fcn.140008910
lea rcx, [rbp + 0x98]
lea rdi, [rbp + 0x298]
mov rdx, rdi
call fcn.1400047ea
mov rax, qword [rbp + 0x2a8]
mov r9, qword [rsi + 0xa0]
movsxd rbx, eax
cmp qword [rbp + 0x2b0], 0x10
jb 0x140052f97
mov rdi, qword [rbp + 0x298]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
movq xmm0, qword [rsi + 0xac]
movd xmm1, ebx
pshufd xmm1, xmm1, 0x50
paddd xmm1, xmm0
movq qword [rsi + 0xac], xmm1
mov rax, qword [rbp + 0x2b0]
cmp rax, 0x10
jb 0x140053009
mov rcx, qword [rbp + 0x298]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140053004
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531d8
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp + 0x90]
call fcn.140001312
mov rax, qword [rbp + 0x228]
cmp rax, 0x10
jb 0x14005305a
mov rcx, qword [rbp + 0x210]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140053055
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400531dd
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp - 0x58]
call fcn.140001312
cmp byte [0x1401aeaa8], 0
je 0x14005308a
call fcn.140077f5c
cmp rax, qword [rsi + 0xb8]
jl 0x14005310e
mov byte [0x1401aeaa8], 0
jmp 0x14005310e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, dword [rbp + 0x3c0]
mov dword [rax], 0
mov r9, qword [r12]
movsxd r8, edi
mov edx, 1
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp byte [0x14019f99e], 0
je 0x1400530cb
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [rax], 0x1c
jne 0x1400530cb
mov byte [0x1401aeaa8], 1
jmp 0x14005310e
movq xmm1, qword [rsi + 0xac]
movd xmm0, edi
pshufd xmm0, xmm0, 0x50
paddd xmm0, xmm1
movq qword [rsi + 0xac], xmm0
test r14b, r14b
jne 0x140053106
movd eax, xmm0
cmp eax, 0xf423f
ja 0x140053106
call fcn.140077f5c
cmp rax, qword [rsi + 0xb8]
jl 0x14005310e
mov rcx, rsi
call fcn.1400541e6
lea rcx, [rbp + 0x1c0]
call fcn.14004f94c
movaps xmm6, xmmword [rbp + 0x320]
movaps xmm7, xmmword [rbp + 0x330]
movaps xmm8, xmmword [rbp + 0x340]
add rsp, 0x3d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.Could_not_create_logging_file
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rsi, qword [rbp + 0x210]
mov rdi, qword [rbp + 0x228]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
cmp rdi, 0x10
lea r8, [rbp + 0x210]
cmovae r8, rsi
lea rdx, str.COULD_NOT_CREATE_A_LOGGINGFILE__s_
mov rcx, rax
call fcn.140014500
lea rcx, [rbp + 0x2c0]
call fcn.14000104c
lea rcx, [rbp + 0x298]
call fcn.14000104c
lea rcx, [rbp + 0x90]
call fcn.14000104c
lea rcx, [rbp + 0x210]
call fcn.14000104c
lea rcx, [rbp - 0x58]
call fcn.140001312
jmp 0x14005310e
call fcn.1400014b7
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call fcn.1400014b7
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3