Function at 0x7a7be0
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0xf4
push 0xffffffffffffffff
push 0x87c4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x100]
xor ebx, ebx
mov esi, dword [ebp + 0xfc]
mov ecx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x38], eax
jb 0x7a7c3a
mov ecx, dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x7a7c44
mov edx, dword [esi]
movzx eax, byte [ebp + 0x104]
xor eax, 1
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x7a861a
xor al, al
mov edi, 0xffff
test al, al
jne 0x7a7cc2
lea eax, [ebp]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7a7ca7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7a7ca7
call fcn.00742270
jmp 0x7a7cac
mov al, byte [0xa5c73c]
test al, al
je 0x7a7cc2
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x7a7cc6
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7a7d31
push dword [ebp + 0x18]
and ebx, 0xfffffffe
mov dword [ebp - 0x14], ebx
call fcn.008058ea
mov edx, dword [ebp + 0x14]
add esp, 4
cmp edx, 8
jb 0x7a7d1d
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a7d13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
cmp byte [ebp - 0xd], 0
je 0x7a8616
mov eax, dword [0xea45bc]
test eax, eax
jne 0x7a7d4e
call fcn.00735360
mov dword [0xea45bc], eax
push eax
push dword [0x9b6a48]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push str.Failed_to_copy_the_file__s_to__s
push eax
call fcn.00736870
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], esi
call fcn.00737b00
cmp esi, eax
je 0x7a7d83
inc word [esi + 8]
or ebx, 2
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
call fcn.00737b00
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
je 0x7a7dc9
add word [ecx + 8], di
jne 0x7a7dc1
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x7a7dc1
cmp byte [edi + 0xa], 0
je 0x7a7db6
push dword [edi]
call fcn.008058ea
add esp, 4
push 0xc
push edi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x4c], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp + 0xb0], 0
mov byte [ebp - 4], 1
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 7
mov word [ebp + 0xb0], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7a7e00
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xb0]
call fcn.00437690
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 4
call fcn.00737b00
mov edi, 0xffff
cmp esi, eax
je 0x7a7e64
add word [esi + 8], di
jne 0x7a7e5c
test esi, esi
je 0x7a7e5c
cmp byte [esi + 0xa], 0
je 0x7a7e51
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x30], eax
mov dword [ebp + 0xc8], 0
mov dword [ebp + 0xcc], 0
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp - 4], 5
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x90], eax
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0xa4], 7
mov word [ebp + 0x90], ax
mov dword [ebp + 0xa8], eax
mov dword [ebp + 0xac], eax
mov byte [ebp - 4], 7
call fcn.0074aab0
test eax, eax
je 0x7a7f01
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebp + 0x90]
push ecx
lea ecx, [ebp + 0xb0]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x7a7f12
lea eax, [ebp + 0xb0]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
call fcn.00737b00
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
call fcn.00737b00
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov eax, dword [0xea45bc]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x7a7f53
call fcn.00735360
mov dword [0xea45bc], eax
push eax
push dword [0x9b6a48]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xb
push str.wx.sys_error
push eax
call fcn.00736870
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x34], esi
call fcn.00737b00
cmp esi, eax
je 0x7a7f85
inc word [esi + 8]
or ebx, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xd
call fcn.00737b00
mov ecx, dword [ebp - 0x54]
cmp ecx, eax
je 0x7a7fcb
add word [ecx + 8], di
jne 0x7a7fc3
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x7a7fc3
cmp byte [edi + 0xa], 0
je 0x7a7fb8
push dword [edi]
call fcn.008058ea
add esp, 4
push 0xc
push edi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x54], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp + 0xd0], 0
mov byte [ebp - 4], 0xb
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7a8000
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xd0]
call fcn.00437690
and ebx, 0xfffffffb
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xe
call fcn.00737b00
cmp esi, eax
je 0x7a8061
mov eax, 0xffff
add word [esi + 8], ax
jne 0x7a8059
test esi, esi
je 0x7a8059
cmp byte [esi + 0xa], 0
je 0x7a804e
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x34], eax
mov dword [ebp + 0xe8], 0
mov dword [ebp + 0xec], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x11
mov dword [ebp + 0x20], 1
mov dword [ebp + 0x28], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommon_filefn.cpp
mov dword [ebp + 0x30], str.wxCopyFile
mov dword [ebp + 0x2c], 0x389
mov dword [ebp + 0x34], 0x8a64f0
movlpd qword [ebp + 0x38], xmm0
movlpd qword [ebp + 0x40], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x48], eax
xor eax, eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 0x12
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp + 0x60], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x7a814a
cmp dword [0xa5c6a0], 0
je 0x7a814a
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_log.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7a814a
mov byte [0xea464c], 0
int3
cmp dword [ebp + 0xe4], 8
lea eax, [ebp + 0xd0]
push dword [ebp + 0xe0]
cmovae eax, dword [ebp + 0xd0]
lea ecx, [ebp + 0x50]
push eax
call fcn.00437690
mov edi, dword [ebp + 0x4c]
test edi, edi
jne 0x7a81dc
push 0x20
call fcn.007fff35
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 0x13
test edi, edi
je 0x7a81d3
push 0x64
call fcn.00761010
push 4
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call fcn.0080ee80
mov dword [edi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x14
push 0x64
mov dword [ebp - 0x44], esi
call fcn.00761010
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0
call fcn.0080ee80
mov dword [esi], eax
add esp, 0x18
mov esi, dword [ebp - 0x18]
jmp 0x7a81d5
xor edi, edi
mov byte [ebp - 4], 0x12
mov dword [ebp + 0x4c], edi
lea eax, [ebp + 0xd0]
mov ecx, edi
push eax
call fcn.004ebd10
mov dword [eax], esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
push 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
call fcn.00745400
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7a8244
cmp dword [0xa5c6a0], 0
je 0x7a8244
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
push 0x241
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7a8244
mov byte [0xea464c], 0
int3
lea eax, [ebp - 0x60]
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call fcn.00745400
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7a8298
cmp dword [0xa5c6a0], 0
je 0x7a8298
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
push 0x241
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7a8298
mov byte [0xea464c], 0
int3
lea ecx, [ebp - 0x2c]
call fcn.00744b60
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00746230
push eax
lea ecx, [ebp - 0x40]
call fcn.00746230
push eax
lea eax, [ebp + 0x20]
push esi
push eax
call fcn.004cc740
add esp, 0x10
cmp byte [ebp - 0x58], 0
je 0x7a82e0
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x7a82e0
mov ecx, esi
call fcn.00436d10
push 0x20
push esi
call fcn.007fff65
add esp, 8
cmp byte [ebp - 0x64], 0
je 0x7a82ff
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x7a82ff
mov ecx, esi
call fcn.00436d10
push 0x20
push esi
call fcn.007fff65
add esp, 8
push dword [ebp + 0x68]
mov byte [ebp - 4], 0xf
call fcn.008058ea
mov edx, dword [ebp + 0x64]
add esp, 4
cmp edx, 8
jb 0x7a8348
mov ecx, dword [ebp + 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a833e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
test esi, esi
je 0x7a83b2
push 0x4cc550
push dword [esi + 0x10]
mov byte [ebp - 4], 0x18
push dword [esi + 0x14]
call fcn.00760fc0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.008058ea
push 0x4cc530
push dword [esi]
mov byte [ebp - 4], 0x19
push dword [esi + 4]
call fcn.00760fc0
push dword [esi]
mov dword [esi + 8], 0
call fcn.008058ea
push 0x20
push esi
call fcn.007fff65
add esp, 0x28
push dword [ebp + 0xe8]
mov byte [ebp - 4], 0xa
call fcn.008058ea
mov edx, dword [ebp + 0xe4]
add esp, 4
cmp edx, 8
jb 0x7a8404
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a83fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
mov byte [ebp - 4], 0x1a
call fcn.00737b00
mov ecx, dword [ebp - 0x24]
mov edi, 0xffff
cmp ecx, eax
je 0x7a8449
add word [ecx + 8], di
jne 0x7a8441
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x7a8441
cmp byte [esi + 0xa], 0
je 0x7a8436
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1b
call fcn.00737b00
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x7a8489
add word [ecx + 8], di
jne 0x7a8481
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x7a8481
cmp byte [esi + 0xa], 0
je 0x7a8476
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x1c
call fcn.00737b00
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
je 0x7a84c9
add word [ecx + 8], di
jne 0x7a84c1
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x7a84c1
cmp byte [esi + 0xa], 0
je 0x7a84b6
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x2c], eax
push dword [ebp + 0xa8]
mov byte [ebp - 4], 6
call fcn.008058ea
mov edx, dword [ebp + 0xa4]
add esp, 4
cmp edx, 8
jb 0x7a851b
mov ecx, dword [ebp + 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a8511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp + 0x88]
xor eax, eax
mov dword [ebp + 0xa0], 0
mov dword [ebp + 0xa4], 7
mov word [ebp + 0x90], ax
mov byte [ebp - 4], 5
call fcn.008058ea
mov edx, dword [ebp + 0x84]
add esp, 4
cmp edx, 8
jb 0x7a8587
mov ecx, dword [ebp + 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a857d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
push dword [ebp + 0xc8]
xor eax, eax
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov dword [ebp - 4], 0xffffffff
call fcn.008058ea
mov edx, dword [ebp + 0xc4]
add esp, 4
cmp edx, 8
jb 0x7a85f2
mov ecx, dword [ebp + 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7a85e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7a863f
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp + 0xc0], 0
mov word [ebp + 0xb0], ax
mov al, 1
mov dword [ebp + 0xc4], 7
jmp 0x7a7c66
xor al, al
jmp 0x7a861c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.008001d2
lea esp, [ebp + 0xf4]
pop ebp
ret
call fcn.00805899
int3