Function at 0x40dec0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44adff
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x47c068]
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 - 0xb4], edx
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x9c], edi
xor ebx, ebx
mov esi, dword [ecx]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa0], eax
cmp esi, eax
je 0x40df7a
nop dword [eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.004116b0
mov eax, dword [ebp - 0x34]
or edi, 0x40
mov ecx, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
add ebx, 2
cmp ecx, 8
jb 0x40df6f
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40df65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0xa0]
jne 0x40df20
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
add ebx, 2
je 0x40dfd3
cmp ebx, 0x7fffffff
ja 0x40e55b
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041b280
lea ecx, [ebx + ebx]
mov dword [ebp - 0x2c], eax
push ecx
push 0
lea esi, [ecx + eax]
push eax
mov dword [ebp - 0x24], esi
call fcn.0042dab0
add esp, 0xc
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0xa8]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], ebx
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], eax
cmp esi, eax
je 0x40e0fa
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.004116b0
mov eax, dword [ebp - 0x34]
or edi, 0x10
mov ecx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xa0], eax
cmp ecx, 8
jb 0x40e050
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e046
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
push esi
lea ecx, [ebp - 0x44]
call fcn.004116b0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x9c]
or edi, 0x20
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0xa4], eax
cmovae edx, eax
setae bl
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0xa0]
add eax, eax
push eax
push edx
push ecx
call fcn.0042d530
add esp, 0xc
test bl, bl
je 0x40e0d9
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa4]
mov edx, eax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40e0cf
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xa4], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x40e560
mov eax, dword [ebp - 0xa4]
push ecx
push eax
call fcn.0042c0bc
add esp, 8
mov ebx, dword [ebp - 0x9c]
add esi, 0x18
add ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], ebx
cmp esi, dword [ebp - 0xac]
jne 0x40e000
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
xorps xmm0, xmm0
xor edx, edx
xor esi, esi
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x2c]
mov word [eax + ebx*2 + 2], cx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], ebx
cmp eax, ebx
je 0x40e423
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0040b540
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0040b540
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x78]
call fcn.00408330
or edi, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], edi
cmp ecx, 8
jb 0x40e1bd
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e1b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 8
jb 0x40e20f
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e205
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.004116b0
lea eax, [ebp - 0xd0]
or edi, 2
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x9c], edi
call fcn.004077a0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc]
cmp ecx, 8
jb 0x40e27d
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e273
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
xor eax, eax
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x44]
mov dword [ebp - 0xbc], 7
push eax
call fcn.004116b0
mov eax, dword [ebp - 0x68]
or edi, 1
mov ecx, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xa8], eax
cmp ecx, 8
jb 0x40e2f9
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e2e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
mov eax, dword [ebp - 0xa8]
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov edx, ebx
mov esi, dword [ebp - 0x20]
sub edx, esi
sar edx, 1
mov dword [ebp - 0xac], edx
lea ecx, [eax + edx]
cmp ecx, edx
jae 0x40e31a
lea eax, [esi + ecx*2]
mov dword [ebp - 0x1c], eax
jmp 0x40e34a
jbe 0x40e34a
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 1
cmp ecx, eax
jbe 0x40e333
push ecx
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041d960
jmp 0x40e34a
sub ecx, edx
lea eax, [ecx + ecx]
push eax
push 0
push ebx
lea esi, [eax + ebx]
call fcn.0042dab0
add esp, 0xc
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.004116b0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x60]
mov ecx, dword [ebp - 0xac]
or edi, 8
cmp dword [ebp - 0x4c], 8
mov esi, dword [ebp - 0x60]
cmovae edx, esi
setae bl
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0xa8]
add eax, eax
push eax
push edx
push ecx
call fcn.0042d530
add esp, 0xc
test bl, bl
je 0x40e3be
mov ecx, dword [ebp - 0x4c]
mov eax, esi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40e3b4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push esi
call fcn.0042c0bc
add esp, 8
mov byte [ebp - 4], 1
and edi, 0xfffffffd
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x40e3ff
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e3f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov eax, dword [ebp - 0xa0]
add eax, 0x18
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0xa4]
jne 0x40e143
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0xb0], 0
sub eax, edx
sar eax, 1
lea edi, [eax + 2]
cmp edi, eax
jae 0x40e43f
lea eax, [edx + edi*2]
jmp 0x40e47e
jbe 0x40e481
sub esi, edx
lea eax, [ebp - 0xb0]
sar esi, 1
cmp edi, esi
jbe 0x40e45e
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.0041d830
mov edx, dword [ebp - 0x20]
jmp 0x40e481
mov ax, word [eax]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
cmp ax, word [edx]
mov eax, 4
mov dword [ecx], 0
add eax, ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], eax
mov eax, 0x11
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 2
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x7e], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x40e50c
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x40e4ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x40e53f
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x40e535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e560
push ecx
push edx
call fcn.0042c0bc
add esp, 8
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.0042c079
mov esp, ebp
pop ebp
ret
call fcn.00413bc0
call fcn.00430a9a
int3