Function at 0x1403ab47c
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 0x1403ab522
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
lea ebx, [r14 + 0x18]
mov r11, qword [rdi + 0x340]
cmp r11, r14
je 0x1403ab51b
xor r8d, r8d
mov edx, ebx
lea ecx, [r8 + 3]
call r11
mov eax, ebx
jmp 0x1403ab959
mov ebx, dword [rdi + 0x264]
cmp ebx, r14d
jne 0x1403ab54e
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.1403ab07c
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 0x1403ab590
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
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 0x1403ab503
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, r14
mov rbp, rax
jne 0x1403ab5ac
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1403ab566
mov dword [0x1404eabe8], r14d
mov rax, qword [rdi + 0x340]
mov dword [rsp + 0xd8], r14d
cmp rax, r14
mov dword [rsp + 0xe8], r14d
je 0x1403ab5e7
xor r8d, r8d
mov edx, ebx
lea r14d, [r8 + 1]
mov ecx, r14d
call rax
cmp eax, 4
jne 0x1403ab620
mov r15d, r14d
jmp 0x1403ab620
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1403aadc0
cmp rax, r14
mov rsi, rax
jne 0x1403ab606
mov eax, reloc.WS2_32.dll_socket
jmp 0x1403ab959
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 0x1403ab7b2
cmp r15d, ebx
jne 0x1403ab7be
cmp qword [rdi + 0x340], rbx
jne 0x1403ab677
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 0x1403ab677
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 0x1403ab6a9
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 0x1403ab6be
cmp eax, 2
jne 0x1403ab6b7
mov rcx, qword [rdi + 0x2a0]
jmp 0x1403ab689
mov eax, dword [rsp + 0xe0]
cmp eax, ebx
je 0x1403ab8d5
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 0x1403ab89b
lea r8, [rsp + 0x44]
lea rdx, str.Error_Response_
mov rcx, rbp
call fcn.1403a9bc8
test eax, eax
jne 0x1403ab837
mov r8d, dword [rsp + 0xd8]
mov rdx, rbp
mov rcx, r12
call fcn.1403ab00c
test eax, eax
mov ebx, eax
jne 0x1403ab7f9
mov ecx, dword [rsp + 0xe8]
xor ebx, ebx
add ecx, dword [rsp + 0xd8]
cmp ecx, ebx
mov dword [rsp + 0xe8], ecx
jle 0x1403ab767
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 0x1403ab76b
mov ecx, dword [rsp + 0x40]
mov rax, qword [rdi + 0x340]
cmp rax, rbx
je 0x1403ab790
xor r8d, r8d
mov edx, ecx
lea ecx, [r8 + 2]
call rax
cmp eax, 4
jne 0x1403ab7a7
mov dword [0x1404eabe8], r14d
jmp 0x1403ab7a7
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 [0x1404eabe8], ebx
je 0x1403ab627
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 0x1403ab92a
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 5]
call r11
jmp 0x1403ab938
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403ab820
xor r8d, r8d
mov edx, ebx
lea ecx, [r8 + 3]
call r11
jmp 0x1403ab90d
test rsi, rsi
je 0x1403ab90d
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1403ab90d
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403ab85c
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403ab86a
test rsi, rsi
je 0x1403ab86a
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 0x1403ab959
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
mov r11, qword [rdi + 0x340]
test r11, r11
je 0x1403ab8c0
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403ab8ce
test rsi, rsi
je 0x1403ab8ce
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, 0x1a
jmp 0x1403ab90d
mov rdx, rdi
xor ecx, ecx
call fcn.1403aa1c8
mov r11, qword [rdi + 0x340]
cmp r11, rbx
je 0x1403ab8fa
xor r8d, r8d
lea edx, [r8 + 0xd]
lea ecx, [rdx - 0xa]
call r11
jmp 0x1403ab908
cmp rsi, rbx
je 0x1403ab908
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 0x1403ab945
cmp rsi, rbx
je 0x1403ab938
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x1404eabe8], ebx
je 0x1403ab957
mov ebx, reloc.WS2_32.dll_shutdown
mov rcx, qword [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1403ab51b
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