Function at 0x140095fa0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r12, rdx
mov r15, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x30], r13d
cmp qword [rdx + 0x18], 8
jb 0x140095feb
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140095ff5
mov rcx, qword [rcx]
movzx r8d, r8b
xor r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400969a7
mov edi, 0xffff
lea rsi, [0x14033a5f8]
test al, al
jne 0x14009606c
mov rdx, rsi
lea rcx, [rbp + 0x28]
call fcn.140044710
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x1404c4ab8], 0
je 0x140096050
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x140096050
call fcn.140051d10
jmp 0x140096057
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14009606c
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x14009606c
mov bl, 1
jmp 0x14009606e
xor bl, bl
test r14b, 1
je 0x140096090
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x28]
call fcn.1400119a0
test bl, bl
je 0x1400969a3
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x28], rax
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x1400960c2
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.Failed_to_copy_the_file__s_to__s
lea rcx, [rbp - 0x48]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rbp - 0x68], rbx
call fcn.140044e20
cmp rbx, rax
je 0x1400960f2
inc word [rbx + 0x10]
or r14d, 2
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x48]
cmp rcx, rax
je 0x140096142
add word [rcx + 0x10], di
jne 0x140096139
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x140096134
cmp byte [rdi + 0x12], 0
je 0x140096127
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 + 0x28], xmm0
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], r13
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140096160
lea rcx, [rbp + 0x28]
call fcn.140010110
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x1400961b2
add word [rbx + 0x10], di
jne 0x1400961a9
cmp byte [rbx + 0x12], 0
je 0x14009619c
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 - 0x68], rax
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r13w
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], r13
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r13w
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r13
call fcn.14007be90
test rax, rax
je 0x140096235
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x140096241
lea rcx, [rbp + 0x28]
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 0x140096281
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 - 0x60], rbx
call fcn.140044e20
cmp rbx, rax
je 0x1400962b1
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x38]
cmp rcx, rax
je 0x140096301
add word [rcx + 0x10], di
jne 0x1400962f8
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400962f3
cmp byte [rdi + 0x12], 0
je 0x1400962e6
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 - 8], xmm0
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140096320
lea rcx, [rbp - 8]
call fcn.140010110
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x140096372
add word [rbx + 0x10], di
jne 0x140096369
cmp byte [rbx + 0x12], 0
je 0x14009635c
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 + 0x18], r13
mov qword [rbp + 0x20], r13
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r13
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x78], 0
lea rax, [rsp + 0x68]
mov qword [rbp - 0x18], rax
mov dword [rbp + 0xc0], 1
lea rax, str.C:LibrarieswxWidgets3.2.4_srccommon_filefn.cpp
mov qword [rbp + 0xc8], rax
lea rax, str.wxCopyFile
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0xd0], 0x389
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xf0], r13
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0xf8], eax
mov qword [rbp + 0x100], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 7
mov word [rbp + 0x108], r13w
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], r13
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp qword [rbp + 0x118], 0
je 0x140096486
cmp qword [0x1404b3060], 0
je 0x140096486
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 0x140096486
mov byte [0x1404c47a8], 0
int3
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
lea rcx, [rbp + 0x108]
call fcn.140038360
mov rdi, qword [rbp + 0x100]
test rdi, rdi
jne 0x140096512
lea ecx, [rdi + 0x40]
call fcn.14003b21c
mov rdi, rax
mov qword [rbp - 0x10], 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 + 0x100], rdi
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.14005a060
mov qword [rax], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
lea rsi, str.format_specifier_doesnt_match_argument_type
cmp ecx, eax
je 0x140096588
cmp qword [0x1404b3060], 0
je 0x140096588
mov qword [rsp + 0x20], rsi
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
mov edx, 0x241
lea rcx, str.C:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x140096588
mov byte [0x1404c47a8], 0
int3
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400965e8
cmp qword [0x1404b3060], 0
je 0x1400965e8
mov qword [rsp + 0x20], rsi
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
mov edx, 0x241
lea rcx, str.C:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400965e8
mov byte [0x1404c47a8], 0
int3
lea rcx, [rsp + 0x38]
call fcn.140055070
mov rdi, rax
lea rcx, [rsp + 0x60]
call fcn.140056940
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.140056940
mov r8, rax
mov r9, rbx
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.14003f190
nop
cmp byte [rsp + 0x78], 0
je 0x140096652
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140096652
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.1400119a0
mov edx, Ordinal_50
mov rcx, rbx
call fcn.14003b258
nop
cmp byte [rbp - 0x70], 0
je 0x140096681
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140096681
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.1400119a0
mov edx, Ordinal_50
mov rcx, rbx
call fcn.14003b258
nop
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x120]
cmp rdx, 8
jb 0x1400966d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400966cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096980
call fcn.14003b258
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 7
mov word [rbp + 0x108], r13w
mov rbx, qword [rbp + 0x100]
test rbx, rbx
je 0x14009674c
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 + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140096797
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096987
call fcn.14003b258
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
mov edi, 0xffff
cmp rcx, rax
je 0x1400967e1
add word [rcx + 0x10], di
jne 0x1400967d7
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400967d7
cmp byte [rbx + 0x12], 0
je 0x1400967ca
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 0x140096826
add word [rcx + 0x10], di
jne 0x14009681c
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14009681c
cmp byte [rbx + 0x12], 0
je 0x14009680f
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 0x14009686b
add word [rcx + 0x10], di
jne 0x140096861
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140096861
cmp byte [rbx + 0x12], 0
je 0x140096854
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 + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x1400968b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400968b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009698e
call fcn.14003b258
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r13w
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 0x140096919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096995
call fcn.14003b258
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r13w
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140096979
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096974
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009699c
call fcn.14003b258
mov al, 1
jmp 0x140096010
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
xor al, al
jmp 0x1400969a9
mov al, 1
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14003b100
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret