Function at 0x40dc74
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x40dc7c
push ebx
push esi
push edi
lea edi, [ebp - 2]
xor eax, eax
push ebp
push 0x40e22a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x40e238
mov edx, 0x40e244
mov eax, 0x80000000
call fcn.0040e8d0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x40e254
mov edx, 0x40e244
mov eax, 0x80000000
call fcn.0040e8d0
lea eax, [ebp - 0x2c]
mov edx, 0x40e268
call fcn.00404304
lea eax, [ebp - 0x30]
mov edx, 0x40e280
call fcn.00404304
lea eax, [ebp - 0x34]
mov edx, 0x40e298
call fcn.00404304
mov eax, dword [ebp - 0x20]
call fcn.0040c2f4
test al, al
jne 0x40dd0f
lea edx, [ebp - 0x20]
mov eax, 0x40e2b0
call fcn.0040d9c8
test al, al
je 0x40e202
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
call fcn.0040d35c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
call fcn.00404304
mov eax, 0x42ca0c
mov edx, dword [ebp - 0x20]
call fcn.004042c0
lea eax, [ebp - 0x20]
mov edx, 0x40e2c0
call fcn.0040452c
mov eax, dword [ebp - 0x20]
call fcn.0040c2f4
test al, al
je 0x40e202
lea ecx, [ebp - 0x3c]
mov edx, 3
mov eax, dword [ebp - 0x20]
call fcn.0040c3f0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
call fcn.00404668
jne 0x40ddc8
lea eax, [ebp - 0x40]
call fcn.0040d304
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.0040452c
mov eax, dword [ebp - 0x40]
call fcn.0040c2f4
test al, al
je 0x40ddc8
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44]
call fcn.0040d304
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.0040452c
mov eax, dword [ebp - 0x44]
mov ecx, 0x40e2d4
mov edx, 0x40e2e4
call fcn.0040d2a4
mov edx, 0x40e2f4
mov eax, dword [ebp - 0xc]
call fcn.0040db58
jmp 0x40e202
lea ecx, [ebp - 0x24]
mov edx, 3
mov eax, dword [ebp - 0x20]
call fcn.0040c3f0
lea eax, [ebp - 0x48]
call fcn.0040d304
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x30]
call fcn.0040452c
mov eax, dword [ebp - 0x48]
call fcn.0040c2f4
test al, al
je 0x40de18
lea eax, [ebp - 0x4c]
call fcn.0040d304
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
call fcn.0040452c
mov eax, dword [ebp - 0x4c]
call fcn.0040471c
push eax
call sub.kernel32.dll_DeleteFileA
push 0
lea eax, [ebp - 0x50]
call fcn.0040d304
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x30]
call fcn.0040452c
mov eax, dword [ebp - 0x50]
call fcn.0040471c
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040471c
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00404304
lea eax, [ebp - 0x54]
call fcn.0040d304
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
call fcn.00404570
mov eax, dword [ebp - 0x20]
call fcn.0040c2f4
test al, al
je 0x40e202
mov edx, 0x40
mov eax, dword [ebp - 0x20]
call fcn.0040c394
mov esi, eax
lea eax, [ebp - 0x58]
call fcn.0040d304
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x34]
call fcn.0040452c
mov eax, dword [ebp - 0x58]
call fcn.0040c370
mov ebx, eax
jmp 0x40decc
xor eax, eax
mov al, byte [ebp - 1]
and eax, 1
dec eax
je 0x40deb7
mov al, byte [ebp - 1]
mov byte [edi], al
inc byte [edi]
jmp 0x40debe
mov al, byte [ebp - 1]
mov byte [edi], al
dec byte [edi]
mov edx, edi
mov ecx, 1
mov eax, ebx
call fcn.0040c330
lea edx, [ebp - 1]
mov ecx, 1
mov eax, esi
call fcn.0040c304
dec eax
je 0x40dea3
mov eax, esi
call fcn.0040c35c
mov eax, ebx
call fcn.0040c35c
xor eax, eax
push ebp
push 0x40e1fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
call fcn.0040d304
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x34]
call fcn.0040452c
mov eax, dword [ebp - 0x5c]
xor edx, edx
call fcn.0040c394
mov esi, eax
mov ecx, 2
xor edx, edx
mov eax, esi
call fcn.0040c364
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0040c364
lea eax, [ebx + 1]
call fcn.0040c7b0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, esi
call fcn.0040c304
mov ebx, eax
mov eax, esi
call fcn.0040c35c
lea eax, [ebp - 0xc]
call fcn.0040426c
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x10]
call fcn.0040426c
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1c], 0
mov edi, ebx
dec edi
test edi, edi
jl 0x40e11b
inc edi
xor esi, esi
mov eax, dword [ebp - 8]
mov bl, byte [eax + esi]
cmp bl, 0x5b
jne 0x40dfc5
cmp byte [ebp - 0x11], 0
jne 0x40e0f8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x40e300
call fcn.00404570
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x13], 0
jmp 0x40e0f8
cmp byte [ebp - 0x11], 0
je 0x40e007
cmp byte [ebp - 0x12], 0
jne 0x40e007
cmp bl, 0x6d
je 0x40dff1
cmp bl, 0x47
je 0x40dff1
cmp bl, 0x53
je 0x40dff1
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0xc]
call fcn.0040426c
jmp 0x40e0f8
mov byte [ebp - 0x12], 1
cmp bl, 0x6d
jne 0x40e0f8
mov byte [ebp - 0x1c], 1
jmp 0x40e0f8
cmp byte [ebp - 0x12], 0
je 0x40e0dd
cmp bl, 0x5d
jne 0x40e0dd
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0xc]
mov eax, 0x40e30c
call fcn.00404804
test eax, eax
jle 0x40e044
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1c], 0
inc dword [ebp - 0x18]
jmp 0x40e07f
cmp byte [ebp - 0x1c], 0
jne 0x40e07f
mov edx, dword [ebp - 0xc]
mov eax, 0x40e31c
call fcn.00404804
test eax, eax
jle 0x40e07f
cmp byte [ebp - 0x1b], 0
jne 0x40e06b
mov byte [ebp - 0x1a], 1
mov byte [ebp - 0x1b], 1
jmp 0x40e07f
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0xc]
call fcn.0040426c
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x19]
or al, byte [ebp - 0x1a]
je 0x40e09d
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x18]
call fcn.0040c670
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0xc]
call fcn.0040452c
push dword [ebp - 0xc]
push 0x40e32c
push 0x40e338
push 0x40e344
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004045e4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040452c
mov byte [ebp - 0x13], 1
lea eax, [ebp - 0xc]
call fcn.0040426c
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
jmp 0x40e0f8
cmp byte [ebp - 0x13], 0
je 0x40e0f8
lea eax, [ebp - 0x64]
mov edx, ebx
call fcn.0040444c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x10]
call fcn.0040452c
cmp byte [ebp - 0x11], 0
je 0x40e113
lea eax, [ebp - 0x68]
mov edx, ebx
call fcn.0040444c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0xc]
call fcn.0040452c
inc esi
dec edi
jne 0x40df93
lea eax, [ebp - 0x6c]
call fcn.0040d304
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x2c]
call fcn.0040452c
mov eax, dword [ebp - 0x6c]
call fcn.0040c370
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404524
mov edi, eax
test edi, edi
jle 0x40e168
mov esi, 1
mov eax, dword [ebp - 0x10]
mov al, byte [eax + esi - 1]
mov byte [ebp - 1], al
lea edx, [ebp - 1]
mov ecx, 1
mov eax, ebx
call fcn.0040c330
inc esi
dec edi
jne 0x40e14b
mov eax, ebx
call fcn.0040c35c
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x70]
call fcn.0040d304
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x2c]
call fcn.0040452c
mov eax, dword [ebp - 0x70]
mov ecx, 0x40e2d4
mov edx, 0x40e2e4
call fcn.0040d2a4
mov edx, 0x40e2f4
mov eax, dword [ebp - 0xc]
call fcn.0040db58
mov eax, dword [ebp - 0x28]
call fcn.0040471c
push eax
push 1
mov ecx, 0x40e238
mov edx, 0x40e244
mov eax, 0x80000000
call fcn.0040e67c
mov eax, dword [ebp - 0x24]
call fcn.0040471c
push eax
push 1
mov ecx, 0x40e254
mov edx, 0x40e244
mov eax, 0x80000000
call fcn.0040e67c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e202
mov eax, dword [ebp - 8]
call fcn.00402700
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e231
lea eax, [ebp - 0x70]
mov edx, 0x15
call fcn.00404290
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404290
ret