Function at 0x180053060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x22a8]
mov eax, 0x23a8
call fcn.18007fc70
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x2290], rax
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [rbp + 0x2310]
mov qword [rsp + 0x60], rax
mov r12d, dword [rbp + 0x2318]
mov dword [rsp + 0x54], r12d
mov esi, dword [rbp + 0x2320]
mov dword [rsp + 0x48], esi
mov rax, qword [rbp + 0x2328]
mov qword [rsp + 0x58], rax
xor edi, edi
mov r13d, edi
mov eax, dword [0x1800d331c]
test eax, eax
je 0x180053e2b
mov r15d, 1
cmp eax, r15d
je 0x18005311d
call fcn.180011f40
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x180053112
mov dword [0x1800d331c], r15d
jmp 0x18005311d
mov dword [0x1800d331c], edi
jmp 0x180053e2b
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rdi
mov word [rbp + 0x10], di
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.180004cc0
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x18]
call fcn.18005fad0
nop
cmp qword [rbp + 0x28], 8
jb 0x18005316b
mov rcx, qword [rbp + 0x10]
call fcn.18007a7a4
mov qword [rbp + 0x28], 7
xor edi, edi
mov qword [rbp + 0x20], rdi
mov word [rbp + 0x10], di
cmp qword [rbp - 8], rdi
jbe 0x1800532de
lea rcx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800532de
shr eax, 4
not eax
and eax, 1
je 0x1800532de
lea rcx, [rbp + 0x40]
call fcn.180033230
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0x40]
call fcn.180033e40
mov edx, edi
lea rcx, [0x1800a8438]
nop dword [rax]
movzx eax, byte [rdx + rcx]
cmp byte [rbp + rdx + 0x68], al
jne 0x1800532d5
inc rdx
cmp rdx, 9
jl 0x1800531e0
lea rcx, [rbp + 0x40]
call fcn.180033c80
test eax, eax
je 0x1800532d5
lea rcx, [rbp + 0x40]
call fcn.1800338d0
test al, al
je 0x1800532d5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
mov rcx, rbx
call qword [0x1800d95d8]
mov rsi, rax
call fcn.180039e60
mov rcx, rax
mov r8, rbx
lea rdx, str.file___s
call fcn.1800659c0
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rdi
mov word [rbp + 0x10], di
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.180004cc0
nop
lea rcx, [r14 + 0xa00]
lea r8, [rbp + 0x10]
mov rdx, rsi
call fcn.18005fec0
nop
cmp qword [rbp + 0x28], 8
jb 0x1800532b2
mov rcx, qword [rbp + 0x10]
call fcn.18007a7a4
nop
lea rcx, [rbp + 0x40]
call fcn.1800332f0
nop
cmp qword [rbp], 8
jb 0x18005438c
mov rcx, qword [rbp - 0x18]
call fcn.18007a7a4
jmp 0x18005438c
lea rcx, [rbp + 0x40]
call fcn.1800332f0
mov rax, qword [0x1800d6f10]
test rax, rax
jne 0x180053312
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053308
mov rcx, rax
call fcn.180015880
jmp 0x18005330b
mov rax, rdi
mov qword [0x1800d6f10], rax
mov rcx, rax
call fcn.180017d00
test eax, eax
je 0x1800535bd
lea rdx, str..udbx_journal
mov rcx, rbx
call fcn.18002f130
test rax, rax
jne 0x18005334e
lea rdx, str..udd_journal
mov rcx, rbx
call fcn.18002f130
test rax, rax
je 0x1800535bd
cmp qword [r14 + 0x898], 0
je 0x1800535d8
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180004cc0
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x180053410
cmp rax, r12
mov rcx, r12
ja 0x1800533a6
lea rcx, [rax - 1]
lea rax, [rsp + 0x70]
mov rsi, qword [rsp + 0x70]
mov r12, qword [rbp - 0x78]
cmp r12, 8
cmovae rax, rsi
lea rdi, [rax + rcx*2]
mov ecx, 7
lea rax, str._journa
movzx edx, word [rdi]
nop
cmp word [rax], dx
je 0x1800533f3
add rax, 2
dec rcx
jne 0x1800533d0
lea rcx, [rsp + 0x70]
call fcn.180004930
cmp rdi, rax
je 0x18005340c
sub rdi, 2
jmp 0x1800533c0
lea rax, [rsp + 0x70]
cmp r12, 8
cmovae rax, rsi
sub rdi, rax
sar rdi, 1
or r12, 0xffffffffffffffff
jmp 0x180053413
or r12, 0xffffffffffffffff
mov rdi, r12
lea eax, [rdi - 6]
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.18000b940
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x18005349e
cmp qword [rbp - 0x78], 8
jb 0x180053448
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
xor esi, esi
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rdi + 0x18], 8
jae 0x18005347b
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18007abc0
jmp 0x180053486
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
cmp qword [rbp - 0x28], 8
jb 0x1800534ae
mov rcx, qword [rbp - 0x40]
call fcn.18007a7a4
lea rcx, [rbp + 0x40]
call fcn.180033230
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.180033e40
xor edi, edi
mov edx, edi
nop word [rax + rax]
lea rax, [0x1800a8438]
movzx eax, byte [rdx + rax]
cmp byte [rbp + rdx + 0x68], al
jne 0x1800534ff
inc rdx
cmp rdx, 9
jl 0x1800534e0
jmp 0x18005359d
mov rax, qword [r14 + 0x11e8]
cmp dword [rax + 0x30], edi
jle 0x18005355b
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp + 0x40]
call fcn.1800332f0
nop
cmp qword [rbp - 0x78], 8
jb 0x180053532
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
cmp qword [rbp], 8
jb 0x180053553
mov rcx, qword [rbp - 0x18]
call fcn.18007a7a4
mov rax, r12
jmp 0x18005438f
cmp dword [0x1800d70a8], edi
je 0x18005359d
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp + 0x40]
call fcn.1800332f0
nop
cmp qword [rbp - 0x78], 8
jb 0x18005358a
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
jmp 0x180053543
lea rcx, [rbp + 0x40]
call fcn.1800332f0
nop
cmp qword [rbp - 0x78], 8
jb 0x1800535b8
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov r12d, dword [rsp + 0x54]
cmp qword [r14 + 0x898], 0
je 0x1800535d8
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
cmovne r13d, r15d
call fcn.18006e940
mov rcx, rax
call fcn.18006eab0
test eax, eax
je 0x1800535fa
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
cmovne r13d, r15d
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053630
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053627
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180053629
xor edi, edi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180018230
test eax, eax
je 0x18005371f
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
je 0x180053718
xor eax, eax
or r9, 0xffffffffffffffff
mov rcx, r9
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rsi, rcx
lea rdx, [0x1800d3790]
cmp qword [0x1800d37a8], 8
cmovae rdx, qword [0x1800d3790]
mov rdi, rcx
mov r8, qword [0x1800d37a0]
cmp r8, rcx
cmovb rdi, r8
mov rcx, rbx
test rdi, rdi
je 0x1800536c5
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x1800536b7
add rdx, 2
add rcx, 2
dec rdi
jne 0x1800536a0
jmp 0x1800536c5
mov edi, r15d
cmp word [rdx], ax
cmovb edi, r9d
xor ecx, ecx
jmp 0x1800536c9
xor ecx, ecx
mov edi, ecx
movsxd rax, edi
test edi, edi
jne 0x1800536e2
cmp r8, rsi
jae 0x1800536da
mov eax, r9d
jmp 0x1800536e2
mov eax, ecx
cmp r8, rsi
setne al
test eax, eax
sete al
test al, al
cmovne r13d, r15d
cmp qword [r14 + 0x898], 0
je 0x180053718
xor eax, eax
mov rcx, r9
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [0x1800d3790]
call fcn.180004cc0
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x18005374e
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053745
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180053747
xor edi, edi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180016ae0
test eax, eax
je 0x180053971
lea rdx, str..lnk
mov rcx, rbx
call fcn.18002f130
test rax, rax
jne 0x18005396a
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
je 0x18005396a
mov qword [rbp - 0x78], 7
xor eax, eax
mov qword [rbp - 0x80], rax
mov word [rsp + 0x70], ax
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rax
mov word [rbp - 0x68], ax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180004cc0
nop
mov edx, 0x5c
lea rcx, [rbp - 0x68]
call fcn.180026ec0
mov rdi, rax
mov edx, 0x2f
lea rcx, [rbp - 0x68]
call fcn.180026ec0
mov rsi, rax
mov edx, 0x3a
lea rcx, [rbp - 0x68]
call fcn.180026ec0
cmp edi, eax
cmovg eax, edi
cmp esi, eax
cmovg eax, esi
cmp eax, 0xffffffff
setne cl
or r9, 0xffffffffffffffff
test cl, cl
je 0x1800538ae
inc eax
movsxd r8, eax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.18000b940
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x18005389c
cmp qword [rbp - 0x78], 8
jb 0x180053846
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
xor esi, esi
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rdi + 0x18], 8
jae 0x180053879
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18007abc0
jmp 0x180053884
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
cmp qword [rbp - 0x28], 8
jb 0x1800538c0
mov rcx, qword [rbp - 0x40]
call fcn.18007a7a4
jmp 0x1800538c0
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1800049e0
nop
cmp qword [rbp - 0x50], 8
jb 0x1800538d0
mov rcx, qword [rbp - 0x68]
call fcn.18007a7a4
cmp qword [rbp - 0x80], 8
jne 0x1800538f7
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov edx, 0x2e
call qword [sym.imp.SHLWAPI.dll_StrChrW]
test rax, rax
je 0x18005390b
lea rdx, str..tmp
mov rcx, rbx
call fcn.18002f130
test rax, rax
je 0x180053920
xor esi, esi
mov eax, esi
cmp dword [0x1800d70a0], eax
setne al
mov dword [0x1800d70a4], eax
jmp 0x180053922
xor esi, esi
lea rdx, [0x1800aeab0]
mov rcx, rbx
call fcn.18002f130
mov ecx, esi
test rax, rax
setne cl
mov dword [0x1800d70a0], ecx
cmp qword [rbp - 0x78], 8
jb 0x180053950
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov rdi, qword [0x1800d6f10]
jmp 0x180053973
mov rdi, qword [0x1800d6f10]
xor esi, esi
test rdi, rdi
jne 0x1800539a3
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053999
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x18005399c
mov rdi, rsi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180017b40
test eax, eax
jne 0x1800539eb
test rdi, rdi
jne 0x1800539df
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800539d5
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x1800539d8
mov rdi, rsi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.1800182c0
test eax, eax
je 0x180053a07
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
mov ecx, dword [0x1800d709c]
test eax, eax
cmovne ecx, esi
mov dword [0x1800d709c], ecx
call fcn.180059f10
test eax, eax
je 0x180053a2a
cmp dword [0x1800d7088], 0
je 0x180053a2a
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
cmovne r13d, r15d
cmp dword [0x1800d708c], 0
je 0x180053a44
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
cmovne r13d, r15d
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053a7b
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053a71
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180053a74
mov rdi, rsi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.1800182c0
test eax, eax
je 0x180053aa7
mov r8d, socket
lea rdx, str.PICLESOFTETTEMPFILE
lea rcx, [0x1800d3740]
call fcn.180004cc0
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053ad7
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053acd
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180053ad0
mov rdi, rsi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180016c10
test eax, eax
je 0x180053d99
lea rdx, [0x1800ae6e8]
mov rcx, rbx
call fcn.18002f130
test rax, rax
je 0x180053d92
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180004cc0
nop
mov edx, 0x5c
lea rcx, [rbp - 0x68]
call fcn.180026ec0
mov rdi, rax
mov edx, 0x2f
lea rcx, [rbp - 0x68]
call fcn.180026ec0
mov rsi, rax
mov edx, 0x3a
lea rcx, [rbp - 0x68]
call fcn.180026ec0
cmp edi, eax
cmovg eax, edi
cmp esi, eax
cmovg eax, esi
cmp eax, 0xffffffff
setne cl
or r9, 0xffffffffffffffff
test cl, cl
je 0x180053c38
inc eax
movsxd r8, eax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.18000b940
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x180053c14
cmp qword [rbp - 0x78], 8
jb 0x180053bbc
mov rcx, qword [rsp + 0x70]
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
xor esi, esi
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rdi + 0x18], 8
jae 0x180053bef
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18007abc0
jmp 0x180053bfa
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
jmp 0x180053c16
xor esi, esi
cmp qword [rbp - 0x28], 8
jb 0x180053c26
mov rcx, qword [rbp - 0x40]
call fcn.18007a7a4
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
jmp 0x180053c4b
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1800049e0
xor esi, esi
cmp qword [rbp - 0x50], 8
jb 0x180053c5b
mov rcx, qword [rbp - 0x68]
call fcn.18007a7a4
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
lea rsi, [rsp + 0x70]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x78]
cmp rax, 8
cmovae rsi, rdx
lea rdi, [0x1800aeae4]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x180053d71
lea rsi, [rsp + 0x70]
cmp rax, 8
cmovae rsi, rdx
lea rdi, [0x1800aeaf0]
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
je 0x180053d71
xor esi, esi
cmp qword [rbp - 0x80], rsi
je 0x180053d73
mov word [rbp + 0x1290], si
xor edx, edx
mov r8d, 0xffe
lea rcx, [rbp + 0x1292]
call fcn.18007e840
mov word [rbp + 0x290], si
xor edx, edx
mov r8d, 0xffe
lea rcx, [rbp + 0x292]
call fcn.18007e840
mov r9, rbx
lea r8, [0x1800ad0dc]
mov edx, 0x800
lea rcx, [rbp + 0x290]
call fcn.18005acb0
lea rdx, [rbp + 0x1290]
lea rcx, [rbp + 0x290]
call fcn.180050780
lea rcx, [rbp + 0x1290]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180053d66
shr eax, 4
not eax
and eax, 1
je 0x180053d66
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [0x1800d3740]
call fcn.180004cc0
mov rax, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x70]
jmp 0x180053d73
xor esi, esi
cmp rax, 8
jb 0x180053d81
mov rcx, rdx
call fcn.18007a7a4
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053dc9
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053dbf
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180053dc2
mov rdi, rsi
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180017eb0
test eax, eax
je 0x180053dfe
call fcn.18006e940
mov rcx, rax
call fcn.18006eab0
test eax, eax
je 0x180053df7
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
cmovne r13d, r15d
mov rdi, qword [0x1800d6f10]
cmp qword [rbp], 8
jb 0x180053e15
mov rcx, qword [rbp - 0x18]
call fcn.18007a7a4
mov rdi, qword [0x1800d6f10]
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
mov esi, dword [rsp + 0x48]
jmp 0x180053e49
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
mov r15d, 1
test eax, eax
cmovne r13d, r15d
mov rdi, qword [0x1800d6f10]
mov eax, dword [0x1800d331c]
test eax, eax
je 0x180054110
cmp eax, 1
je 0x180053e81
call fcn.180011f40
xor edi, edi
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x180054084
mov dword [0x1800d331c], r15d
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053eac
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053ea2
mov rcx, rax
call fcn.180015880
mov rdi, rax
mov qword [0x1800d6f10], rax
mov rcx, rdi
call fcn.180017a20
test eax, eax
je 0x180053f14
mov rdx, rbx
mov rcx, r14
call fcn.1800388c0
test eax, eax
jne 0x180053f0d
cmp qword [r14 + 0x898], 0
je 0x180053f0d
mov rcx, rbx
call fcn.180049950
test eax, eax
jne 0x180053f0d
mov r9d, 0x3000
lea r8, [0x1800ae630]
lea rdx, str.S_MR_tg
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
or rax, 0xffffffffffffffff
jmp 0x18005438f
mov rdi, qword [0x1800d6f10]
mov eax, dword [0x1800d331c]
test eax, eax
je 0x180054110
cmp eax, 1
je 0x180053f4c
call fcn.180011f40
xor edi, edi
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x180054084
mov dword [0x1800d331c], r15d
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180053f77
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053f6d
mov rcx, rax
call fcn.180015880
mov rdi, rax
mov qword [0x1800d6f10], rax
mov rcx, rdi
call fcn.1800181a0
test eax, eax
jne 0x180053fe3
test rdi, rdi
jne 0x180053fae
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180053fa4
mov rcx, rax
call fcn.180015880
mov rdi, rax
mov qword [0x1800d6f10], rax
mov rcx, rdi
call fcn.180016ca0
test eax, eax
jne 0x180053fe3
call fcn.180001150
mov rcx, rax
call fcn.1800182c0
test eax, eax
jne 0x180053fdc
call fcn.180001150
mov rcx, rax
call fcn.180017a20
test eax, eax
je 0x180054015
mov rdi, qword [0x1800d6f10]
cmp qword [r14 + 0x898], 0
je 0x18005404e
lea rdx, str..txt
mov rcx, rbx
call fcn.18002f130
test rax, rax
jne 0x18005401e
lea rdx, str..txt_Tmp
mov rcx, rbx
call fcn.18002f130
test rax, rax
jne 0x18005401e
mov rdi, qword [0x1800d6f10]
jmp 0x18005404e
mov r9d, 0x3000
lea r8, [0x1800ae630]
lea rdx, [0x1800ae640]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
or rax, 0xffffffffffffffff
jmp 0x18005438f
mov eax, dword [0x1800d331c]
test eax, eax
je 0x180054110
cmp eax, 1
je 0x18005408f
call fcn.180011f40
xor edi, edi
mov ecx, edi
cmp eax, 2
sete cl
test ecx, ecx
je 0x180054084
mov dword [0x1800d331c], r15d
mov rdi, qword [0x1800d6f10]
jmp 0x18005408f
mov dword [0x1800d331c], edi
jmp 0x180054112
test rdi, rdi
jne 0x1800540ba
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800540b0
mov rcx, rax
call fcn.180015880
mov rdi, rax
mov qword [0x1800d6f10], rax
mov rcx, rdi
call fcn.180017b40
test eax, eax
je 0x180054110
cmp qword [r14 + 0x898], 0
je 0x180054110
lea rdx, str..txt
mov rcx, rbx
call fcn.18002f130
test rax, rax
jne 0x1800540f8
lea rdx, str..txt_Tmp
mov rcx, rbx
call fcn.18002f130
test rax, rax
je 0x180054110
lea rdx, str.WindowsCookies
mov rcx, rbx
call fcn.18002f130
test rax, rax
je 0x18005401e
xor edi, edi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
mov rcx, rbx
call qword [0x1800d95d8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, dword [0x1800d3a38]
test ecx, ecx
je 0x1800541e9
cmp ecx, 1
je 0x18005417d
call fcn.180011f40
mov ecx, edi
cmp eax, 1
sete cl
test ecx, ecx
je 0x180054175
mov dword [0x1800d3a38], r15d
jmp 0x18005417d
mov dword [0x1800d3a38], edi
jmp 0x1800541e9
mov edi, dword [rsp + 0x48]
bt edi, 0x1a
jae 0x1800541f7
mov rax, qword [0x1800d6f10]
test rax, rax
jne 0x1800541b7
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800541b0
mov rcx, rax
call fcn.180015880
nop
mov qword [0x1800d6f10], rax
mov rcx, rax
call fcn.180018230
test eax, eax
jne 0x1800541d4
call fcn.180001150
mov rcx, rax
call fcn.1800181a0
test eax, eax
je 0x1800541ed
lea rdx, [0x1800aeb60]
lea rcx, [0x1800d7100]
call fcn.180006780
jmp 0x1800541f7
mov edi, dword [rsp + 0x48]
bt edi, 0x1a
jb 0x18005438c
mov qword [rbp - 0x28], 7
xor eax, eax
mov qword [rbp - 0x30], rax
mov word [rbp - 0x40], ax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.180004cc0
lea rcx, [rbp - 0x40]
call fcn.180062b70
test eax, eax
jne 0x18005438c
test r13d, r13d
je 0x180054383
cmp rsi, 0xffffffffffffffff
je 0x180054383
mov rcx, rsi
call qword [0x1800d9668]
lea rcx, [rbp + 0x290]
call fcn.18003aba0
nop
xor edx, edx
lea rcx, [rbp + 0x290]
call fcn.18003f2f0
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x290]
call fcn.18003ad80
test eax, eax
je 0x18005437d
call fcn.18005ac70
test eax, eax
je 0x1800542a7
mov r8, rbx
lea rdx, [0x1800aeb78]
lea rcx, [0x1800d7100]
call fcn.180006c00
lea rcx, [rbp + 0x40]
call fcn.180033230
nop
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov edi, dword [rsp + 0x48]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
mov rcx, rbx
call qword [0x1800d95d8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
cmp rsi, 0xffffffffffffffff
je 0x180054371
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.180033f10
mov r9d, r15d
xor r8d, r8d
mov edx, 0x200
mov rcx, rsi
call qword [0x1800d9618]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1800048e0
lea rcx, [r14 + 0x868]
mov r8, rax
lea rdx, [rbp - 0x40]
call fcn.18006c0e0
nop
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
and edi, 0x40000000
lea rcx, [r14 + 0x888]
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x40]
mov rdx, rsi
call fcn.18005adb0
nop
cmp qword [rbp - 0x28], 8
jb 0x180054371
mov rcx, qword [rbp - 0x40]
call fcn.18007a7a4
nop
lea rcx, [rbp + 0x40]
call fcn.1800332f0
nop
jmp 0x180054383
or rax, 0xffffffffffffffff
jmp 0x18005438f
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rcx, qword [rbp + 0x2290]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x23a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret