Function at 0x1401485d0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r14, r9
mov qword [rbp - 0x78], r9
mov r15, r8
mov qword [rbp - 0x70], r8
mov r13, rdx
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [r9], rdi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x390]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x5a0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov esi, edi
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov dword [r13], 0x24
mov dword [r13 + 0x18], edi
mov qword [r13 + 0x1c], rdi
mov qword [r13 + 0x10], rdi
mov edx, 0x105
lea rcx, [rbp + 0x390]
call fcn.140195db0
test al, al
je 0x14014969e
lea rax, [rbp + 0x390]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1401486b0
lea rax, [rcx + 1]
cmp rax, 0x105
jae 0x140148711
lea rax, [rcx + 0xe]
lea r8, [0x14020c310]
mov edx, 0x105
cmp rax, rdx
ja 0x1401486ea
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140148711
lfence
mov r9d, 0x104
sub r9, rcx
sub rdx, rcx
lea rax, [rbp + 0x390]
lea rcx, [rax + rcx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x598], di
lea rax, [rbp + 0x390]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140148720
lea rax, [rcx + 1]
cmp rax, 0x105
jae 0x140148781
lea rax, [rcx + 4]
lea r8, [0x140203e70]
mov edx, 0x105
cmp rax, rdx
ja 0x14014875a
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140148781
lfence
mov r9d, 0x104
sub r9, rcx
sub rdx, rcx
lea rax, [rbp + 0x390]
lea rcx, [rax + rcx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x598], di
lea rcx, [rbp + 0x390]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140148790
lea r8, [rbp + 0x390]
mov edx, 0x105
lea rcx, [rbp + 0x180]
cmp rax, rdx
jae 0x1401487ba
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1401487cd
mov r9d, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x388], di
lea rax, [rbp + 0x180]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1401487e0
lea rax, [rcx + 1]
cmp rax, 0x105
jae 0x140148841
lea rax, [rcx + 6]
lea r8, [0x140203ef8]
mov edx, 0x105
cmp rax, rdx
ja 0x14014881a
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140148841
lfence
mov r9d, 0x104
sub r9, rcx
sub rdx, rcx
lea rax, [rbp + 0x180]
lea rcx, [rax + rcx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x388], di
xor edx, edx
lea rcx, [rbp + 0x180]
call fcn.14018ca20
mov r12, rax
test rax, rax
je 0x140149503
mov r15d, dword [rsp + 0x48]
mov rbx, qword [r12 + 8]
cmp dword [r12], 0
je 0x1401488a7
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14018e580
test eax, eax
cmove r15d, dword [rbp + 0x178]
jmp 0x140148949
test rbx, rbx
jne 0x1401488b4
lea eax, [rbx - 1]
jmp 0x140148949
cmp dword [rbx + 0x460], 0
je 0x1401488c7
mov eax, 0xffffffff
jmp 0x140148949
lea r8, [rbx + 0x34]
lea rdi, [rbx + 0x258]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x1401488e0
lfence
mov edx, 0x104
mov rcx, rdi
cmp rax, rdx
jae 0x140148903
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x14014891a
mov r9d, 0x103
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor r9d, r9d
mov word [rdi + 0x206], r9w
mov qword [rsp + 0x58], rdi
mov ecx, dword [rbx + 8]
call fcn.14018f680
mov r15d, eax
lea rdx, [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140148945
mov dword [rbx + 0x460], 1
xor edi, edi
mov eax, edi
test eax, eax
jne 0x140149492
test r15b, 0x40
je 0x140148860
lea rcx, [rbp + 0x390]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140148970
lea r8, [rbp + 0x390]
mov edx, 0x105
lea rcx, [rbp + 0x180]
cmp rax, rdx
jae 0x14014899a
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1401489ad
mov r9d, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x388], di
lea rax, [rbp + 0x180]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1401489c0
mov rax, qword [rsp + 0x58]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1401489d6
lea rax, [rcx + 1]
cmp rax, 0x105
jae 0x140148a38
lea rax, [rcx + 1]
add rax, rdx
lfence
mov edx, 0x105
mov r8, qword [rsp + 0x58]
cmp rax, rdx
ja 0x140148a14
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140148a38
mov r9d, 0x104
sub r9, rcx
sub rdx, rcx
lea rax, [rbp + 0x180]
lea rcx, [rax + rcx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x388], di
lea rcx, [rbp + 0x180]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140148a46
lea r8, [rbp + 0x180]
mov edx, 0x105
lea rcx, [rbp + 0x5a0]
cmp rax, rdx
jae 0x140148a70
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x140148a83
mov r9d, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x7a8], di
mov edx, 0x2e
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x140148860
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rax + r9*2], 0
jne 0x140148ab0
lea rdi, [r9 + 1]
test rdi, rdi
je 0x140148af1
lfence
lea r8, [0x1401f1ab8]
mov rdx, rdi
mov rcx, rbx
cmp rdi, 4
jbe 0x140148ae2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x140148af1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor r9d, r9d
mov word [rbx + rdi*2 - 2], r9w
xor edi, edi
cmp di, word [rbp + 0x5a0]
je 0x140148b4d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 3]
lea rcx, [rbp + 0x5a0]
call qword [case.0x1401ba071.53]
cmp rax, 0xffffffffffffffff
jne 0x140148b40
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140148b3c
cmp eax, 0x20
jne 0x140148b4d
mov al, 1
jmp 0x140148b4f
mov rcx, rax
call qword [case.0x1401b9e8b.6]
mov al, 1
jmp 0x140148b4f
xor al, al
test al, al
je 0x140148860
mov dword [rsp + 0x20], edi
xor edx, edx
lea r9d, [rdx + 3]
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x5a0]
call fcn.14018cd60
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140148860
mov r14b, 1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x78], 0x7fd8
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rdi
lea rdi, [rbp + 0x88]
shl rdi, 8
lea rax, [rbp + 0x60]
shl rax, 8
sub rdi, rax
or rdi, 1
mov qword [rbp + 0x88], rdi
lea rax, [rbp + 0x60]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0x7fd8
xor eax, eax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x50]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x140148c65
mov rcx, qword [rbx]
test rcx, rcx
je 0x140148c58
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140148c43
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140148c99
nop dword [rax + rax]
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x140148c80
xor ecx, ecx
mov qword [rbp + 0x50], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x78], 0x7fd8
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0x88], rdi
lea rax, [rbp + 0x60]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0x7fd8
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], rcx
lea rax, [rbp + 0x88]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x60], rax
lea rdx, [0x1401fa2e0]
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rbx, rax
mov qword [rbp - 0x58], rax
lea rax, [0x140055850]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
lea r9d, [rax + 0x74]
mov r8, rbx
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140055350
nop
test rbx, rbx
je 0x140148d87
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp dword [rbp - 0x48], 0
jne 0x140149317
mov rsi, qword [rbp + 0x50]
test rsi, rsi
je 0x140149312
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x140148f75
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140148dc4
lea rcx, str.SYSTEMSTATUS
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140148dca
mov rbx, qword [rbx + 0x30]
jmp 0x140148da2
mov rdi, qword [rbx + 0x38]
mov rax, rdi
test rdi, rdi
je 0x140148e23
xor r9d, r9d
nop dword [rax]
mov r8, qword [rax + 8]
test r8, r8
je 0x140148e1a
mov rdx, r9
lea r10, str.START
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10 + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x140148e1a
cmp rdx, 6
jne 0x140148e00
xor r8d, r8d
jmp 0x140148e30
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140148de0
xor r8d, r8d
mov eax, r8d
lea r10, str.START
test rax, rax
je 0x140148f75
test rdi, rdi
je 0x140148e76
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140148ef0
mov rax, r8
nop
movzx ecx, byte [r10 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140148ef0
cmp rax, 6
jne 0x140148e50
test rdi, rdi
je 0x140148e76
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x140148e7d
lea rdi, [0x1401ef308]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r8
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
dec eax
xor r8d, r8d
movsxd rdx, eax
lea rcx, [rbp - 0x10]
call fcn.140011470
mov rbx, rax
or dword [rsp + 0x40], 1
mov r8, qword [rbp]
inc r8
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov rcx, rdi
call fcn.1401af0c0
test eax, eax
jne 0x140148ef9
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
xor edi, edi
mov qword [rbp], rdi
mov word [rax], di
jmp 0x140148efb
mov rdi, qword [rdi + 0x20]
jmp 0x140148e39
xor edi, edi
cmp qword [rbx + 0x18], 8
jb 0x140148f05
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1401beea0
movsxd rcx, eax
mov qword [r13 + 0x10], rcx
cmp rcx, 0xffffffffffffffff
setne r14b
and dword [rsp + 0x40], 0xfffffffe
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140148f61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140148f5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401493f2
call fcn.140007ea0
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rsi, qword [rbp + 0x50]
test rsi, rsi
je 0x140149312
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x140149115
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140148fa4
lea rcx, str.SYSTEMSTATUS
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140148faa
mov rdi, qword [rdi + 0x30]
jmp 0x140148f82
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x140149115
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140148fd0
lea rcx, str.COMPARE_START
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140148fd6
mov rbx, qword [rbx + 0x20]
jmp 0x140148fae
test rbx, rbx
je 0x140149115
mov dword [r13 + 0x18], 1
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14014901d
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140149009
lea rcx, str.COMPARE_START
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14014900f
mov rbx, qword [rbx + 0x20]
jmp 0x140148feb
test rbx, rbx
je 0x14014901d
mov rdi, qword [rbx + 0x10]
test rdi, rdi
jne 0x140149024
lea rdi, [0x1401ef308]
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi - 1]
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
dec eax
xor r8d, r8d
movsxd rdx, eax
lea rcx, [rbp + 0x10]
call fcn.140011470
mov rbx, rax
or dword [rsp + 0x40], 2
mov r8, qword [rbp + 0x20]
inc r8
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.1401af0c0
test eax, eax
jne 0x140149092
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rsi
mov word [rax], si
cmp qword [rbx + 0x18], 8
jb 0x14014909c
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1401beea0
movsxd rcx, eax
mov qword [r13 + 0x1c], rcx
mov edx, esi
movzx eax, r14b
cmp rcx, 0xffffffffffffffff
cmovne edx, eax
movzx r14d, dl
and dword [rsp + 0x40], 0xfffffffd
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140149101
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401490fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401493f9
call fcn.140007ea0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], si
mov rsi, qword [rbp + 0x50]
test rsi, rsi
je 0x140149312
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x140149312
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140149144
lea rcx, str.SYSTEMSTATUS
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14014914a
mov rbx, qword [rbx + 0x30]
jmp 0x140149122
mov rdi, qword [rbx + 0x38]
mov rbx, rdi
test rdi, rdi
je 0x14014917c
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14014916f
lea rcx, str.USERDATA
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140149178
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jmp 0x140149154
xor esi, esi
jmp 0x140149180
xor esi, esi
mov ebx, esi
test rbx, rbx
je 0x140149312
test rdi, rdi
je 0x1401491bb
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1401491a7
lea rcx, str.USERDATA
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1401491ad
mov rdi, qword [rdi + 0x20]
jmp 0x140149189
test rdi, rdi
je 0x1401491bb
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1401491c2
lea rdi, [0x1401ef308]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
dec eax
xor r8d, r8d
movsxd rdx, eax
lea rcx, [rbp + 0x30]
call fcn.140011470
mov rbx, rax
or dword [rsp + 0x40], 4
mov r8, qword [rbp + 0x40]
inc r8
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov rcx, rdi
call fcn.1401af0c0
test eax, eax
jne 0x140149234
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rax, qword [rbp + 0x30]
xor edi, edi
mov qword [rbp + 0x40], rdi
mov word [rax], di
jmp 0x140149236
xor edi, edi
lea rax, [rbp - 0x30]
cmp rax, rbx
je 0x1401492ad
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x14014927f
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14014927a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140149400
call fcn.140007ea0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
and dword [rsp + 0x40], 0xfffffffb
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1401492f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401492ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140149407
call fcn.140007ea0
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
test r14b, r14b
jne 0x14014940e
mov rsi, qword [rsp + 0x48]
jmp 0x140149319
mov rsi, qword [rsp + 0x48]
xor edi, edi
mov dword [r13 + 0x18], edi
mov qword [r13 + 0x1c], rdi
mov qword [r13 + 0x10], rdi
movzx eax, byte [0x140256a90]
mov rcx, rsi
test al, al
je 0x14014934b
call qword [0x1401e9888]
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140149351
call qword [case.0x1401b9e8b.6]
mov rsi, rdi
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdi
mov word [rax], di
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140149388
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov qword [rbp + 0x58], rdi
mov rcx, qword [rbp + 0x50]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x1401493b7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401493aa
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140149395
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1401493e9
nop word [rax + rax]
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x1401493d0
mov qword [rbp + 0x50], rdi
jmp 0x140148860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140149428
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov qword [rbp + 0x58], rdi
mov rcx, qword [rbp + 0x50]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x140149457
mov rcx, qword [rbx]
test rcx, rcx
je 0x14014944a
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140149435
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140149489
nop word [rax + rax]
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x140149470
mov qword [rbp + 0x50], rdi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [r12 + 8]
cmp dword [r12], 0
je 0x1401494d1
test rbx, rbx
je 0x1401494f2
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401494b1
call qword [0x1401e9888]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1401494e9
test rbx, rbx
je 0x1401494f2
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1401494f2
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1401494f2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rbp - 0x78]
mov r15, qword [rbp - 0x70]
xor r12b, r12b
test rsi, rsi
je 0x14014969e
mov qword [rsp + 0x60], rdi
xor r9d, r9d
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rsi
call fcn.14018db40
mov ebx, 5
cmp eax, 0xffffffff
jne 0x140149539
lea r14d, [rbx + 9]
jmp 0x1401495e8
mov rax, qword [rbp - 0x20]
lea rdi, [rax*2 + 2]
mov rsi, qword [rsp + 0x60]
lea rax, [rsi + 0x24]
add rax, rdi
cmp r15, rax
jae 0x14014955e
mov r14d, ebx
jmp 0x1401495e3
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov r8, rsi
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14018ce80
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140149589
lea r14d, [rax + 0xf]
jmp 0x1401495da
mov dword [r13 + 0xc], 0x24
lea eax, [rdi + 0x24]
mov dword [r13 + 4], eax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [r13 + 0x24]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r13 + 8], esi
mov ecx, dword [r13 + 4]
add rcx, r13
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + 0x24]
add rax, rsi
mov qword [r14], rax
xor eax, eax
mov r14d, eax
mov r12b, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x48]
movzx eax, byte [0x140256a90]
mov rcx, rsi
test al, al
je 0x14014960e
call qword [0x1401e9888]
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140149614
call qword [case.0x1401b9e8b.6]
test r12b, r12b
je 0x1401496a4
mov edi, ebx
xor r15d, r15d
mov esi, r15d
test esi, esi
jne 0x14014965f
mov edx, 0x80
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
dec edi
test eax, eax
jne 0x14014965b
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jg 0x140149625
mov edi, r15d
test edi, edi
jne 0x1401496a4
mov edx, 0x80
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
dec ebx
test eax, eax
jne 0x140149698
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x140149662
jmp 0x1401496a4
mov r14d, reloc.WS2_32.dll_select
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x1401496e7
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401496e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401496e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], ax
mov eax, r14d
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x900]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret