Function at 0x180006030
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x878]
sub rsp, 0x970
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov rsi, rcx
mov rcx, qword [0x1800ff120]
test rcx, rcx
je 0x180006088
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1800ff120]
mov eax, dword [0x1800ff108]
test eax, eax
jne 0x1800064f7
xor r14d, r14d
mov word [rbp + 0x60], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x62]
call fcn.18008c480
lea rdx, [rbp + 0x60]
call fcn.1800067e0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
cmp word [rbp + 0x60], r14w
jne 0x1800060e2
mov r8d, r14d
jmp 0x1800060fa
lea rax, [rbp + 0x60]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x1800060f0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.180003940
nop
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov r8d, 0xd
lea rdx, str.2345DomainMon
lea rcx, [rsp + 0x78]
call fcn.180003940
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.180009980
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180006190
cmp qword [rsp + 0x70], 8
jb 0x18000616e
mov rcx, qword [rsp + 0x58]
call fcn.18008861c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180003210
nop
cmp qword [rsp + 0x48], 8
jb 0x1800061a2
mov rcx, qword [rsp + 0x30]
call fcn.18008861c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp qword [rbp - 0x70], 8
jb 0x1800061c7
mov rcx, qword [rsp + 0x78]
call fcn.18008861c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180006329
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180006329
mov ecx, 0x2000
call fcn.180087e84
mov rbx, rax
test rax, rax
je 0x180006329
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.DM_RCReportMange::RCReportMange_CreateDirectory_Fail___x
mov edx, 0x1000
mov rcx, rbx
call fcn.180087ee4
lea rcx, vtable.RC::RCDebugger.0
call fcn.180013670
mov edi, eax
test eax, eax
je 0x180006321
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp word [rbx], 0
jne 0x180006287
mov r8, r14
jmp 0x18000629b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x180006290
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180003940
mov rax, qword [0x1800fcc10]
test rax, rax
je 0x1800062e2
mov dword [rsp + 0x20], 0x35
lea r9, str.RC::RCReportMange::RCReportMange
lea r8, str.srcRCReportMange.cpp
lea rdx, [rsp + 0x78]
lea rcx, vtable.RC::RCDebugger.0
call fcn.1800136c0
mov rax, qword [0x1800fcc10]
cmp edi, 1
jbe 0x1800062fe
test rax, rax
je 0x1800062fe
lea rdx, [rsp + 0x78]
lea rcx, vtable.RC::RCDebugger.0
call fcn.180013b60
nop
cmp qword [rbp - 0x70], 8
jb 0x18000630f
mov rcx, qword [rsp + 0x78]
call fcn.18008861c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov rcx, rbx
call fcn.18008861c
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov word [rbp + 0x50], 0x100
mov qword [rbp + 0x58], 0xffffffffffffffff
mov r8d, 0xf
lea rdx, str.t.safe.2345.com
lea rcx, [rbp - 0x20]
call fcn.180003940
mov r8d, 0xf
lea rdx, str._dmdt_index.php
lea rcx, [rbp]
call fcn.180003940
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.1800032a0
mov r8d, 2
lea rdx, [0x1800c4408]
lea rcx, [rbp - 0x40]
call fcn.180003940
mov dword [rbp + 0x40], 2
mov dword [rbp + 0x44], 5
mov dword [rbp + 0x48], 0x406
mov dword [rbp + 0x4c], 0x640
mov word [rbp + 0x50], 0
mov qword [rbp + 0x58], 0x80
mov r8d, 2
lea rdx, [0x1800c4408]
lea rcx, [rbp + 0x20]
call fcn.180003940
mov eax, dword [0x1800ff758]
test al, 1
jne 0x180006478
or eax, 1
mov dword [0x1800ff758], eax
call fcn.180013cf0
lea rcx, [0x1800b6f00]
call fcn.1800885d8
nop
lea rdx, [rbp - 0x60]
lea rcx, [0x1800ff698]
call fcn.180013dd0
mov eax, dword [0x1800ff758]
test al, 1
jne 0x1800064ad
or eax, 1
mov dword [0x1800ff758], eax
call fcn.180013cf0
lea rcx, [0x1800b6f00]
call fcn.1800885d8
nop
lea rcx, [0x1800ff690]
call fcn.180013ed0
nop
lea rcx, [rbp - 0x60]
call fcn.180006540
nop
cmp qword [rsp + 0x70], 8
jb 0x1800064d6
mov rcx, qword [rsp + 0x58]
call fcn.18008861c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rcx, qword [0x1800ff120]
mov eax, dword [0x1800ff108]
inc eax
mov dword [0x1800ff108], eax
test rcx, rcx
je 0x18000650a
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rsi
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret