Function at 0x140001110
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2010]
mov eax, 0x2110
call fcn.14000c8e0
sub rsp, rax
mov rax, qword [0x1400130a0]
xor rax, rsp
mov qword [rbp + 0x2000], rax
mov rdi, rdx
mov rbx, rcx
or r14d, 0xffffffff
call fcn.140002ed0
cmp dword [rbx + 0xc], 0
mov rsi, rax
je 0x140001174
mov rdx, rax
lea rcx, [rbp + 0x1f50]
call fcn.140002d30
mov r9d, dword [rbp + 0x1f78]
jmp 0x140001178
mov r9d, dword [rbx + 8]
movabs rax, 0x431bde82d7b634db
mov dword [rdi + 0x2018], 0
mov ecx, dword [rbx + 4]
imul rsi
mov r8, rdx
sar r8, 0x12
mov rax, r8
shr rax, 0x3f
add r8, rax
add r8d, r9d
test ecx, ecx
je 0x1400011c7
mov eax, r8d
cdq
idiv ecx
mov edx, dword [rdi + 0x201c]
imul eax, ecx
add ecx, eax
cmp eax, edx
mov dword [rdi + 0x201c], ecx
cmovge r8d, eax
cmp dword [rbx + 0x10], 0
je 0x14000122b
movsxd rax, r8d
imul rdx, rax, 0xf4240
cmp dword [rbx + 0xc], 0
je 0x1400011f8
movsxd rax, r9d
imul rcx, rax, 0xf4240
sub rdx, rcx
lea rcx, [rbp + 0x1f50]
call fcn.140002d30
jmp 0x140001204
lea rcx, [rbp + 0x1f50]
call fcn.140002c90
mov r9, qword [rbx + 0x20]
lea rax, [rbp + 0x1f50]
mov r8d, 0x2000
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140002f20
jmp 0x140001299
cmp dword [rbx + 0x28], 0
jne 0x14000125e
mov eax, dword [rbx + 0x40]
test eax, eax
jle 0x14000127a
mov ecx, dword [rdi + 0x2024]
cmp ecx, 0xffffffff
je 0x14000125b
dec eax
cmp ecx, eax
je 0x14000125b
lea r14d, [rcx + 1]
mov dword [rsp + 0x20], r14d
lea r8, str._s._d
jmp 0x140001286
xor r14d, r14d
mov r9, qword [rbx + 0x20]
lea r8, [0x14000ef1c]
mov edx, 0x2000
lea rcx, [rsp + 0x50]
call fcn.140004890
jmp 0x140001299
mov dword [rsp + 0x20], r8d
lea r8, str._s._010ld
mov r9, qword [rbx + 0x20]
lea rcx, [rsp + 0x50]
mov edx, 0x2000
call fcn.140004890
mov rdx, qword [rdi + 0x2010]
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
call fcn.1400037c0
cmp dword [rbx + 0x44], 0
je 0x14000137f
mov edx, 0x2f
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x14000137f
lea rcx, [rsp + 0x50]
cmp rax, rcx
jbe 0x14000137f
lea rcx, [rsp + 0x50]
sub rax, rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov r8, rax
call fcn.140004180
cmp dword [rbx + 0x18], 0
mov rsi, rax
je 0x140001321
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str.Creating_directory_tree__s_n
mov rcx, rax
call fcn.140001720
mov r8, qword [rsp + 0x40]
mov edx, 0xfff
mov rcx, rsi
call fcn.140008b50
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14000137f
mov r8d, 0x78
lea rdx, [rbp + 0x1f80]
mov ecx, eax
call fcn.140002760
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, [rbp + 0x1f80]
mov r8, rsi
mov rcx, rax
lea rdx, str.Could_not_create_directory__s___s__n
call fcn.140001720
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [rbx + 0x18], 0
je 0x1400013a4
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [rsp + 0x50]
lea rdx, str.Opening_file__s_n
call fcn.140001720
cmp dword [rbx + 0x28], 0
jne 0x1400013bf
cmp dword [rbx + 0x40], 0
jle 0x1400013b7
cmp qword [rdi + 8], 0
jne 0x1400013bf
mov r8d, reloc.WSOCK32.dll_ntohl
jmp 0x1400013c5
mov r8d, 0x1e
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 0xfff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400073f0
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400014bb
mov r9, rdi
lea rdx, [rsp + 0x40]
mov r8, rbx
call fcn.140001fd0
cmp qword [rdi + 8], 0
mov dword [rdi + 0x2024], r14d
je 0x140001448
cmp dword [rbx + 0x18], 0
je 0x140001437
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [rdi + 0x10]
lea rdx, str.Closing_file__s_n
call fcn.140001720
mov rcx, qword [rdi + 8]
call fcn.140007310
mov rcx, qword [rdi]
call fcn.1400038f0
mov rax, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x40
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001460
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
jmp 0x140001534
lea r8, [rsp + 0x30]
lea rdx, [0x14000ef94]
call fcn.140003b80
cmp qword [rdi + 8], 0
mov rbx, rax
jne 0x140001504
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [rsp + 0x50]
mov rcx, rax
lea rdx, str.Could_not_open_log_file__s___s__n
call fcn.140001720
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, dword [rdi + 0x2020]
lea rdx, str.Resetting_log_file_due_to_error_opening_new_log_file___10d_messages_lost:___25.25s_n
mov rcx, qword [rsp + 0x40]
mov r9, rbx
call fcn.140003b80
mov rdx, rax
mov rcx, rdi
call fcn.140002250
mov rcx, qword [rsp + 0x40]
call fcn.1400038f0
mov dword [rdi + 0x2020], 0
mov rcx, qword [rbp + 0x2000]
xor rcx, rsp
call fcn.14000c950
lea r11, [rsp + 0x2110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret