Function at 0x410330
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b638
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x491024]
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 0x4104c5
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 0x4103a9
mov eax, dword [edx]
jmp 0x4103ab
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4103b7
xor ecx, ecx
jmp 0x4103c9
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4103c0
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.004031e0
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 0x4103fe
mov eax, dword [edx]
jmp 0x410400
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x41040c
xor ecx, ecx
jmp 0x41041a
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410411
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.004031e0
mov byte [ebp - 4], 1
call fcn.00410540
add esp, 0x30
test al, al
je 0x41046f
cmp dword [ebp + 0x38], 0
je 0x4104e5
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.00402590
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 0x4104e5
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.00402590
add esp, 0x14
jmp 0x4104e5
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 edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4104fb
mov ecx, dword [ebp + 8]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x410523
mov ecx, dword [ebp + 0x20]
inc edx
push 1
call fcn.004024a0
add esp, 4
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.004787cb
mov esp, ebp
pop ebp
ret 0x34