Function at 0x410650
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b6e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x491024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea edx, [ecx + 0x58]
mov dword [ebp - 4], 0
push 0x47e570
lea ecx, [ebp - 0x2c]
call fcn.00407760
push 0x4928d4
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00405f30
push 0x47e570
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00403970
add esp, 0xc
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4106d7
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x410703
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.004024a0
add esp, 4
push str.libs_
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00407760
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x44]
call fcn.00407870
add esp, 8
push 0x47e570
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.00407760
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00405f30
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x410787
mov ecx, dword [ebp - 0x8c]
inc edx
push 1
call fcn.004024a0
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x78], 0xf
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 8
test eax, eax
je 0x4108a3
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x18]
cmp eax, 1
sete bl
cmp edx, 0x10
jb 0x4107fc
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
cmp edx, 0x10
jb 0x410824
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
cmp edx, 0x10
jb 0x41084c
mov ecx, dword [ebp - 0x74]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x48]
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
cmp edx, 0x10
jb 0x410874
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x41089c
mov ecx, dword [ebp + 8]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov al, bl
jmp 0x410a62
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4108c6
mov eax, dword [ecx]
jmp 0x4108c8
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.004032e0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4108f9
mov eax, dword [ecx]
jmp 0x4108fb
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004032e0
mov byte [ebp - 4], 0xb
call fcn.00410540
add esp, 0x30
test al, al
jne 0x41093e
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Update__s
push str.stealth_manager
call fcn.00402590
add esp, 0xc
jmp 0x4107c0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x410954
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x41097c
mov ecx, dword [ebp - 0x44]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x4109a4
mov ecx, dword [ebp - 0x74]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x4109cc
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x4109f4
mov ecx, dword [ebp + 8]
inc edx
push 1
call fcn.004024a0
add esp, 4
mov al, 1
jmp 0x410a62
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004787cb
mov esp, ebp
pop ebp
ret 0x18