Function at 0x41eef0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe15
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x463184]
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 - 0x48], ecx
cmp byte [ecx + 0x38], 0
lea edi, [ecx + 0x20]
je 0x41ef59
push 0x27
push 0x45b850
mov ecx, edi
call fcn.004027f0
mov ecx, edi
call fcn.00428f60
test al, al
je 0x41ef52
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x41ef49
mov ecx, dword [edi]
call fcn.0040b0b0
test eax, eax
jne 0x41ef59
xor al, al
jmp 0x41f1a6
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x50], ecx
cmp eax, 1
jb 0x41f1c1
cmp dword [edi + 0x14], 8
jb 0x41ef77
mov edi, dword [edi]
inc ecx
mov dword [ebp - 0x30], 0
mov esi, 7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
movups xmmword [ebp - 0x40], xmm0
cmp ecx, esi
jbe 0x41efd2
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41efb3
mov esi, 0x7ffffffe
jmp 0x41efbd
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403020
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x50]
add esi, esi
mov dword [ebp - 0x30], ecx
push esi
push edi
push eax
call fcn.0042d0b0
mov eax, dword [ebp - 0x4c]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x50]
mov word [eax + ecx*2 + 2], dx
mov esi, dword [ebp - 0x48]
lea eax, [esi + 0x54]
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 0x48], eax
jb 0x41f014
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402900
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x41f097
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f08d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f1c6
push ecx
push edx
call fcn.0042b073
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
lea edi, [esi + 0x3c]
mov word [ebp - 0x40], ax
mov ecx, edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x41f0c3
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41f117
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x13a
ja 0x41f0ea
je 0x41f104
cmp eax, 0x27
je 0x41f104
cmp eax, 0x70
jmp 0x41f0ef
cmp eax, 0x50f
je 0x41f104
cmp dword [esi + 0x18], 8
ja 0x41f111
mov dword [esi + 0x18], 0x3f4
mov byte [ebp - 0x41], 0
jmp 0x41f16d
cmp dword [esi + 0x18], 8
ja 0x41f111
mov dword [esi + 0x18], 0x3f8
mov byte [ebp - 0x41], 0
jmp 0x41f16d
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x41f131
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004027f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [0x463090]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x41f150
mov ecx, dword [ebp - 0x48]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004027f0
mov byte [ebp - 0x41], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41f1a3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f1cb
push ecx
push edx
call fcn.0042b073
add esp, 8
mov al, byte [ebp - 0x41]
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.0042b03b
mov esp, ebp
pop ebp
call fcn.00402eb0
call fcn.00430964
call fcn.00430964
int3