Function at 0x18002e5f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1800ef3c8]
xor rax, rsp
mov qword [rbp + 0x3b8], rax
mov r14, r9
mov qword [rbp - 0x20], r9
movzx esi, dl
mov byte [rsp + 0x30], dl
mov r15, rcx
mov qword [rbp + 0x3b0], r8
xor r12d, r12d
mov dword [rsp + 0x34], r12d
lea rdi, [rcx + 8]
mov qword [rsp + 0x58], rdi
movzx eax, byte [rdi + 0x28]
test al, al
je 0x18002e65d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [r15 + 0x38], 0
je 0x18002e66f
cmp qword [r15 + 0x50], 0
je 0x18002f96c
mov ecx, 1
mov eax, dword [0x1800f3ff8]
test eax, eax
cmovg ecx, eax
mov eax, dword [r15 + 0xb4]
shr eax, 0x14
cmp eax, ecx
jge 0x18002e6a6
call fcn.180030500
test al, al
jne 0x18002e6a6
cmp qword [r15 + 0xa0], 0
jne 0x18002f69c
jmp 0x18002e6d7
mov rcx, qword [r15 + 0xa0]
test rcx, rcx
je 0x18002e6b7
call fcn.1800933b8
mov qword [r15 + 0xa0], r12
mov qword [r15 + 0xac], r12
mov dword [r15 + 0xb4], r12d
mov dword [r15 + 0xb8], 0x1f
inc dword [r15 + 0xb8]
cmp dword [r15 + 0xb8], 0x20
jne 0x18002f96c
mov dword [r15 + 0xb8], r12d
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x3b0]
call fcn.18002fd00
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x220]
call fcn.180085fa0
mov edx, 1
lea rcx, [rbp + 0x220]
call fcn.18002aca0
nop
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x278], 0x30
mov edx, 2
lea rcx, [rbp - 0x30]
call fcn.180042f68
mov rbx, rax
mov edx, dword [rbp + 0x11c]
add edx, 0x76c
lea rcx, [rbp + 0x220]
call fcn.1800215e0
mov rsi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
mov edx, 2
lea rcx, [rbp - 0x40]
call fcn.180042f68
mov rbx, rax
mov edx, dword [rbp + 0x118]
inc edx
mov rcx, rsi
call fcn.1800215e0
mov rsi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
mov edx, 2
lea rcx, [rbp + 0x88]
call fcn.180042f68
mov rbx, rax
mov edx, dword [rbp + 0x114]
mov rcx, rsi
call fcn.1800215e0
mov rcx, rax
mov dl, 0x2d
call fcn.180006740
mov rsi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
mov edx, 2
lea rcx, [rbp + 0x98]
call fcn.180042f68
mov rbx, rax
mov edx, dword [rbp + 0x110]
mov rcx, rsi
call fcn.1800215e0
mov rsi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
mov edx, 2
lea rcx, [rbp + 0xa8]
call fcn.180042f68
mov rbx, rax
mov edx, dword [rbp + 0x10c]
mov rcx, rsi
call fcn.1800215e0
mov rsi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
call fcn.1800303c0
mov ebx, eax
mov edx, dword [rbp + 0x108]
mov rcx, rsi
call fcn.1800215e0
mov rcx, rax
mov dl, 0x2e
call fcn.180006740
mov rcx, rax
mov edx, ebx
call fcn.1800215e0
nop
mov qword [rbp + 0x320], r12
mov qword [rbp + 0x328], 0xf
mov byte [rbp + 0x310], 0
mov dword [rsp + 0x34], 2
mov rcx, qword [rbp + 0x298]
test cl, 2
jne 0x18002e8dc
mov rax, qword [rbp + 0x268]
mov r8, qword [rax]
test r8, r8
je 0x18002e8dc
mov rax, qword [rbp + 0x248]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x290]
cmovb r8, qword [rbp + 0x290]
sub r8, rdx
jmp 0x18002e90a
test cl, 4
jne 0x18002e917
mov rax, qword [rbp + 0x260]
mov rcx, qword [rax]
test rcx, rcx
je 0x18002e917
mov rax, qword [rbp + 0x240]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x278]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rbp + 0x310]
call fcn.180016ee0
nop
mov r14d, 1
cmp byte [r15 + 0x38], 0
je 0x18002e97e
lea rdx, [rbp + 0x310]
mov rcx, r15
call fcn.18002b980
test al, al
jne 0x18002f170
lea rcx, str.Could_not_create_log_file
call fcn.180095538
lea rbx, [rbp + 0x310]
cmp qword [rbp + 0x328], 0x10
cmovae rbx, qword [rbp + 0x310]
lea ecx, [r14 + 1]
call fcn.180093264
mov rcx, rax
mov r8, rbx
lea rdx, str.COULD_NOT_CREATE_LOGFILE__s__n
call fcn.18002fc50
jmp 0x18002f88a
call fcn.180030530
mov qword [rbp + 0x340], r12
mov qword [rbp + 0x348], 0xf
mov byte [rbp + 0x330], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18002e9a3
mov rdx, rax
lea rcx, [rbp + 0x330]
call fcn.180016ee0
nop
mov qword [rbp + 0x380], r12
mov qword [rbp + 0x388], 0xf
mov byte [rbp + 0x370], 0
lea rcx, [rbp + 0x370]
call fcn.18002c020
call fcn.1800304f0
mov rdx, rax
lea rcx, [rbp + 0x390]
call fcn.18000e720
nop
cmp qword [rbp + 0x3a0], 0
jne 0x18002ea1a
mov r8d, 0xc
lea rdx, str.invalid_user
lea rcx, [rbp + 0x390]
call fcn.180016ee0
movabs rax, 0x7fffffffffffffff
mov r14, qword [rbp + 0x340]
cmp r14, rax
je 0x18002f9af
lea r13, [rbp + 0x330]
cmp qword [rbp + 0x348], 0x10
cmovae r13, qword [rbp + 0x330]
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea r12, [r14 + 1]
mov ebx, 0xf
lea rsi, [rbp - 0x80]
lea ecx, [rbx + 7]
cmp r12, rbx
jbe 0x18002eadc
mov rbx, r12
or rbx, 0xf
cmp rbx, rax
jbe 0x18002ea79
mov rbx, rax
jmp 0x18002ea80
cmp rbx, rcx
cmovb rbx, rcx
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x18002eac7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002f9b5
mov rcx, rax
call fcn.1800670bc
test rax, rax
je 0x18002f9df
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18002ead8
test rcx, rcx
je 0x18002ead6
call fcn.1800670bc
mov rsi, rax
jmp 0x18002ead8
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], rbx
mov r8, r14
mov rdx, r13
mov rcx, rsi
call fcn.1800857b0
mov byte [r14 + rsi], 0x2e
mov byte [rsi + r12], 0
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 0x10
cmovae rdx, qword [rbp + 0x370]
mov r8, qword [rbp + 0x380]
lea rcx, [rbp - 0x80]
call fcn.180016e50
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov r8b, 0x2e
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.18002a670
nop
lea rdx, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 0x10
cmovae rdx, qword [rbp + 0x390]
mov r8, qword [rbp + 0x3a0]
mov rcx, rax
call fcn.180016e50
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x18002ebf5
lea rax, [rcx + 5]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
lea r8d, [r12 + 5]
lea rdx, str..log.
mov rcx, rbx
call fcn.1800857b0
mov byte [rbx + 5], r12b
lea rax, [rsp + 0x38]
jmp 0x18002ec16
mov qword [rsp + 0x20], 5
lea r9, str..log.
xor r8d, r8d
lea edx, [r8 + 5]
lea rcx, [rsp + 0x38]
call fcn.180008cc0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
movsxd rax, dword [r15 + 0xa8]
lea rdx, [0x180000000]
mov rdx, qword [rdx + rax*8 + 0xba798]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18002ec60
lea rcx, [rsp + 0x60]
call fcn.180016e50
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x34], 0x7d
mov r8b, 0x2e
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.18002a670
mov rdx, rax
lea rcx, [rbp + 0x330]
call fcn.1800214c0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x18002ecf4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ecef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9bb
call fcn.1800670f8
mov qword [rbp - 8], r12
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x18002ed40
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ed3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9c1
call fcn.1800670f8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18002ed7d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ed78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9c7
call fcn.1800670f8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x18002edcd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002edc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9cd
call fcn.1800670f8
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x18002ee1b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9d3
call fcn.1800670f8
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x18002ee67
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9d9
call fcn.1800670f8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18002eea2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9df
call fcn.1800670f8
call fcn.18002c0c0
mov qword [rbp - 0x30], rax
mov rbx, qword [rax]
cmp rbx, qword [rax + 8]
je 0x18002f784
mov r13, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
mov rcx, rax
sub rcx, r13
cmp rcx, 1
jb 0x18002f9fd
mov qword [rbp - 0x40], rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18002eef2
mov rax, qword [rbx]
mov qword [rbp - 0x40], rax
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
lea r12, [r13 + 1]
mov esi, 0xf
lea r14, [rbp - 0x60]
cmp r12, rsi
jbe 0x18002ef87
mov rsi, r12
or rsi, 0xf
cmp rsi, rax
jbe 0x18002ef1d
mov rsi, rax
jmp 0x18002ef2a
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
mov rcx, rsi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x18002ef71
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002f9e5
mov rcx, rax
call fcn.1800670bc
test rax, rax
je 0x18002f9f1
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x18002ef83
test rcx, rcx
je 0x18002ef80
call fcn.1800670bc
mov r14, rax
jmp 0x18002ef83
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rsi
mov r8, r13
mov rdx, qword [rbp - 0x40]
mov rcx, r14
call fcn.1800857b0
mov byte [r14 + r13], 0x2f
mov byte [r14 + r12], 0
mov r14d, dword [rsp + 0x34]
bts r14d, 7
lea rdx, [rbp + 0x330]
cmp qword [rbp + 0x348], 0x10
cmovae rdx, qword [rbp + 0x330]
mov r8, qword [rbp + 0x340]
lea rcx, [rbp - 0x60]
call fcn.180016e50
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
bts r14d, 8
mov dword [rsp + 0x34], r14d
lea rcx, [r15 + 0x40]
lea rdx, [rbp + 0x68]
call fcn.1800214c0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x18002f050
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f04a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9eb
call fcn.1800670f8
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18002f08b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f086
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9f1
call fcn.1800670f8
lea rdx, [rbp + 0x310]
mov rcx, r15
call fcn.18002b980
test al, al
jne 0x18002f0ab
add rbx, 0x20
mov rax, qword [rbp - 0x30]
jmp 0x18002eeae
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 0x10
jb 0x18002f0ed
inc rdx
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f0e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa03
call fcn.1800670f8
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x18002f12f
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa09
call fcn.1800670f8
nop
mov rdx, qword [rbp + 0x348]
cmp rdx, 0x10
jb 0x18002f170
inc rdx
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f16b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa0f
call fcn.1800670f8
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x130]
call fcn.180085fa0
lea rax, [0x180000000]
lea rax, [rax + 0xb9f90]
mov qword [rbp + 0x130], rax
bts r14d, 9
mov dword [rsp + 0x34], r14d
lea r13, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1b8], r13
mov dword [rbp + 0x1b4], 0x78
xor r8d, r8d
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1b8]
call fcn.1800187b0
nop
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x130], r12
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x138]
call fcn.18000e680
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x1a0], 0
mov dword [rbp + 0x1a8], 4
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x188], 0x30
mov edx, 2
lea rcx, [rbp + 0xb8]
call fcn.180042f68
mov rsi, rax
mov ebx, dword [rbp + 0x11c]
lea rdx, str.Log_file_created_at:
lea rcx, [rbp + 0x130]
call fcn.1800069c0
mov rcx, rax
lea edx, [rbx + 0x76c]
call fcn.1800215e0
mov rcx, rax
mov dl, 0x2f
call fcn.180006740
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 2
lea rcx, [rbp + 0xc8]
call fcn.180042f68
mov rsi, rax
mov edx, dword [rbp + 0x118]
inc edx
mov rcx, rbx
call fcn.1800215e0
mov rcx, rax
mov dl, 0x2f
call fcn.180006740
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 2
lea rcx, [rbp + 0xd8]
call fcn.180042f68
mov rsi, rax
mov edx, dword [rbp + 0x114]
mov rcx, rbx
call fcn.1800215e0
mov rcx, rax
mov dl, 0x20
call fcn.180006740
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 2
lea rcx, [rbp + 0xe8]
call fcn.180042f68
mov rsi, rax
mov edx, dword [rbp + 0x110]
mov rcx, rbx
call fcn.1800215e0
mov rcx, rax
mov dl, 0x3a
call fcn.180006740
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 2
lea rcx, [rbp + 0xf8]
call fcn.180042f68
mov rsi, rax
mov edx, dword [rbp + 0x10c]
mov rcx, rbx
call fcn.1800215e0
mov rcx, rax
mov dl, 0x3a
call fcn.180006740
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
call fcn.18002fa90
mov rsi, rax
mov edx, dword [rbp + 0x108]
mov rcx, rbx
call fcn.1800215e0
mov rcx, rax
mov dl, 0xa
call fcn.180006740
mov rcx, rax
lea rdx, str.Running_on_machine:
call fcn.1800069c0
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18002f3d8
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.18002aa30
mov dl, 0xa
mov rcx, rax
call fcn.180006740
mov rcx, rax
lea rdx, str.Log_line_format:__IWEF_mmdd_hh:mm:ss.uuuuuu
call fcn.1800069c0
mov rcx, rax
lea rdx, str.threadid_file:line__msg
call fcn.1800069c0
mov rcx, rax
mov dl, 0xa
call fcn.180006740
nop
xor esi, esi
mov qword [rbp + 0x360], rsi
mov qword [rbp + 0x368], 0xf
mov byte [rbp + 0x350], sil
bts r14d, 0xc
mov dword [rsp + 0x34], r14d
mov ecx, dword [rbp + 0x1a8]
test cl, 2
jne 0x18002f474
mov rax, qword [rbp + 0x178]
mov r8, qword [rax]
test r8, r8
je 0x18002f474
mov rax, qword [rbp + 0x158]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1a0]
cmovb r8, qword [rbp + 0x1a0]
sub r8, rdx
jmp 0x18002f4a2
test cl, 4
jne 0x18002f4af
mov rax, qword [rbp + 0x170]
mov rcx, qword [rax]
test rcx, rcx
je 0x18002f4af
mov rax, qword [rbp + 0x150]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x188]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rbp + 0x350]
call fcn.180016ee0
nop
movsxd rbx, dword [rbp + 0x360]
lea rcx, [rbp + 0x350]
cmp qword [rbp + 0x368], 0x10
cmovae rcx, qword [rbp + 0x350]
mov r8, rbx
mov r9, qword [r15 + 0xa0]
mov edx, 1
call fcn.18009423c
add dword [r15 + 0xb4], ebx
add dword [r15 + 0xac], ebx
mov rdx, qword [rbp + 0x368]
cmp rdx, 0x10
jb 0x18002f530
inc rdx
mov rcx, qword [rbp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f52b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9f7
call fcn.1800670f8
mov qword [rbp + 0x360], rsi
mov qword [rbp + 0x368], 0xf
mov byte [rbp + 0x350], 0
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], r12
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x138]
call fcn.180021050
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], r13
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x12c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x1b8], rbx
lea rcx, [rbp + 0x1b8]
call fcn.180042d60
nop
mov rdx, qword [rbp + 0x328]
cmp rdx, 0x10
jb 0x18002f604
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f5ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9a9
call fcn.1800670f8
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], 0xf
mov byte [rbp + 0x310], 0
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x220], r12
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x228]
call fcn.180021050
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x220], r13
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x21c], edx
mov qword [rbp + 0x2a8], rbx
lea rcx, [rbp + 0x2a8]
call fcn.180042d60
nop
movzx esi, byte [rsp + 0x30]
mov r14, qword [rbp - 0x20]
xor r12d, r12d
cmp byte [0x180102eb9], 0
jne 0x18002f766
call fcn.1800947f4
mov dword [rax], r12d
movsxd rbx, dword [rbp + 0x420]
mov r8, rbx
mov r9, qword [r15 + 0xa0]
mov edx, 1
mov rcx, r14
call fcn.18009423c
cmp byte [0x1800fb6ce], 0
je 0x18002f6ee
call fcn.1800947f4
cmp dword [rax], 0x1c
jne 0x18002f6ee
mov byte [0x180102eb9], 1
jmp 0x18002f96c
add dword [r15 + 0xb4], ebx
mov ecx, dword [r15 + 0xac]
add ecx, ebx
mov dword [r15 + 0xac], ecx
test sil, sil
jne 0x18002f724
cmp ecx, 0xf4240
jae 0x18002f724
call fcn.180030120
cmp rax, qword [r15 + 0xc0]
jl 0x18002f96c
mov rcx, qword [r15 + 0xa0]
test rcx, rcx
je 0x18002f73c
call fcn.180093708
mov dword [r15 + 0xac], r12d
movsxd rax, dword [0x1800fb6c8]
imul rcx, rax, 0xf4240
call fcn.1800148c0
mov rbx, rax
call fcn.180030120
add rbx, rax
mov qword [r15 + 0xc0], rbx
jmp 0x18002f96c
call fcn.180030120
cmp rax, qword [r15 + 0xc0]
jl 0x18002f96c
mov byte [0x180102eb9], 0
jmp 0x18002f96c
lea rcx, str.Could_not_create_logging_file
call fcn.180095538
lea rbx, [rbp + 0x310]
cmp qword [rbp + 0x328], 0x10
cmovae rbx, qword [rbp + 0x310]
mov ecx, 2
call fcn.180093264
mov rcx, rax
mov r8, rbx
lea rdx, str.COULD_NOT_CREATE_A_LOGGINGFILE__s_
call fcn.18002fc50
nop
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 0x10
jb 0x18002f806
inc rdx
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa03
call fcn.1800670f8
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x18002f848
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f842
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa09
call fcn.1800670f8
nop
mov rdx, qword [rbp + 0x348]
cmp rdx, 0x10
jb 0x18002f88a
inc rdx
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002fa0f
call fcn.1800670f8
nop
mov rdx, qword [rbp + 0x328]
cmp rdx, 0x10
jb 0x18002f8cb
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f8c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f9a9
call fcn.1800670f8
mov qword [rbp + 0x320], r12
mov qword [rbp + 0x328], 0xf
mov byte [rbp + 0x310], 0
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x220], r12
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x228]
call fcn.180021050
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x220], r13
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x21c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x2a8], rbx
lea rcx, [rbp + 0x2a8]
call fcn.180042d60
nop
movzx eax, byte [rdi + 0x28]
test al, al
je 0x18002f97f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x3b8]
xor rcx, rsp
call fcn.180067630
mov rbx, qword [rsp + 0x508]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18008a97c
nop
call fcn.180016c40
int3
call fcn.180001dc0
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
int3
call fcn.180001dc0
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.180016c40
nop
call fcn.18008a97c
nop
call fcn.18008a97c
nop
call fcn.18008a97c
int3