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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x8b8]
sub rsp, 0x9a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov rbx, rcx
cmp byte [rcx + 0xb3d], 0
jne 0x140041baa
xor al, al
jmp 0x140041fd1
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 0x140041c0e
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 + 0x50]
call fcn.14003d610
nop
lea rsi, [0x1402bdb10]
lea r9, [rsp + 0x50]
cmp byte [rbx + 0xb3e], 0
je 0x140041c62
lea r8, [0x1402be110]
lea rax, [0x1402bcf90]
jmp 0x140041c6c
lea r8, [0x1402bd690]
mov rax, rsi
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x590]
call fcn.140047e20
lea rdx, [rbp + 0x590]
mov rcx, rbx
call fcn.140040bf0
lea rcx, [rbx + 0xb3f]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140041cb0
test rax, rax
je 0x140041d3d
call fcn.14012c458
mov word [rsp + 0x42], ax
lea rcx, [rbx + 0xb42]
call fcn.14012c458
mov word [rsp + 0x46], ax
lea rcx, [rbx + 0xb45]
call fcn.14012c458
mov word [rsp + 0x40], ax
lea rcx, [rbx + 0xb4a]
call fcn.14012c458
mov word [rsp + 0x48], ax
lea rcx, [rbx + 0xb4d]
call fcn.14012c458
mov word [rsp + 0x4a], ax
mov dword [rsp + 0x4c], r14d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
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 0x140041d6b
cmp dword [rbx + 0xb54], 1
je 0x140041d62
cmp byte [rbx + 0x49], 0
je 0x140041d6b
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 0x140041efd
mov edx, 0x5c
mov rcx, rdi
call fcn.14012bfe8
lea rcx, [rax + 1]
mov r8d, 9
lea rdx, str._UVNCDIR_
call fcn.14012b3c0
test eax, eax
jne 0x140041efd
mov r8, rdi
mov edx, 0x208
lea rcx, [rbp + 0x80]
call fcn.14012209c
mov edx, 0x5c
lea rcx, [rbp + 0x80]
call fcn.14012bfe8
lea r14, [rax + 1]
mov edx, 0x2d
mov rcx, r14
call fcn.14012c1d8
lea r8, [rax + 1]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14012209c
mov edx, 0x2e
lea rcx, [rsp + 0x70]
call fcn.14012bfe8
mov byte [rax], 0
test r14, r14
je 0x140041e3b
mov byte [r14], 0
lea r8, [rsp + 0x70]
mov edx, 0x208
lea rcx, [rbp + 0x80]
call fcn.1401220fc
lea rax, [0x1402bdad0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [0x1402bcd90]
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x290]
call fcn.140047e20
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140040bf0
mov r8, rdi
lea rdx, [rbp + 0x80]
mov rcx, qword [rbx + 0x430]
call fcn.140069680
test al, al
je 0x140041eb5
lea rdx, str.__s____s____s
lea r8, [0x1402bde10]
jmp 0x140041eca
lea rdx, str.__s____s__.__s
lea r8, [0x1402bcc90]
lea rsi, [0x1402bd590]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
lea rcx, [rbp + 0x290]
call fcn.140047e20
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140040bf0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov sil, 1
jmp 0x140041f00
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 0x140041fb2
test sil, sil
jne 0x140041fb2
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140041fb2
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
lea rax, [0x1402bca90]
mov qword [rsp + 0x20], rax
lea r8, [0x1402bdf90]
lea rdx, str.__s____s____s
lea rcx, [rbp + 0x590]
call fcn.140047e20
lea rdx, [rbp + 0x590]
mov rcx, rbx
call fcn.140040bf0
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.14003eab0
nop
lea rcx, [rsp + 0x50]
call fcn.14002d3f0
mov al, 1
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret