Function at 0x10044a10
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100b3463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x514
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x30], ebx
call fcn.10044980
mov edi, dword [esp + 0x540]
lea ecx, [esp + 0x18]
push edi
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x324]
lea ecx, [esp + 0x224]
push eax
lea edx, [esp + 0x428]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x50]
push edx
push eax
push ecx
mov dword [esp + 0x540], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.MSVCRT.dll__splitpath]
mov cl, byte [esp + 0x338]
add esp, 0x14
xor edx, edx
test cl, cl
setne dl
mov esi, edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], esi
call fcn.100ae9aa
lea ecx, [esp + 0xb4]
mov byte [esp + 0x52c], 1
call fcn.100ae9aa
lea ecx, [esp + 0x8c]
mov byte [esp + 0x52c], 2
call fcn.100ae9aa
cmp esi, ebx
mov byte [esp + 0x52c], 3
je 0x10044c58
mov eax, dword [esp + 0x18]
push 2
push 0x100e533c
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10044bc0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x120]
mov byte [esp + 0x52c], 4
push ecx
push 0x104
call fcn.1009e2c0
add esp, 8
test eax, eax
je 0x10044baf
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x10044baf
lea eax, [esp + 0x28]
lea ecx, [esp + 0x110]
push eax
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jl 0x10044baf
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x120]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_S.oxd
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
add esp, 0x10
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, ebx
mov dword [esp + 0x40], eax
jne 0x10044ba1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
jmp 0x10044baf
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x52c], 3
call fcn.100ae920
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa0]
push eax
push ecx
push 9
push edx
mov dword [esp + 0x2c], ebx
call fcn.10002050
mov esi, eax
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x10], esi
jge 0x10044bf2
cmp esi, 0x80030002
jne 0x10044c38
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push eax
push 0xa
push ecx
call fcn.10001f20
mov esi, eax
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x10], esi
jge 0x10044c1b
cmp esi, 0x80030002
jne 0x10044c38
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x8c]
push edx
push 0xb
push eax
call fcn.10001f20
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10044c46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x10044cc2
cmp esi, 0x80030002
jne 0x100455de
jmp 0x10044cc2
mov edx, dword [esp + 0x18]
push 4
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x10044c76
mov esi, 0x80030002
jmp 0x100455f9
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa0]
push eax
push 0x100e532c
push ecx
call fcn.100a4560
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x100455f9
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x8c]
push edx
push 0x100e5328
push eax
call fcn.100a4560
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], esi
jl 0x100455f9
push edi
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xa8]
mov edi, ecx
add ecx, esi
mov ebx, eax
add ecx, eax
mov dword [esp + 0x38], ebx
test ecx, ecx
mov dword [esp + 0x44], edi
jle 0x1004540b
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xcc]
mov byte [esp + 0x52c], 5
call fcn.100aeac4
lea ecx, [esp + 0xe4]
mov byte [esp + 0x52c], 6
call fcn.100aeac4
lea ecx, [esp + 0xfc]
mov byte [esp + 0x52c], 7
call fcn.100aeac4
xor eax, eax
mov dword [esp + 0xc8], 0x100c9600
mov dword [esp + 0xe0], eax
mov dword [esp + 0xf8], eax
add edi, ebx
mov byte [esp + 0x52c], 8
mov dword [esp + 0x50], edi
lea edx, [edi + edi*4]
shl edx, 2
push edx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push edi
push eax
mov dword [ebp + 0x438], eax
call fcn.1008b210
mov eax, dword [esp + 0x4c]
add esp, 8
add esi, eax
mov dword [esp + 0x28], 0
add ebx, esi
test ebx, ebx
mov dword [esp + 0x34], ebx
jle 0x100452fb
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
jmp 0x10044db5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x10044dfb
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.1000be00
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 9
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x52c], 8
call fcn.100ae920
mov dword [esp + 0x2c], 0xb
jmp 0x10044e85
cmp eax, dword [esp + 0x50]
jge 0x10044e42
sub eax, ecx
lea edx, [esp + 0x58]
push eax
push edx
lea ecx, [esp + 0xbc]
call fcn.1000be00
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x58]
mov byte [esp + 0x52c], 8
call fcn.100ae920
mov dword [esp + 0x2c], 0xc
jmp 0x10044e85
sub eax, dword [esp + 0x44]
sub eax, ecx
lea ecx, [esp + 0x8c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1000be00
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x54]
mov byte [esp + 0x52c], 8
call fcn.100ae920
mov dword [esp + 0x2c], 0xd
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::AllocSysString
mov edi, eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], edi
call fcn.1008b340
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x52c], 0xc
test eax, eax
je 0x10044f38
mov edi, dword [esp + 0x18]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x52c], 0xd
je 0x10044efb
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100af44e
test eax, eax
mov dword [esi], eax
jne 0x10044efd
test edi, edi
je 0x10044efd
push 0x8007000e
call fcn.100af593
jmp 0x10044efd
xor esi, esi
test esi, esi
mov byte [esp + 0x52c], 0xc
mov dword [esp + 0x1c], esi
jne 0x10044f17
push 0x8007000e
call fcn.100af593
or dword [esp + 0x30], 1
test esi, esi
mov byte [esp + 0x52c], 0xe
je 0x10044f30
mov eax, dword [esi]
mov edi, dword [esp + 0x10]
jmp 0x10044f3a
mov edi, dword [esp + 0x10]
xor eax, eax
jmp 0x10044f3a
xor eax, eax
mov ecx, dword [esp + 0x54c]
mov edx, dword [esp + 0x548]
push ecx
mov ecx, dword [esp + 0x548]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x74]
push 0
push eax
lea ecx, [ebp + 0x18]
call fcn.1008b6f0
mov esi, eax
mov al, byte [esp + 0x30]
test al, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x52c], 0xc
je 0x10044fc2
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
and ecx, 0xfffffffe
test eax, eax
mov dword [esp + 0x30], ecx
je 0x10044fc2
mov ecx, eax
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10044fba
mov ecx, dword [esp + 0x1c]
call fcn.10026b70
mov edx, dword [esp + 0x1c]
push edx
call fcn.100ae914
add esp, 4
mov dword [esp + 0x1c], 0
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, 0x80070005
je 0x100452d5
test esi, esi
jl 0x100453d0
mov edi, dword [esp + 0x2c]
mov eax, edi
sub eax, 0xb
je 0x10045034
dec eax
je 0x10045011
dec eax
jne 0x10045063
push 0x58
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x52c], 0x11
je 0x10045057
mov ecx, eax
call fcn.100441d0
jmp 0x10045059
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x52c], 0x10
je 0x10045057
mov ecx, eax
call fcn.100440f0
jmp 0x10045059
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x52c], 0xf
je 0x10045057
mov ecx, eax
call fcn.10044010
jmp 0x10045059
xor eax, eax
mov byte [esp + 0x52c], 0xc
mov ebx, eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x52c], 0x12
test eax, eax
je 0x1004508c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_2
jmp 0x100450c8
lea ecx, [esp + 0x324]
lea edx, [esp + 0x224]
push ecx
lea eax, [esp + 0x428]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea eax, [esp + 0x224]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x538]
mov ecx, dword [esp + 0x534]
push eax
mov eax, dword [ebp + 0x43c]
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebp + 0x438]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 8]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jge 0x10045135
test ebx, ebx
je 0x10045115
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
xor ebx, ebx
cmp edi, 0xd
jne 0x100453bf
cmp esi, 0x80004001
jne 0x100453bf
mov dword [esp + 0x10], ebx
jmp 0x100452c4
xor esi, esi
cmp edi, 0xb
mov dword [esp + 0x14], esi
je 0x10045180
cmp edi, 0xc
je 0x10045180
cmp edi, 0xd
jne 0x10045292
mov ecx, dword [esp + 0x53c]
mov eax, dword [ebx + 0xc]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10045292
cmp ebx, esi
je 0x100452c4
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
jmp 0x100452c4
mov edx, dword [ebp + 0x43c]
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x14]
inc edx
push eax
push ecx
mov dword [ebp + 0x43c], edx
call fcn.100a1cb0
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
je 0x100451c4
cmp dword [eax + 0x100], esi
jne 0x100451c4
push eax
call fcn.100ae914
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x10045292
cmp eax, esi
je 0x10045292
push esi
push esi
push esi
lea edx, [ebp + 0x3e0]
push esi
lea eax, [ebp + 0x3cc]
push edx
push eax
push esi
lea ecx, [esp + 0xe4]
call fcn.100a1180
mov edx, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x124]
push 0xff
push ecx
push edx
lea ecx, [esp + 0xd8]
call fcn.1009d1d0
test eax, eax
jne 0x10045325
lea edi, [esp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
push 0xff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x128]
add edx, 0x104
push ecx
push edx
lea ecx, [esp + 0xd8]
call fcn.1009d1d0
test eax, eax
jne 0x10045396
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x120]
or ecx, 0xffffffff
lea edx, [eax + 0x104]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 4]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
mov dword [ebx + 8], edx
mov esi, dword [ebp + 8]
mov ecx, ebp
mov dword [esp + 0x18], 0
lea eax, [esi + 1]
push eax
call fcn.100a7520
mov ecx, dword [ebp + 4]
mov dword [ecx + esi*4], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x52c], 0xc
call fcn.100ae920
lea ecx, [esp + 0x5c]
mov byte [esp + 0x52c], 8
call fcn.1008b460
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x10044dad
lea ecx, [esp + 0xc8]
mov byte [esp + 0x52c], 5
call fcn.1009d100
lea ecx, [esp + 0x20]
mov byte [esp + 0x52c], 3
call fcn.100ae920
jmp 0x10045524
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x80004005
push edx
call fcn.100ae914
add esp, 4
cmp ebx, esi
mov dword [esp + 0x14], esi
je 0x1004534a
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
lea ecx, [esp + 0x24]
mov byte [esp + 0x52c], 0xc
call fcn.100ae920
lea ecx, [esp + 0x5c]
mov byte [esp + 0x52c], 8
call fcn.1008b460
lea ecx, [esp + 0xc8]
mov byte [esp + 0x52c], 5
call fcn.1009d100
lea ecx, [esp + 0x20]
mov byte [esp + 0x52c], 3
call fcn.100ae920
jmp 0x100455de
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x80004005
push ecx
call fcn.100ae914
add esp, 4
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x100453bf
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
lea ecx, [esp + 0x24]
mov byte [esp + 0x52c], 0xc
call fcn.100ae920
lea ecx, [esp + 0x5c]
mov byte [esp + 0x52c], 8
call fcn.1008b460
lea ecx, [esp + 0xc8]
mov byte [esp + 0x52c], 5
call fcn.1009d100
lea ecx, [esp + 0x20]
mov byte [esp + 0x52c], 3
call fcn.100ae920
jmp 0x100455de
lea ecx, [esp + 0x5c]
call fcn.1008b340
mov edi, dword [esp + 0x18]
mov bl, 0x13
push 0xc
mov byte [esp + 0x530], bl
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov byte [esp + 0x52c], 0x14
je 0x10045467
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100af44e
test eax, eax
mov dword [esi], eax
jne 0x10045469
test edi, edi
je 0x10045469
push 0x8007000e
call fcn.100af593
jmp 0x10045469
xor esi, esi
test esi, esi
mov byte [esp + 0x52c], bl
mov dword [esp + 0x34], esi
jne 0x10045482
push 0x8007000e
call fcn.100af593
test esi, esi
mov byte [esp + 0x52c], 0x15
je 0x10045492
mov eax, dword [esi]
jmp 0x10045494
xor eax, eax
mov ecx, dword [esp + 0x54c]
mov edx, dword [esp + 0x548]
push ecx
mov ecx, dword [esp + 0x548]
push edx
push ecx
push 0
push 0
push eax
lea edx, [esp + 0x74]
push 0
push edx
lea ecx, [ebp + 0x18]
call fcn.1008b6f0
mov edi, eax
mov byte [esp + 0x52c], bl
test esi, esi
mov dword [esp + 0x10], edi
je 0x10045505
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10045505
mov eax, dword [esi]
test eax, eax
je 0x100454ec
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x100454fc
push eax
call fcn.100ae914
add esp, 4
push esi
call fcn.100ae914
add esp, 4
test edi, edi
mov byte [esp + 0x52c], 3
lea ecx, [esp + 0x5c]
jge 0x1004551f
call fcn.1008b460
jmp 0x100455de
call fcn.1008b460
mov eax, dword [ebp + 0x3d4]
test eax, eax
mov dword [ebp + 0x444], eax
jle 0x100455de
lea ecx, [eax + eax*2]
shl ecx, 5
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [ebp + 0x444]
mov dword [ebp + 0x440], eax
push edx
push eax
call fcn.1008b2d0
mov eax, dword [ebp + 0x444]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x100455de
xor esi, esi
mov eax, dword [ebp + 0x3d0]
mov ecx, dword [ebp + 0x440]
push 0x3f
mov edi, dword [eax + ebx*4]
mov byte [ecx + esi], 0x5e
mov edx, dword [ebp + 0x440]
mov eax, dword [edi + 4]
push eax
lea eax, [edx + esi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [ebp + 0x440]
add esp, 0xc
lea edx, [edi + 0x10]
mov byte [ecx + esi + 0x40], 0
mov eax, dword [ebp + 0x440]
push edx
lea ecx, [eax + esi + 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov edx, dword [ebp + 0x440]
mov al, byte [edi + 0xc]
inc ebx
mov byte [edx + esi + 0x58], al
mov ecx, dword [ebp + 0x440]
mov dl, byte [edi + 0x4c]
mov byte [ecx + esi + 0x59], dl
mov eax, dword [ebp + 0x444]
add esi, 0x60
cmp ebx, eax
jl 0x10045569
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100455f1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x10]
test esi, esi
jge 0x10045600
mov ecx, ebp
call fcn.10044980
lea ecx, [esp + 0x8c]
mov byte [esp + 0x52c], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xb4]
mov byte [esp + 0x52c], 1
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xa0]
mov byte [esp + 0x52c], 0
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x18]
mov dword [esp + 0x52c], 0xffffffff
call fcn.100ae920
mov ecx, dword [esp + 0x524]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x520
ret 0x1c