Function at 0x140002b10
Capabilities:
Load assembly via iassembly

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x310
mov rax, qword [0x140058178]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x24], 0
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14000e7c0
nop
call fcn.1400026f0
mov ecx, 0x118
call fcn.14003dad4
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140002b7c
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.14000e2e0
mov qword [rsp + 0x68], rax
jmp 0x140002b85
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xb0]
call qword [0x140043080]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea r8, [0x14004462c]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.14000f3c0
nop
lea rcx, [rsp + 0xb0]
call qword [0x140043c20]
xor r8d, r8d
lea rdx, [0x140044354]
lea rcx, [rsp + 0x2a0]
call qword [0x1400432b0]
mov qword [rsp + 0x70], rax
lea rax, [0x140058838]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x78], rax
je 0x140002c58
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r8d, byte [rsp + 0x21]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140010300
lea rcx, [rsp + 0x2a0]
call fcn.1400109e0
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x40]
call qword [0x140043b78]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x170]
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.14000ba70
lea rdx, [0x1400443ec]
mov rcx, rax
call fcn.14000bb40
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x80], rax
lea rax, [0x140058838]
mov rcx, rax
call fcn.1400103e0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call fcn.14000bb40
nop
lea rcx, [rsp + 0x2c0]
call fcn.1400109e0
lea rax, [rsp + 0x178]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0xd8]
call fcn.140013760
mov eax, dword [rsp + 0x24]
or eax, 8
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x260]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.1400103e0
mov qword [rsp + 0xe8], rax
mov r9d, 0x40
mov r8d, 0x13
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x38]
call fcn.140011f20
nop
lea rcx, [rsp + 0x260]
call fcn.1400109e0
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x98], 0
je 0x140002da3
mov byte [rsp + 0x20], 1
jmp 0x140002da8
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140002ed8
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x40]
call qword [0x140043b78]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0x10
jb 0x140002e10
mov dword [rsp + 0x28], 1
jmp 0x140002e18
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140002e4a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.140002810
nop
lea rcx, [rsp + 0x2e0]
call fcn.1400109e0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call qword [0x140043c20]
nop
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.14000ee50
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [0x1400437a0]
mov eax, dword [rsp + 0x48]
jmp 0x1400030b7
lea rax, [rsp + 0x178]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x118]
call fcn.140013760
mov eax, dword [rsp + 0x24]
or eax, 0x10
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0x10
jb 0x140002f48
mov dword [rsp + 0x2c], 1
jmp 0x140002f50
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140002f82
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov r8, qword [rsp + 0x138]
lea rdx, str.Failed_to_open_log_file__s
lea rcx, [0x1400447f0]
call qword [0x140043e18]
lea rcx, [rsp + 0x280]
call fcn.1400109e0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000303a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov edx, 1
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
jmp 0x140003046
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 0xffffffff
lea rcx, [rsp + 0x40]
call qword [0x140043c20]
nop
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.14000ee50
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [0x1400437a0]
mov eax, dword [rsp + 0x4c]
jmp 0x1400030b7
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14003e070
add rsp, 0x310
pop rdi
ret