Function at 0x413e00
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420d98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x42e024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x413f95
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
cmovae esi, dword [ebp + 0x20]
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x44], esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], eax
cmp dword [edx + 0x14], 0x10
jb 0x413e79
mov eax, dword [edx]
jmp 0x413e7b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x413e87
xor ecx, ecx
jmp 0x413e99
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413e90
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.00404270
mov byte [ebp - 4], 2
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x413ece
mov eax, dword [edx]
jmp 0x413ed0
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x413edc
xor ecx, ecx
jmp 0x413eea
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ee1
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.00404270
mov byte [ebp - 4], 1
call fcn.00414010
add esp, 0x30
test al, al
je 0x413f3f
cmp dword [ebp + 0x38], 0
je 0x413fb5
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push str.Delete_file_:__s
push str.stealth_manager
call fcn.00402620
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 0x10
jmp 0x413fb5
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
lea edx, [ebp + 8]
lea ecx, [ebp + 0x20]
sete al
cmp dword [ebp + 0x1c], 0x10
movzx eax, al
cmovae edx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
push eax
cmovae ecx, dword [ebp + 0x20]
push edx
push ecx
push str.Copy_file__s_to__s_:__d
push str.stealth_manager
call fcn.00402620
add esp, 0x14
jmp 0x413fb5
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x413fc7
inc eax
push eax
push dword [ebp + 8]
call fcn.00404770
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x413feb
inc eax
push eax
push dword [ebp + 0x20]
call fcn.00404770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e02b
mov esp, ebp
pop ebp
ret 0x34