Function at 0x467df5
Capabilities:
Copy file

Disassembly:
mov eax, 0x4ecc20
call fcn.004e1580
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov edi, dword [esi + 4]
cmp edi, ebx
mov dword [ebp - 0x50], edi
je 0x467e1a
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.0045f96a
mov ecx, eax
call fcn.0045f9d8
cmp dword [ebp - 0x14], ebx
je 0x467e57
push esi
call fcn.0045f96a
mov ecx, eax
call fcn.0045fbe2
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x467e57
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call fcn.00468c8f
mov eax, dword [esi + 0x7c]
pop ecx
cmp dword [eax + 0x20], 1
jne 0x4681fa
push edi
mov ecx, esi
mov dword [esi + 0xc], 6
call fcn.00463368
push edi
call fcn.004b66b8
pop ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x5094b0
push edi
mov byte [ebp - 4], 2
call dword [eax]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0x5094f0
push edi
mov byte [ebp - 4], 3
call dword [eax]
cmp edi, ebx
mov dword [ebp - 0x2c], ebx
je 0x467ec0
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x52b438
push edi
call dword [eax]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
je 0x4680c5
mov ebx, dword [esi + 0x84]
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x54], ebx
je 0x467eee
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test ebx, ebx
mov byte [ebp - 4], 5
je 0x467f9c
and dword [ebp - 0x20], 0
and dword [ebp - 0x44], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x28], 0
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
and dword [ebp + 8], 0
cmp dword [ebp - 0x20], 0
pop ecx
mov dword [ebp - 0x38], eax
jle 0x467f9c
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 8]
push ebx
call dword [eax + 0x20]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
cmp dword [ebp - 0x34], 0
je 0x467f91
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
inc dword [ebp - 0x28]
add dword [ebp - 0x30], 4
cmp dword [ebp - 0x1c], 0
mov dword [ecx], eax
jne 0x467f91
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb8]
cmp dword [ebp - 0x48], 2
je 0x467f91
mov dword [ebp - 0x1c], 1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x20]
jl 0x467f3a
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push edi
call dword [eax + 0x2c]
cmp dword [ebp - 0x24], 7
push 0xb
pop ebx
jne 0x467fc2
cmp dword [ebp - 0x1c], 0
je 0x468042
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], ebx
jne 0x468020
cmp dword [ebp - 0x1c], 0
je 0x46809d
call fcn.004cbba4
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x48], ebx
je 0x467fe5
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
and dword [ebp + 8], 0
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push ecx
push ebx
mov byte [ebp - 4], 7
call dword [eax + 0x20]
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x468012
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
mov byte [ebp - 4], 5
je 0x468020
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x46809d
test eax, eax
jl 0x4680a9
cmp eax, 2
jle 0x468042
cmp eax, 7
je 0x468042
cmp eax, 9
jle 0x4680a9
cmp eax, 0xc
jle 0x46809d
jmp 0x4680a9
xor eax, eax
test edi, edi
mov dword [ebp + 8], eax
je 0x46805c
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
push 0x52c800
push edi
call dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
mov byte [ebp - 4], 8
je 0x46808d
push dword [ebp - 0x38]
mov ecx, dword [eax]
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x100]
call fcn.0040ff6c
mov ecx, eax
call fcn.0043cbc1
lea ecx, [eax + 0x21fc]
call fcn.0047385a
mov eax, dword [ebp + 8]
test eax, eax
mov byte [ebp - 4], 5
je 0x4680a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4680a9
cmp dword [esi + 0x3c], 1
jne 0x4680a9
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 4
je 0x4681cc
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4681cc
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0x2c]
cmp dword [ebp - 0x3c], 0xa
je 0x4680df
cmp dword [ebp - 0x3c], 0xc
jne 0x4681cc
cmp dword [esi + 0x3c], 1
jne 0x4681cc
cmp dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x46817f
mov eax, dword [esi]
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [eax + 0x88]
cmp dword [ebp - 0x38], 0
je 0x46813d
and dword [ebp + 8], 0
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push esi
mov byte [ebp - 4], 9
call dword [eax + 0x80]
mov eax, dword [ebp - 0x18]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
push dword [ebp + 8]
mov byte [ebp - 4], 4
call ebx
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00463c60
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0xa
call fcn.0040294f
pop ecx
mov dword [ebp + 8], eax
pop ecx
mov eax, dword [ebp - 0x18]
push dword [ebp + 8]
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd4]
push dword [ebp + 8]
call ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x2c], 0
je 0x4681c6
mov eax, dword [esi]
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [eax + 0x88]
cmp dword [ebp - 0x38], 0
je 0x4681c6
and dword [ebp + 8], 0
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push esi
mov byte [ebp - 4], 0xc
call dword [eax + 0x80]
mov eax, dword [ebp - 0x2c]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x7c]
push dword [ebp + 8]
mov byte [ebp - 4], 4
call ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
test eax, eax
je 0x4681dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x4681ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
jmp 0x4684e0
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push edi
call dword [eax + 0x30]
cmp dword [ebp - 0x4c], ebx
jne 0x4684ec
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push edi
call dword [eax + 0x2c]
and dword [ebp - 0x28], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push 0x5094f0
push edi
mov byte [ebp - 4], 0xd
call dword [eax]
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4682d3
and dword [ebp - 0x30], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x10]
push dword [ebp - 0x30]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x44]
push 0xc
push eax
mov byte [ebp - 4], 0xf
call fcn.0041aab4
pop ecx
pop ecx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
push 0
push dword [ebp + 8]
call fcn.004d1e1a
pop ecx
test eax, eax
pop ecx
jne 0x4682c2
mov eax, dword [esi + 0x10]
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x30]
call ebx
cmp dword [ebp - 0x40], 0xc
je 0x4682e3
cmp dword [ebp - 0x40], 0xa
jne 0x4684d2
cmp dword [esi + 0x3c], 1
jne 0x4684d2
and dword [ebp - 0x20], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push edi
mov byte [ebp - 4], 0x12
call dword [eax + 0xc]
cmp dword [ebp - 0x20], 0
jne 0x468344
call fcn.004cbba4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a3c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x30]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x468344
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x1c], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x5094b0
push edi
mov byte [ebp - 4], 0x14
call dword [eax]
cmp dword [ebp - 0x1c], 0
je 0x4683da
mov eax, dword [esi]
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push esi
call dword [eax + 0x88]
cmp dword [ebp - 0x3c], 0
je 0x4683a4
and dword [ebp - 0x30], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov byte [ebp - 4], 0x15
call dword [eax + 0x80]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
push dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
call ebx
mov eax, dword [esi + 0x28]
push 0xffffffffffffffff
push eax
call fcn.0040294f
pop ecx
mov dword [ebp - 0x38], eax
pop ecx
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x14
call ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
mov dword [esi + 0xc], 3
and dword [ebp + 8], 0
test edi, edi
je 0x4683f0
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
push 0x52b438
push edi
call dword [eax]
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 0x17
je 0x468471
mov eax, dword [esi]
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push esi
call dword [eax + 0x88]
cmp dword [ebp - 0x3c], 0
je 0x46843b
and dword [ebp - 0x30], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov byte [ebp - 4], 0x18
call dword [eax + 0x80]
mov eax, dword [ebp + 8]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x7c]
push dword [ebp - 0x30]
mov byte [ebp - 4], 0x17
call ebx
mov eax, dword [esi + 0x28]
push 0xffffffffffffffff
push eax
call fcn.0040294f
pop ecx
mov dword [ebp - 0x38], eax
pop ecx
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x17
call ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
mov dword [esi + 0xc], 3
cmp dword [ebp - 0x28], 0
je 0x46849d
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
push edi
call dword [eax + 0x2c]
cmp dword [ebp - 0x48], 0xa
jne 0x468496
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
mov dword [esi + 0xc], 3
jmp 0x46849d
mov dword [esi + 0xc], 5
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4684ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4684bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4684d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4684d9
mov dword [esi + 0xc], 5
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x468507
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x468507
cmp dword [esi + 0x3c], ebx
jne 0x468500
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov dword [esi + 0xc], 4
jmp 0x468507
mov dword [esi + 0xc], 5
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
je 0x468518
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x468526
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret