Function at 0x1400984f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r15, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x30], r13d
cmp qword [rcx + 0x18], 8
jb 0x140098540
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r12d, eax
test eax, eax
je 0x140098ea2
xor cl, cl
mov edi, 0xffff
lea rdx, [0x14033a5f8]
test cl, cl
jne 0x1400985b1
lea rcx, [rbp + 0x10]
call fcn.140044710
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x1404c4ab8], 0
je 0x140098595
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x140098595
call fcn.140051d10
jmp 0x14009859c
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400985b1
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x1400985b1
mov bl, 1
jmp 0x1400985b3
xor bl, bl
test r14b, 1
je 0x1400985d5
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x10]
call fcn.1400119a0
test bl, bl
je 0x140098ea2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x1400985ff
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.File__s_couldnt_be_removed
lea rcx, [rbp - 0x48]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rbp - 0x60], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14009862f
inc word [rbx + 0x10]
or r14d, 2
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x48]
cmp rcx, rax
je 0x14009867f
add word [rcx + 0x10], di
jne 0x140098676
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x140098671
cmp byte [rdi + 0x12], 0
je 0x140098664
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x48], rax
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400986a0
lea rcx, [rbp + 0x10]
call fcn.140010110
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x1400986f2
add word [rbx + 0x10], di
jne 0x1400986e9
cmp byte [rbx + 0x12], 0
je 0x1400986dc
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14003b258
call fcn.140044e20
mov qword [rbp - 0x60], rax
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], r13
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r13w
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
call fcn.14007be90
test rax, rax
je 0x140098769
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x140098775
lea rcx, [rbp + 0x10]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x38], rax
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x1400987b5
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x38]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rbp - 0x58], rbx
call fcn.140044e20
cmp rbx, rax
je 0x1400987e5
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x38]
cmp rcx, rax
je 0x140098835
add word [rcx + 0x10], di
jne 0x14009882c
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x140098827
cmp byte [rdi + 0x12], 0
je 0x14009881a
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x38], rax
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140098850
lea rcx, [rbp - 0x20]
call fcn.140010110
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x1400988a2
add word [rbx + 0x10], di
jne 0x140098899
cmp byte [rbx + 0x12], 0
je 0x14009888c
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14003b258
call fcn.140044e20
mov qword [rbp - 0x58], rax
mov qword [rbp], r13
mov qword [rbp + 8], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov rsi, r15
cmp qword [r15 + 0x18], 8
jb 0x1400988c7
mov rsi, qword [r15]
mov rdi, qword [r15 + 0x10]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x140098ed8
mov qword [rbp - 0x78], 7
cmp rdi, 8
jae 0x1400988fa
mov qword [rbp - 0x80], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x70], xmm0
jmp 0x14009894f
mov rbx, rdi
or rbx, 7
mov qword [rsp + 0x68], rbx
cmp rbx, rax
jbe 0x140098910
mov rbx, rax
jmp 0x140098921
mov eax, 0xa
mov qword [rsp + 0x68], rax
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x70]
call fcn.140011b20
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov dword [rbp + 0xa0], 1
lea rax, str.C:LibrarieswxWidgets3.2.4_srccommon_filefn.cpp
mov qword [rbp + 0xa8], rax
lea rax, str.wxRemoveFile
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb0], 0x415
lea rax, [0x14033a5f8]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], r13
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0xd8], eax
mov qword [rbp + 0xe0], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], r13w
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x110], r13
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp qword [rbp + 0xf8], 0
je 0x140098a48
cmp qword [0x1404b3060], 0
je 0x140098a48
lea rax, str.can_only_have_one_optional_value
mov qword [rsp + 0x20], rax
lea r9, str.m_optKey.empty__
lea r8, str.wxLogger::MaybeStore
mov edx, 0x39e
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxlog.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x140098a48
mov byte [0x1404c47a8], 0
int3
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0xe8]
call fcn.140038360
mov rdi, qword [rbp + 0xe0]
test rdi, rdi
jne 0x140098ad4
lea ecx, [rdi + 0x40]
call fcn.14003b21c
mov rdi, rax
mov qword [rbp - 0x28], rax
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r13
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rdi], rax
lea rbx, [rdi + 0x20]
mov qword [rbp - 0x50], rbx
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], r13
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp + 0xe0], rdi
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14005a060
mov qword [rax], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x140098b4b
cmp qword [0x1404b3060], 0
je 0x140098b4b
lea rax, str.format_specifier_doesnt_match_argument_type
mov qword [rsp + 0x20], rax
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
mov edx, 0x230
lea rcx, str.C:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x140098b4b
mov byte [0x1404c47a8], 0
int3
lea rcx, [rsp + 0x38]
call fcn.140055070
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140056960
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.14003f190
nop
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x70]
call fcn.1400119a0
nop
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x100]
cmp rdx, 8
jb 0x140098bdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098bd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e7f
call fcn.14003b258
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], r13w
mov rbx, qword [rbp + 0xe0]
test rbx, rbx
je 0x140098c55
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r13
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14003b258
nop
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140098ca0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098c9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e86
call fcn.14003b258
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
mov edi, 0xffff
cmp rcx, rax
je 0x140098cea
add word [rcx + 0x10], di
jne 0x140098ce0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140098ce0
cmp byte [rbx + 0x12], 0
je 0x140098cd3
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14003b258
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140098d2f
add word [rcx + 0x10], di
jne 0x140098d25
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140098d25
cmp byte [rbx + 0x12], 0
je 0x140098d18
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14003b258
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x140098d74
add word [rcx + 0x10], di
jne 0x140098d6a
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140098d6a
cmp byte [rbx + 0x12], 0
je 0x140098d5d
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14003b258
call fcn.140044e20
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140098dbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e8d
call fcn.14003b258
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r13w
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140098e1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e94
call fcn.14003b258
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140098e78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098e73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e9b
call fcn.14003b258
mov cl, 1
jmp 0x140098558
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r12d, r12d
sete al
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14003b100
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140011a10
nop
int3