Function at 0x48e790
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x48e798
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040569c
xor eax, eax
push ebp
push 0x48ebc1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x48eb93
push 1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48340c]
call fcn.00484680
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48eb8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x48e84e
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 0x48ebd8
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x18]
call fcn.00409cec
push dword [ebp - 0x174]
push 0x48ebf8
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0x170]
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0048de78
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.0048d670
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x48e7fd
mov eax, dword [ebp - 0x10]
add eax, 8
mov edx, 0x48ec04
call fcn.0040523c
mov edx, 0x48ec10
mov eax, dword [ebp - 0x10]
call fcn.004859ec
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov edx, 0x48ec20
call fcn.0040523c
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004837f4
mov ecx, dword [ebp - 0x178]
mov edx, 0x48ec38
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409cec
mov ecx, dword [ebp - 0x17c]
mov edx, 0x48ec5c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
je 0x48e8e0
mov ecx, 0x48ec7c
mov edx, 0x48ec88
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e8f2
mov ecx, 0x48eca8
mov edx, 0x48ec88
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
je 0x48e90f
mov ecx, 0x48ec7c
mov edx, 0x48ecb4
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e921
mov ecx, 0x48eca8
mov edx, 0x48ecb4
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00409cec
mov ecx, dword [ebp - 0x180]
mov edx, 0x48ecd4
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2c]
sub al, 1
jb 0x48e957
je 0x48e96b
dec al
je 0x48e97f
jmp 0x48e991
mov ecx, 0x48ecf4
mov edx, 0x48ed04
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e991
mov ecx, 0x48ed28
mov edx, 0x48ed04
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e991
mov ecx, 0x48ed38
mov edx, 0x48ed04
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x40], 0
je 0x48e9ae
mov ecx, 0x48ec7c
mov edx, 0x48ed4c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e9c0
mov ecx, 0x48eca8
mov edx, 0x48ed4c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x48e9dd
mov ecx, 0x48ec7c
mov edx, 0x48ed7c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
jmp 0x48e9ef
mov ecx, 0x48eca8
mov edx, 0x48ed7c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00409cec
mov ecx, dword [ebp - 0x184]
mov edx, 0x48eda4
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00409cec
mov ecx, dword [ebp - 0x188]
mov edx, 0x48edc4
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00409cec
mov ecx, dword [ebp - 0x18c]
mov edx, 0x48ede8
mov eax, dword [ebp - 0x10]
call fcn.004862e0
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004837f4
mov ecx, dword [ebp - 0x190]
mov edx, 0x48ee0c
mov eax, dword [ebp - 0x10]
call fcn.004862e0
mov byte [ebp - 9], 0
call fcn.00402fc8
lea eax, [ebp - 0x194]
mov ecx, 0x48ee30
mov edx, dword [ebp - 8]
call fcn.004054f8
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x16c]
call fcn.0040369c
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.00403c54
call fcn.00402fc8
test eax, eax
je 0x48eacf
call fcn.00404be8
jmp 0x48eb93
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00484b6c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x48eaf3
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x14]
call fcn.00405704
mov edx, eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x16c]
call fcn.00403818
lea eax, [ebp - 0x16c]
call fcn.00403838
push 0
mov eax, dword [ebp - 8]
call fcn.004056ac
push eax
lea eax, [ebp - 0x198]
mov ecx, 0x48ee30
mov edx, dword [ebp - 8]
call fcn.004054f8
mov eax, dword [ebp - 0x198]
call fcn.004056ac
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x19c]
mov ecx, 0x48ee30
mov edx, dword [ebp - 8]
call fcn.004054f8
mov eax, dword [ebp - 0x19c]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
call fcn.00402fc8
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eb93
mov eax, dword [ebp - 0x10]
call fcn.004042c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ebc8
lea eax, [ebp - 0x19c]
mov edx, 0xc
call fcn.0040520c
lea eax, [ebp - 0x14]
call fcn.004051e8
lea eax, [ebp - 8]
call fcn.004051e8
ret