Function at 0x47d720
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a948c
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x484]
mov dword fs:[0], eax
xor ebp, ebp
cmp dword [0x61f15c], ebp
jne 0x47da1f
push 0x206
lea ecx, [esp + 0x76]
xor eax, eax
push ebp
push ecx
mov dword [0x61f15c], 1
mov word [esp + 0x7c], ax
call fcn.004e5fc0
push 0x206
lea eax, [esp + 0x28a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x290], dx
call fcn.004e5fc0
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.0040e2c0
push str.360sdrun.exe
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x4b8], ebp
call fcn.0040d150
add esp, 0x2c
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x48c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d7f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ebp
push ecx
call fcn.0040e2c0
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov byte [esp + 0x48c], 3
xor ebx, ebx
push ebx
push 0x5bd490
lea edx, [esp + 0x280]
push 0x208
push edx
call fcn.0041c890
push 0x104
lea eax, [esp + 0x84]
push eax
push 0x5e8ee8
lea ecx, [esp + 0x294]
push ecx
push str.rname
call fcn.00438940
add esp, 0x24
cmp word [esp + 0x70], bp
je 0x47d962
push 4
lea edx, [esp + 0x74]
push 0x5c0578
push edx
call fcn.004e6b29
mov ecx, dword [esp + 0x28]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x28]
push eax
push ebp
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x58], ebp
call esi
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040d150
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
push ebp
push eax
call esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040d150
mov edx, dword [esp + 0x54]
mov eax, dword [eax]
add esp, 0xc
xor ecx, ecx
cmp edx, dword [esp + 0x6c]
setne cl
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d95e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
jne 0x47d96e
inc ebx
cmp ebx, 0x18
jl 0x47d812
jmp 0x47d9cc
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040d150
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push 0x1f4
push ecx
push str._runacid
push eax
mov byte [esp + 0x4a8], 4
call fcn.00476eb0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [esp + 0x48c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47d9cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d9f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x48c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47da1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x47c
ret