Function at 0x14009f780
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
lea r15, [rcx + 0x30]
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x30], r12d
add rcx, 0x60
call fcn.14009d490
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14009f7dd
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x1400a007a
xor al, al
mov r13d, 0xffff
lea rdx, [0x14033a5f8]
test al, al
jne 0x14009f84f
lea rcx, [rbp + 0xf0]
call fcn.140044710
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x1404c4ab8], 0
je 0x14009f833
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x14009f833
call fcn.140051d10
jmp 0x14009f83a
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14009f84f
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x14009f84f
mov bl, 1
jmp 0x14009f851
xor bl, bl
test r14b, 1
je 0x14009f879
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xf0]
call fcn.1400119a0
test bl, bl
je 0x1400a007a
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14009f8a3
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.cant_remove_temporary_file__s
lea rcx, [rbp - 0x48]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rbp - 0x60], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14009f8d3
inc word [rbx + 0x10]
or r14d, 2
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x48]
cmp rcx, rax
je 0x14009f91f
add word [rcx + 0x10], r13w
jne 0x14009f916
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x14009f916
cmp byte [rdi + 0x12], 0
je 0x14009f909
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
call fcn.140044e20
mov qword [rbp - 0x48], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xf0]
call fcn.1400476b0
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x14009f96d
add word [rbx + 0x10], r13w
jne 0x14009f964
cmp byte [rbx + 0x12], 0
je 0x14009f957
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 + 0x110], r12
mov qword [rbp + 0x118], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r12w
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
mov qword [rbp], r12
mov qword [rbp + 8], r12
call fcn.14007be90
test rax, rax
je 0x14009f9e1
lea r9, [rbp + 0x10]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x14009f9f0
lea rcx, [rbp + 0xf0]
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], r12
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14009fa30
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 0x14009fa60
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x38]
cmp rcx, rax
je 0x14009faac
add word [rcx + 0x10], r13w
jne 0x14009faa3
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x14009faa3
cmp byte [rdi + 0x12], 0
je 0x14009fa96
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
call fcn.140044e20
mov qword [rbp - 0x38], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xc0]
call fcn.1400476b0
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x14009fafa
add word [rbx + 0x10], r13w
jne 0x14009faf1
cmp byte [rbx + 0x12], 0
je 0x14009fae4
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 + 0xe0], r12
mov qword [rbp + 0xe8], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rsi, r15
cmp qword [r15 + 0x18], 8
jb 0x14009fb25
mov rsi, qword [r15]
mov rdi, qword [r15 + 0x10]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x1400a00aa
mov qword [rbp - 0x78], 7
cmp rdi, 8
jae 0x14009fb58
mov qword [rbp - 0x80], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x70], xmm0
jmp 0x14009fbad
mov rbx, rdi
or rbx, 7
mov qword [rsp + 0x68], rbx
cmp rbx, rax
jbe 0x14009fb6e
mov rbx, rax
jmp 0x14009fb7f
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], r12
mov qword [rbp - 0x68], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x40], 1
lea rax, str.C:LibrarieswxWidgets3.2.4_srccommon_file.cpp
mov qword [rbp + 0x48], rax
lea rax, str.wxTempFile::Discard
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x50], 0x265
lea rax, [0x14033a5f8]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x78], eax
mov qword [rbp + 0x80], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r12w
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], r12
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp qword [rbp + 0x98], 0
je 0x14009fc8e
cmp qword [0x1404b3060], 0
je 0x14009fc8e
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 0x14009fc8e
mov byte [0x1404c47a8], 0
int3
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
lea rcx, [rbp + 0x88]
call fcn.140038360
mov rdi, qword [rbp + 0x80]
test rdi, rdi
jne 0x14009fd26
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], r12
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], r12
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp + 0x80], rdi
lea rdx, [rbp + 0xc0]
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 0x14009fda0
cmp qword [0x1404b3060], 0
je 0x14009fda0
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 0x14009fda0
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 + 0x40]
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 + 0xa8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x14009fe2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009fe2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0065
call fcn.14003b258
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r12w
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x14009fea7
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r12
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], r12
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 + 0xe0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xc0]
call fcn.1400119a0
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x14009ff07
add word [rcx + 0x10], r13w
jne 0x14009fefd
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14009fefd
cmp byte [rbx + 0x12], 0
je 0x14009fef0
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 0x14009ff4d
add word [rcx + 0x10], r13w
jne 0x14009ff43
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14009ff43
cmp byte [rbx + 0x12], 0
je 0x14009ff36
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 0x14009ff93
add word [rcx + 0x10], r13w
jne 0x14009ff89
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14009ff89
cmp byte [rbx + 0x12], 0
je 0x14009ff7c
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]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14009ffdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009ffd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a006c
call fcn.14003b258
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
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 0x1400a0034
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a002f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a0073
call fcn.14003b258
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r12w
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xf0]
call fcn.1400119a0
mov al, 1
jmp 0x14009f7f3
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
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