Function at 0x447dd0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518899
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov ecx, edx
mov al, byte [ebp + 0x10]
mov dword [ebp - 0x108], ebx
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], edx
jb 0x447e25
mov ecx, dword [edx]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x447e2f
mov edx, dword [esi]
movzx eax, al
xor eax, 1
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44887b
xor al, al
mov edi, 0xffff
nop dword [eax]
test al, al
jne 0x447eb5
lea eax, [ebp - 0x100]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x108], ebx
je 0x447e97
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x447e97
call fcn.004667a0
jmp 0x447e9c
mov al, byte [0x5785ac]
test al, al
je 0x447eb5
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x101], 1
cmp eax, 1
jae 0x447ebc
mov byte [ebp - 0x101], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x447f3c
push dword [ebp - 0xe8]
and ebx, 0xfffffffe
mov dword [ebp - 0x108], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0xec]
add esp, 4
cmp ecx, 8
jb 0x447f1f
mov edx, dword [ebp - 0x100]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x447f15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
cmp byte [ebp - 0x101], 0
je 0x448877
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x447f5c
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 1
push str.Failed_to_copy_the_file__s_to__s
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 2
mov dword [ebp - 0x124], esi
call fcn.0043fb80
cmp esi, eax
je 0x447f97
inc word [esi + 8]
or ebx, 2
mov dword [ebp - 0x108], ebx
mov byte [ebp - 4], 3
call fcn.0043fb80
mov ecx, dword [ebp - 0x140]
cmp ecx, eax
je 0x447fe9
add word [ecx + 8], di
jne 0x447fde
mov edi, dword [ebp - 0x140]
test edi, edi
je 0x447fde
cmp byte [edi + 0xa], 0
je 0x447fd3
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x140], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448010
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00420000
and ebx, 0xfffffffd
mov dword [ebp - 0x108], ebx
mov dword [ebp - 4], 4
call fcn.0043fb80
mov edi, 0xffff
cmp esi, eax
je 0x448073
add word [esi + 8], di
jne 0x448068
cmp byte [esi + 0xa], 0
je 0x44805d
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 7
call fcn.00467dd0
test eax, eax
je 0x4480ef
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x4480fd
lea eax, [ebp - 0x50]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 8
call fcn.0043fb80
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 9
call fcn.0043fb80
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], 0
mov eax, dword [0x57bfc0]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x44814d
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xb
push str.wx.sys_error
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x128], esi
call fcn.0043fb80
cmp esi, eax
je 0x448185
inc word [esi + 8]
or ebx, 4
mov dword [ebp - 0x108], ebx
mov byte [ebp - 4], 0xd
call fcn.0043fb80
mov ecx, dword [ebp - 0x148]
cmp ecx, eax
je 0x4481d7
add word [ecx + 8], di
jne 0x4481cc
mov edi, dword [ebp - 0x148]
test edi, edi
je 0x4481cc
cmp byte [edi + 0xa], 0
je 0x4481c1
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x148], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448200
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
and ebx, 0xfffffffb
mov dword [ebp - 0x108], ebx
mov byte [ebp - 4], 0xe
call fcn.0043fb80
cmp esi, eax
je 0x448260
mov eax, 0xffff
add word [esi + 8], ax
jne 0x448255
cmp byte [esi + 0xa], 0
je 0x44824a
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x158], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x14c], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xd8], str.D:wxWidgets_3.2.0_srccommon_filefn.cpp
mov dword [ebp - 0xd0], str.wxCopyFile
mov dword [ebp - 0xd4], 0x389
mov dword [ebp - 0xcc], 0x52a774
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x12
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0xa0], 0
mov dword [ebp - 0x10c], eax
je 0x44838c
cmp dword [0x57857c], 0
je 0x44838c
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.D:wxWidgets_3.2.0includewxlog.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x44838c
mov byte [0x57c0ac], 0
int3
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00420000
mov edi, dword [ebp - 0xb4]
test edi, edi
jne 0x448413
push 0x20
call fcn.004c8c7e
mov edi, eax
mov dword [ebp - 0x164], edi
push 0x64
mov byte [ebp - 4], 0x13
call fcn.00462ad0
push 4
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call fcn.004e2542
mov dword [edi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x14
push 0x64
mov dword [ebp - 0x138], esi
call fcn.00462ad0
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0
call fcn.004e2542
mov dword [esi], eax
add esp, 0x1c
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xb4], edi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00447110
mov ecx, dword [ebp - 0x10c]
mov dword [eax], ecx
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x17
push 2
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10c], eax
call fcn.00461630
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x448487
cmp dword [0x57857c], 0
je 0x448487
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.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x448487
mov byte [0x57c0ac], 0
int3
lea eax, [ebp - 0x154]
push 1
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x134], eax
call fcn.00461630
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x4484e4
cmp dword [0x57857c], 0
je 0x4484e4
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.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x4484e4
mov byte [0x57c0ac], 0
int3
lea ecx, [ebp - 0x120]
call fcn.00460dc0
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00462770
push eax
lea ecx, [ebp - 0x134]
call fcn.00462770
push eax
lea eax, [ebp - 0xe0]
push esi
push eax
call fcn.00429810
add esp, 0x10
cmp byte [ebp - 0x14c], 0
je 0x44853e
mov esi, dword [ebp - 0x154]
test esi, esi
je 0x44853e
mov ecx, esi
call fcn.00418510
push 0x20
push esi
call fcn.004c8cae
add esp, 8
cmp byte [ebp - 0x158], 0
je 0x448563
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x448563
mov ecx, esi
call fcn.00418510
push 0x20
push esi
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x98]
mov byte [ebp - 4], 0xf
call fcn.004e0f9d
mov ecx, dword [ebp - 0x9c]
add esp, 4
cmp ecx, 8
jb 0x4485b5
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4485ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
test esi, esi
je 0x44862b
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x18
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x19
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x448674
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44866a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov byte [ebp - 4], 0x1a
call fcn.0043fb80
mov ecx, dword [ebp - 0x118]
mov edi, 0xffff
cmp ecx, eax
je 0x4486c2
add word [ecx + 8], di
jne 0x4486b7
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x4486b7
cmp byte [esi + 0xa], 0
je 0x4486ac
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x1b
call fcn.0043fb80
mov ecx, dword [ebp - 0x11c]
cmp ecx, eax
je 0x44870b
add word [ecx + 8], di
jne 0x448700
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x448700
cmp byte [esi + 0xa], 0
je 0x4486f5
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0x1c
call fcn.0043fb80
mov ecx, dword [ebp - 0x120]
cmp ecx, eax
je 0x448754
add word [ecx + 8], di
jne 0x448749
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x448749
cmp byte [esi + 0xa], 0
je 0x44873e
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x120], eax
push dword [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x44879d
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x448793
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 5
call fcn.004e0f9d
mov ecx, dword [ebp - 0x7c]
add esp, 4
cmp ecx, 8
jb 0x4487fd
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4487f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x44885c
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x448852
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448899
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov al, 1
mov dword [ebp - 0x3c], 7
jmp 0x447e50
xor al, al
jmp 0x44887d
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 - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
call fcn.004ce51f
int3