Function at 0x180005910
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
lea rdx, [rbp + 0x5c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [rbp + 0x5c0]
lea rdx, str._sconfig.ini
lea rcx, [0x1800572b0]
call fcn.180001330
lea rcx, [rbp + 0x2a0]
call fcn.180008510
nop
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov word [rsp + 0x3a], r13w
mov rax, qword [rbp + 0x2a0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x2e8]
mov qword [rsp + 0x50], rax
test rax, rax
sete byte [rsp + 0x58]
mov word [rsp + 0x5a], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm1
lea rax, [rbp - 0x80]
mov qword [rbp + 0x818], rax
mov r12d, 0xffff
movzx r14d, word [rsp + 0x3a]
movzx esi, byte [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
movzx r15d, byte [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
nop dword [rax]
test sil, sil
jne 0x180005a34
test rbx, rbx
je 0x180005a2e
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x180005a14
mov rax, qword [rbx + 0x50]
cmp dword [rax], 0
jle 0x180005a14
movzx eax, word [rcx]
jmp 0x180005a1d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
cmp r12w, ax
je 0x180005a2e
movzx r14d, ax
mov word [rsp + 0x3a], ax
jmp 0x180005a31
mov rbx, r13
mov sil, 1
test r15b, r15b
jne 0x180005a6d
test rdi, rdi
je 0x180005a67
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x180005a58
mov rax, qword [rdi + 0x50]
cmp dword [rax], 0
jle 0x180005a58
movzx eax, word [rcx]
jmp 0x180005a61
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
cmp r12w, ax
jne 0x180005a6a
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x180005adf
test rdi, rdi
jne 0x180005ae4
lea rcx, [rbp + 0x2b0]
call fcn.180009170
test rax, rax
jne 0x180005baa
mov rax, qword [rbp + 0x2a0]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x2e8], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x2b0]
and eax, 0x17
mov dword [rbp + rcx + 0x2b0], eax
and eax, dword [rbp + rcx + 0x2b4]
je 0x180005baa
test al, 4
je 0x180006ae7
lea rbx, str.ios_base::badbit_set
jmp 0x180006afb
test rdi, rdi
jne 0x180005a77
test sil, sil
jne 0x180005b25
test rbx, rbx
je 0x180005b22
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x180005b08
mov rax, qword [rbx + 0x50]
cmp dword [rax], 0
jle 0x180005b08
movzx eax, word [rcx]
jmp 0x180005b11
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
cmp r12w, ax
je 0x180005b22
movzx r14d, ax
mov word [rsp + 0x3a], ax
jmp 0x180005b25
mov rbx, r13
mov word [rbp + 0x810], r14w
mov rcx, qword [rbp - 0x78]
cmp rcx, qword [rbp - 0x70]
je 0x180005b44
movzx eax, byte [rsp + 0x3a]
mov byte [rcx], al
inc qword [rbp - 0x78]
jmp 0x180005b58
lea r8, [rbp + 0x810]
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.18000e8b0
test rbx, rbx
je 0x180005b9f
mov rax, qword [rbx + 0x38]
cmp qword [rax], 0
je 0x180005b88
mov rcx, qword [rbx + 0x50]
mov eax, dword [rcx]
test eax, eax
jle 0x180005b88
dec eax
mov dword [rcx], eax
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx]
lea rax, [rdx + 2]
mov qword [rcx], rax
movzx eax, word [rdx]
jmp 0x180005b91
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp r12w, ax
je 0x180005b9f
xor sil, sil
jmp 0x1800059f0
mov rbx, r13
mov sil, 1
jmp 0x1800059f0
mov dword [rsp + 0x30], 0x61657771
mov dword [rsp + 0x34], 0x32316473
mov dword [rsp + 0x38], 0x63787a33
mov ecx, 0xc
call fcn.180016e00
mov qword [rbp + 0x160], rax
lea rbx, [rax + 0xc]
mov qword [rbp + 0x170], rbx
mov r8d, 0xc
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180018f40
mov qword [rbp + 0x168], rbx
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x80]
call fcn.180003060
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdi, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
mov rbx, rdi
sub rbx, rsi
movabs rax, 0x7ffffffffffffffe
cmp rbx, 8
jb 0x180005c7e
cmp rbx, rax
ja 0x180006b29
or rbx, 7
cmp rbx, rax
jbe 0x180005c52
mov rbx, rax
jmp 0x180005c5e
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.180009bb0
mov qword [rbp - 0x50], rbx
movzx ecx, word [rbp - 0x68]
mov word [rax], cx
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], r13
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.18000d950
nop
lea rdx, str.__d_____._______.____
lea rcx, [rbp + 0x178]
call fcn.180007580
nop
mov qword [rbp + 0x1a0], r13
mov byte [rbp + 0x1a8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1c0], xmm1
mov qword [rbp + 0x1d0], r13
mov byte [rbp + 0x1d8], 0
movdqa xmmword [rbp + 0x1e0], xmm0
mov byte [rbp + 0x1f0], 0
mov qword [rbp + 0x1f8], r13
mov qword [rbp + 0x200], r13
mov byte [rbp + 0x208], 0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
lea rdx, [rdx + rax*2]
lea rax, [rbp - 0x68]
cmovae rax, qword [rbp - 0x68]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x70], rcx
mov dword [rbp + 0x78], r13d
mov qword [rbp + 0x80], r13
mov byte [rbp + 0x88], 0
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xb0], r13
mov byte [rbp + 0xb8], 0
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xd0], 0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
mov byte [rbp + 0xe8], 0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x178]
lea r8, [rbp + 0x80]
mov rcx, rax
call fcn.18000a340
test al, al
mov r14, qword [rbp + 0x70]
cmove r14, r13
mov qword [rbp + 0x70], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], r13
mov qword [rbp + 0x230], r13
mov byte [rbp + 0x238], 0
movdqa xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x250], xmm1
mov qword [rbp + 0x260], r13
mov byte [rbp + 0x268], 0
movdqa xmmword [rbp + 0x270], xmm0
mov byte [rbp + 0x280], 0
mov qword [rbp + 0x288], r13
mov qword [rbp + 0x290], r13
mov byte [rbp + 0x298], 0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov ecx, 0x80
call fcn.180016e00
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x40], rax
nop dword [rax + rax]
movabs r15, 0xaaaaaaaaaaaaaaab
test r14, r14
sete al
test al, al
jne 0x180006682
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0xf0], rax
movzx eax, byte [rbp + 0x88]
mov byte [rbp + 0xf8], al
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
mov r12, r13
mov qword [rbp + 0x110], r13
mov rdi, qword [rbp + 0x98]
mov rsi, qword [rbp + 0x90]
cmp rsi, rdi
je 0x180005ef6
mov rbx, rdi
sub rbx, rsi
sar rbx, 3
imul rbx, r15
mov rdx, rbx
call fcn.180009750
mov r15, rax
mov qword [rbp + 0x100], rax
lea rax, [rbx + rbx*2]
lea r12, [r15 + rax*8]
mov qword [rbp + 0x110], r12
mov rax, r15
mov rcx, rsi
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movsd xmm1, qword [rcx + 0x10]
movsd qword [rax + 0x10], xmm1
add rax, 0x18
add rcx, 0x18
cmp rcx, rdi
jne 0x180005ed0
mov qword [rbp + 0x108], rax
jmp 0x180005f04
mov rax, qword [rbp + 0x108]
mov r15, qword [rbp + 0x100]
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rbp + 0x118], xmm0
movsd xmm1, qword [rbp + 0xb8]
movsd qword [rbp + 0x128], xmm1
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp + 0x130], xmm0
movsd xmm1, qword [rbp + 0xd0]
movsd qword [rbp + 0x140], xmm1
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [rbp + 0x148], xmm0
movsd xmm1, qword [rbp + 0xe8]
movsd qword [rbp + 0x158], xmm1
sub rax, r15
cmp rax, 0x60
jne 0x1800065a1
cmp byte [r15 + 0x28], 0
je 0x180005f7e
movups xmm0, xmmword [r15 + 0x18]
movups xmmword [rsp + 0x50], xmm0
jmp 0x180005f87
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov r11, r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
je 0x180005fc7
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x60]
call fcn.180009410
mov r11, qword [rsp + 0x70]
cmp byte [r15 + 0x40], 0
je 0x180005fda
movups xmm0, xmmword [r15 + 0x30]
movups xmmword [rsp + 0x50], xmm0
jmp 0x180005fe3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x20], r13
mov rbx, r13
mov qword [rbp - 0x10], rbx
mov edi, 7
mov qword [rbp - 8], rdi
mov word [rbp - 0x20], r13w
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
je 0x180006027
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x20]
call fcn.180009410
mov r11, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
cmp byte [r15 + 0x58], 0
je 0x18000603a
movups xmm0, xmmword [r15 + 0x48]
movups xmmword [rsp + 0x50], xmm0
jmp 0x180006043
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rbp], r13
mov rsi, r13
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
je 0x180006082
sub r8, rdx
sar r8, 1
lea rcx, [rbp]
call fcn.180009410
mov r11, qword [rsp + 0x70]
mov rsi, qword [rbp + 0x10]
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
lea r14, [rbp - 0x20]
mov r13, qword [rbp - 0x20]
mov qword [rbp + 0x810], r13
cmp rdi, 8
cmovae r14, r13
cmp rbx, 8
jae 0x1800060c0
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x38], 7
jmp 0x180006158
mov rdi, rbx
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180006b59
add rcx, rcx
cmp rcx, 0x1000
jb 0x18000612a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180006b59
mov rcx, rax
call fcn.180016e00
mov rcx, rax
test rax, rax
je 0x180006b35
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006138
test rcx, rcx
je 0x180006136
call fcn.180016e00
jmp 0x180006138
xor eax, eax
mov qword [rbp + 0x20], rax
lea r8, [rbx*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.180018f40
mov qword [rbp + 0x38], rdi
mov r11, qword [rsp + 0x70]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
lea rdi, [rbp]
mov r14, qword [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdi, r14
cmp rsi, 8
jae 0x18000619f
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x58], 7
jmp 0x180006237
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180006b53
add rcx, rcx
cmp rcx, 0x1000
jb 0x180006209
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180006b53
mov rcx, rax
call fcn.180016e00
mov rcx, rax
test rax, rax
je 0x180006b2f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006217
test rcx, rcx
je 0x180006215
call fcn.180016e00
jmp 0x180006217
xor eax, eax
mov qword [rbp + 0x40], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.180018f40
mov qword [rbp + 0x58], rbx
mov r11, qword [rsp + 0x70]
mov qword [rbp + 0x50], rsi
mov rdi, qword [rsp + 0x40]
mov r9, qword [rdi + 8]
mov qword [rbp - 0x40], r9
mov dword [rbp - 0x38], 0
mov rsi, qword [rsp + 0x60]
cmp byte [r9 + 0x19], 0
jne 0x180006314
mov r13, 0xffffffffffffffff
nop word [rax + rax]
mov qword [rbp - 0x40], r9
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, rsi
lea r10, [r9 + 0x20]
cmp qword [r9 + 0x38], 8
jb 0x180006292
mov r10, qword [r9 + 0x20]
mov rbx, qword [r9 + 0x30]
mov rcx, rbx
cmp r11, rbx
cmovb rcx, r11
test rcx, rcx
je 0x1800062c4
sub r10, rax
nop dword [rax + rax]
movzx edx, word [rax + r10]
cmp dx, word [rax]
jne 0x1800062ce
add rax, 2
sub rcx, 1
jne 0x1800062b0
cmp rbx, r11
jae 0x1800062d9
mov eax, r13d
jmp 0x1800062e1
mov eax, 1
cmovb eax, r13d
jmp 0x1800062e1
xor eax, eax
cmp rbx, r11
seta al
shr eax, 0x1f
test al, al
je 0x1800062f5
mov dword [rbp - 0x38], 0
mov r9, qword [r9 + 0x10]
jmp 0x180006302
mov dword [rbp - 0x38], 1
mov rdi, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x180006270
mov r13, qword [rbp + 0x810]
cmp byte [rdi + 0x19], 0
jne 0x180006396
lea rax, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x180006329
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, rsi
mov r10, qword [rdi + 0x30]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x180006364
sub r9, rax
nop
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x180006372
add rax, 2
sub rcx, 1
jne 0x180006350
cmp r11, r10
jae 0x180006383
mov rax, 0xffffffffffffffff
jmp 0x18000638b
mov eax, 1
mov rcx, 0xffffffffffffffff
cmovb eax, ecx
jmp 0x18000638b
xor eax, eax
cmp r11, r10
seta al
shr eax, 0x1f
test al, al
je 0x180006435
movabs rax, 0x1ffffffffffffff
cmp qword [rsp + 0x48], rax
je 0x180006b4d
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x80
call fcn.180016e00
mov rsi, rax
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
lea rcx, [rax + 0x20]
call fcn.180008b30
xor eax, eax
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x58], 7
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x78], 7
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], ax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rsi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000b600
mov rdi, rax
lea rdx, [rbp + 0x20]
lea rcx, [rdi + 0x40]
call fcn.180008a90
lea rcx, [rdi + 0x60]
lea rdx, [rbp + 0x40]
call fcn.180008a90
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x180006490
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000648b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b35
call fcn.180016df8
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800064d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b35
call fcn.180016df8
nop
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x180006511
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180006508
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b3b
mov rcx, r14
call fcn.180016df8
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180006551
lea rdx, [rdx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x180006548
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b41
mov rcx, r13
call fcn.180016df8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180006593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000658e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b47
call fcn.180016df8
xor r13d, r13d
mov r14, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x90]
mov rbx, qword [rsi + 8]
xor dl, dl
cmp qword [rsi], rbx
jne 0x1800065e0
mov rdx, qword [rbp + 0x68]
cmp rbx, rdx
je 0x18000661d
mov ecx, dword [rbp + 0x78]
or ecx, 0x60
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, r14
lea r8, [rbp + 0x80]
mov rcx, rbx
call fcn.18000a340
test al, al
jne 0x180006626
mov dl, 1
mov eax, dword [rbp + 0x78]
bts eax, 8
mov dword [rbp + 0x78], eax
mov ecx, eax
bts ecx, 0xe
test dl, dl
cmove ecx, eax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, qword [rbp + 0x70]
lea r8, [rbp + 0x80]
mov rdx, qword [rbp + 0x68]
mov rcx, rbx
call fcn.18000a340
test al, al
jne 0x180006626
mov r14, r13
mov qword [rbp + 0x70], r13
jmp 0x18000662a
mov r14, qword [rbp + 0x70]
test r15, r15
je 0x180005e40
sub r12, r15
sar r12, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul r12, rax
lea rdx, [r12 + r12*2]
shl rdx, 3
mov rax, r15
cmp rdx, 0x1000
jb 0x180006675
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b5f
mov rcx, r15
call fcn.180016df8
jmp 0x180005e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.1800195f0
mov r8d, 0x104
lea rdx, [rbp + 0x3b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180006968
mov edx, 0x5c
lea rcx, [rbp + 0x3b0]
call fcn.180018db4
test rax, rax
je 0x180006968
lea rdx, [rax + 2]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800066f4
lea rcx, [rsp + 0x60]
call fcn.180009410
nop
lea rdx, [0x18004c360]
lea rcx, [rbp + 0x20]
call fcn.180007580
nop
mov qword [rbp + 0xf0], r13
mov byte [rbp + 0xf8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x110], xmm1
mov qword [rbp + 0x120], r13
mov byte [rbp + 0x128], 0
movdqa xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x140], 0
mov qword [rbp + 0x148], r13
mov qword [rbp + 0x150], r13
mov byte [rbp + 0x158], 0
lea r10, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r10, r9
lea rcx, [rsp + 0x60]
cmovae rcx, r9
mov rax, qword [rsp + 0x70]
lea rdx, [rcx + rax*2]
lea rcx, [rsp + 0x60]
cmovae rcx, r9
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x20]
lea r8, [rbp + 0xf0]
call fcn.18000a340
test al, al
je 0x180006b89
mov rax, qword [rbp + 0x108]
mov rbx, qword [rbp + 0x100]
sub rax, rbx
cmp rax, 0x18
jne 0x180006b89
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1800074e0
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000c030
mov rdi, qword [rbp - 0x30]
cmp byte [rdi + 0x19], 0
jne 0x180006b71
lea rax, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x180006819
mov rax, qword [rdi + 0x20]
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r9, qword [rbp - 0x20]
mov r10, qword [rdi + 0x30]
mov r11, qword [rbp - 0x10]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x180006855
sub r9, rax
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x18000685e
add rax, 2
sub rcx, 1
jne 0x180006841
cmp r11, r10
jae 0x180006868
mov eax, esi
jmp 0x18000686e
mov eax, 1
cmovb eax, esi
jmp 0x18000686e
mov eax, r13d
seta al
shr eax, 0x1f
test al, al
jne 0x180006b71
cmp rdi, qword [rsp + 0x40]
je 0x180006b71
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1800073e0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.180008b30
nop
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1800073e0
lea rdx, [rax + 0x20]
lea rcx, [rbp]
call fcn.180008b30
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call fcn.180002d40
nop
lea rcx, [rbp]
call fcn.180008a20
nop
lea rcx, [rbp - 0x40]
call fcn.180008a20
nop
lea rcx, [rbp - 0x20]
call fcn.180008a20
nop
test rbx, rbx
je 0x18000691b
mov r8, qword [rbp + 0x110]
sub r8, rbx
sar r8, 3
imul r8, r15
mov rdx, rbx
call fcn.1800097d0
nop
lea rcx, [rbp + 0x20]
call fcn.180007540
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180006968
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b65
call fcn.180016df8
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000c0f0
mov edx, 0x80
mov rcx, qword [rsp + 0x40]
call fcn.180016df8
nop
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x1800069b4
mov r8, qword [rbp + 0xa0]
sub r8, rdx
sar r8, 3
imul r8, r15
call fcn.1800097d0
nop
lea rcx, [rbp + 0x178]
call fcn.180008f50
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x1800069e6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1800069e6
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x180006a26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006a21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006b6b
call fcn.180016df8
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x180006a78
mov rdx, qword [rbp + 0x170]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006a72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006ba1
call fcn.180016df8
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180006aba
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006aa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006ae1
call fcn.180016df8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
lea rcx, [rbp + 0x2a0]
call fcn.180005850
mov rbx, qword [rsp + 0x920]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180023280
nop
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.1800016b0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.1800027f0
lea rdx, [0x180052bb0]
lea rcx, [rbp + 0x20]
call fcn.180018e64
nop
call fcn.180001530
nop
call fcn.180023280
nop
call fcn.180023280
nop
call fcn.180023280
nop
call fcn.180023280
nop
call fcn.180023280
nop
call fcn.180001550
nop
call fcn.180001490
nop
call fcn.180001490
nop
call fcn.180023280
int3
call fcn.180023280
nop
call fcn.180023280
nop
lea rcx, [0x1800570a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 1
call fcn.18001d5c8
nop
lea rcx, [0x1800570a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 1
call fcn.18001d5c8
nop
call fcn.180023280
int3