Function at 0x1403bf8ec
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
mov rdi, rdx
xor r9d, r9d
mov rcx, qword [rdi + 0x268]
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rax + 0x10], r14d
mov dword [rax + 0x18], r14d
mov dword [rsp + 0x40], r14d
mov rsi, r14
mov qword [rax - 0x78], r14
mov r15d, r14d
mov dword [rax - 0x7c], r14d
mov dword [rax - 0x80], r14d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov r12, rax
jne 0x1403bf992
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
lea ebx, [r14 + 0x18]
mov r11, qword [rdi + 0x340]
cmp r11, r14
je 0x1403bf98b
xor r8d, r8d
mov edx, ebx
lea ecx, [r8 + 3]
call r11
mov eax, ebx
jmp 0x1403bfdc9
mov ebx, dword [rdi + 0x264]
cmp ebx, r14d
jne 0x1403bf9be
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.1403bf4ec
mov ebx, dword [rsp + 0xe0]
mov edx, 0x10001
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, r14
mov r13, rax
jne 0x1403bfa00
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 9
jmp 0x1403bf973
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r14
mov rbp, rax
jne 0x1403bfa1c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1403bf9d6
mov dword [0x1404fc468], r14d
mov rax, qword [rdi + 0x340]
mov dword [rsp + 0xd8], r14d
cmp rax, r14
mov dword [rsp + 0xe8], r14d
je 0x1403bfa57
xor r8d, r8d
mov edx, ebx
lea r14d, [r8 + 1]
mov ecx, r14d
call rax
cmp eax, 4
jne 0x1403bfa90
mov r15d, r14d
jmp 0x1403bfa90
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1403bf230
cmp rax, r14
mov rsi, rax
jne 0x1403bfa76
mov eax, reloc.WS2_32.dll_socket
jmp 0x1403bfdc9
mov r14d, 1
movsxd r9, ebx
mov edx, 0x405
mov r8, r14
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
jmp 0x1403bfc22
cmp r15d, ebx
jne 0x1403bfc2e
cmp qword [rdi + 0x340], rbx
jne 0x1403bfae7
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, ebx
je 0x1403bfae7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [rdi + 0x228]
cmp eax, r14d
jne 0x1403bfb19
mov rcx, qword [rdi + reloc.mfc90u.dll_CFileDialog::CFileDialog]
lea r9, [rsp + 0xd8]
mov rdx, rbp
mov r8d, 0x10000
call qword [rdi + reloc.mfc90u.dll_CScrollView::CScrollView]
mov dword [rsp + 0xe0], eax
jmp 0x1403bfb2e
cmp eax, 2
jne 0x1403bfb27
mov rcx, qword [rdi + 0x2a0]
jmp 0x1403bfaf9
mov eax, dword [rsp + 0xe0]
cmp eax, ebx
je 0x1403bfd45
lea rdx, str.Invalid_Data_Entered_
mov rcx, rbp
call sub.MSVCR90.dll_strstr
lea rdx, str.SWKEY_Error_Response__100_
mov rcx, rbp
test rax, rax
setne bl
call sub.MSVCR90.dll_strstr
xor ecx, ecx
test rax, rax
setne cl
or ecx, ebx
jne 0x1403bfd0b
lea r8, [rsp + 0x44]
lea rdx, str.Error_Response_
mov rcx, rbp
call fcn.1403be038
test eax, eax
jne 0x1403bfca7
mov r8d, dword [rsp + 0xd8]
mov rdx, rbp
mov rcx, r12
call fcn.1403bf47c
test eax, eax
mov ebx, eax
jne 0x1403bfc69
mov ecx, dword [rsp + 0xe8]
xor ebx, ebx
add ecx, dword [rsp + 0xd8]
cmp ecx, ebx
mov dword [rsp + 0xe8], ecx
jle 0x1403bfbd7
mov eax, 0x10624dd3
imul ecx
mov ecx, edx
sar ecx, 6
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov dword [rsp + 0x40], ecx
jmp 0x1403bfbdb
mov ecx, dword [rsp + 0x40]
mov rax, qword [rdi + 0x340]
cmp rax, rbx
je 0x1403bfc00
xor r8d, r8d
mov edx, ecx
lea ecx, [r8 + 2]
call rax
cmp eax, 4
jne 0x1403bfc17
mov dword [0x1404fc468], r14d
jmp 0x1403bfc17
movsxd r9, ecx
mov edx, 0x405
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rsp + 0xd8], ebx
cmove r15d, r14d
cmp dword [0x1404fc468], ebx
je 0x1403bfa97
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rdi + 0x340]
cmp r11, rbx
je 0x1403bfd9a
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 5]
call r11
jmp 0x1403bfda8
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403bfc90
xor r8d, r8d
mov edx, ebx
lea ecx, [r8 + 3]
call r11
jmp 0x1403bfd7d
test rsi, rsi
je 0x1403bfd7d
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1403bfd7d
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403bfccc
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403bfcda
test rsi, rsi
je 0x1403bfcda
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [rsp + 0x44]
jmp 0x1403bfdc9
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403bfd30
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403bfd3e
test rsi, rsi
je 0x1403bfd3e
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, 0x1a
jmp 0x1403bfd7d
mov rdx, rdi
xor ecx, ecx
call fcn.1403be638
mov r11, qword [rdi + 0x340]
cmp r11, rbx
je 0x1403bfd6a
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403bfd78
cmp rsi, rbx
je 0x1403bfd78
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, recv
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1403bfdb5
cmp rsi, rbx
je 0x1403bfda8
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x1404fc468], ebx
je 0x1403bfdc7
mov ebx, reloc.WS2_32.dll_shutdown
mov rcx, qword [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1403bf98b
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret