Function at 0x140041e50
Capabilities:
Clear file content
Delete file
Hide graphical window
Move file
Set socket configuration
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov rbx, rcx
cmp byte [rcx + 0xb3d], 0
jne 0x140041e91
xor al, al
jmp 0x1400422b5
mov byte [rcx + 0xb3d], 0
mov rcx, qword [rcx + 0x38]
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, qword [rcx + 0x748]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 0xd748]
cmp dword [rax + 0x7fc], r14d
jle 0x140041ef5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8007
mov rcx, qword [rcx + 0x12b8]
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [rbx + 0xb18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rbx + 0xb18]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rdi, [rbx + 0x9f1]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14003d8d0
nop
lea rsi, [0x1401bd080]
lea r9, [rsp + 0x48]
cmp byte [rbx + 0xb3e], 0
je 0x140041f49
lea r8, [0x1401bd700]
lea rax, [0x1401bc470]
jmp 0x140041f53
lea r8, [0x1401bcbc0]
mov rax, rsi
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x590]
call fcn.1400480c0
lea rdx, [rbp + 0x590]
mov rcx, rbx
call fcn.140040ed0
lea rcx, [rbx + 0xb3f]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140041f94
test rax, rax
je 0x140042021
call fcn.14012f788
mov word [rsp + 0x3a], ax
lea rcx, [rbx + 0xb42]
call fcn.14012f788
mov word [rsp + 0x3e], ax
lea rcx, [rbx + 0xb45]
call fcn.14012f788
mov word [rsp + 0x38], ax
lea rcx, [rbx + 0xb4a]
call fcn.14012f788
mov word [rsp + 0x40], ax
lea rcx, [rbx + 0xb4d]
call fcn.14012f788
mov word [rsp + 0x42], ax
mov dword [rsp + 0x44], r14d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0xb18]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, qword [rbx + 0xb18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0xb3e], 0
je 0x14004204f
cmp dword [rbx + 0xb54], 1
je 0x140042046
cmp byte [rbx + 0x49], 0
je 0x14004204f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x40e
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x412
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rbx + 0xb3e], 0
jne 0x1400421e1
mov edx, 0x5c
mov rcx, rdi
call fcn.14012f358
lea rcx, [rax + 1]
mov r8d, 9
lea rdx, str._UVNCDIR_
call fcn.14012e560
test eax, eax
jne 0x1400421e1
mov r8, rdi
mov edx, 0x208
lea rcx, [rbp + 0x80]
call fcn.14012524c
mov edx, 0x5c
lea rcx, [rbp + 0x80]
call fcn.14012f358
lea r14, [rax + 1]
mov edx, 0x2d
mov rcx, r14
call fcn.14012f544
lea r8, [rax + 1]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14012524c
mov edx, 0x2e
lea rcx, [rsp + 0x70]
call fcn.14012f358
mov byte [rax], 0
test r14, r14
je 0x14004211f
mov byte [r14], 0
lea r8, [rsp + 0x70]
mov edx, 0x208
lea rcx, [rbp + 0x80]
call fcn.1401252ac
lea rax, [0x1401bd040]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [0x1401bc270]
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x290]
call fcn.1400480c0
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140040ed0
mov r8, rdi
lea rdx, [rbp + 0x80]
mov rcx, qword [rbx + 0x430]
call fcn.14006bd50
test al, al
je 0x140042199
lea rdx, str.__s____s____s
lea r8, [0x1401bd400]
jmp 0x1400421ae
lea rdx, str.__s____s__.__s
lea r8, [0x1401bc170]
lea rsi, [0x1401bca80]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
lea rcx, [rbp + 0x290]
call fcn.1400480c0
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140040ed0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov sil, 1
jmp 0x1400421e4
xor sil, sil
mov edx, 0x40e
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x412
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rbx + 0xb3e], 0
jne 0x140042296
test sil, sil
jne 0x140042296
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140042296
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
lea rax, [0x1401bbf70]
mov qword [rsp + 0x20], rax
lea r8, [0x1401bd580]
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x590]
call fcn.1400480c0
lea rdx, [rbp + 0x590]
mov rcx, rbx
call fcn.140040ed0
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.14003eda0
nop
lea rcx, [rsp + 0x48]
call fcn.14002dbe0
mov al, 1
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14011c340
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret