Function at 0x140003100
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400a5028]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [0x1400a92c8]
mov esi, r9d
sub rax, rcx
cmp rax, 0x1e
jb 0x140003397
cmp qword [0x1400a92d0], 8
lea rax, str.micstream_client.outdated.exe
mov qword [rsp + 0x30], 0x1e
lea r9, [0x1400a92b8]
cmovae r9, qword [0x1400a92b8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.1400050a0
cmp qword [rbp - 8], 8
lea rcx, [rbp - 0x20]
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400031d0
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003391
call fcn.140056f74
mov r9d, 0x64
mov qword [rsp + 0x138], rdi
lea r8, [0x1400a9040]
mov qword [rsp + 0x140], r14
mov rcx, rbx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r14, [0x1400a8f50]
mov r8, r14
mov rcx, rbx
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
xor edi, edi
mov dword [rsp + 0x60], 0x50
lea rax, [0x1400033a0]
mov dword [rsp + 0x64], 3
mov rcx, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
lea edx, [rdi + 0x6b]
mov qword [rsp + 0x78], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140098aa0]
lea edx, [rdi + 0x6c]
mov rcx, qword [rsp + 0x78]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rdi
lea r8, [0x1400a9040]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rdi
mov rdx, r14
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
mov qword [0x1400a8f40], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, qword [rsp + 0x140]
mov rdi, rax
test rax, rax
je 0x140003372
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, WSAGetLastError
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000336f
nop dword [rax]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140003359
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140003330
mov eax, dword [rbp - 0x40]
mov rdi, qword [rsp + 0x138]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140056cc0
add rsp, 0x110
pop rsi
pop rbx
pop rbp
ret
call fcn.140062080
int3
call fcn.140001e20
int3