Function at 0x40fb70
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f465
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x84], edx
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movlpd qword [ebp - 0x52], xmm0
lea esi, [ecx + 2]
mov dword [ebp - 0x4a], 0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fbf0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00407540
mov ecx, edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fc30
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407540
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040f640
lea ecx, [ebp - 0x2c]
call fcn.0040f640
push 2
lea eax, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push eax
lea ecx, [ebp - 0x7c]
movups xmmword [ebp - 0x7c], xmm0
call fcn.00407540
mov byte [ebp - 4], 2
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 7
lea ecx, [ebp - 0x44]
push dword [ebp - 0x6c]
cmova eax, dword [ebp - 0x7c]
push eax
call fcn.00407270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x40fcd9
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe5e
push ecx
push edx
call fcn.0041eebc
add esp, 8
push 2
lea eax, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push eax
lea ecx, [ebp - 0x7c]
movups xmmword [ebp - 0x7c], xmm0
call fcn.00407540
mov byte [ebp - 4], 3
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 7
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x6c]
cmova eax, dword [ebp - 0x7c]
push eax
call fcn.00407270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x40fd55
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fd4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe5e
push ecx
push edx
call fcn.0041eebc
add esp, 8
cmp dword [ebp - 0x30], 7
mov eax, 0x2614
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 7
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x60], 4
call edi
mov esi, eax
cmp esi, 0x73
jne 0x40fdb6
lea eax, [ebp - 0x64]
mov dword [ebp - 0x60], 2
push eax
call edi
mov esi, eax
test esi, esi
jne 0x40fdbe
mov ecx, dword [ebp - 0x84]
call fcn.00410120
mov esi, eax
jmp 0x40fdbe
xor eax, eax
cmp esi, 0x71
cmove esi, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x40fdf4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fdea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe5e
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x40fe3e
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fe34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe5e
push ecx
push edx
call fcn.0041eebc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ee79
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004273ec
int3