Function at 0x41ac90
Capabilities:
Copy file
Encode data using xor

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 0x52c653
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x98
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x68], edx
mov edi, ecx
mov byte [ebp - 0x30], 0xf3
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
xor ecx, ecx
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x41ace7
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ad20
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402c40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x48]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x14], esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ad70
sub ecx, dword [ebp - 0x18]
push ecx
push edx
mov ecx, esi
call fcn.00402c40
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, esp
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ada5
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00402c40
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.0040e4f0
add esp, 0x30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x41adfe
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41adf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1fe
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0x74]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x78]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0xa8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0xc
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
mov dword [ebp - 0x14], eax
call fcn.0040e850
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0xf3
xor ecx, ecx
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 1
jb 0x41ae58
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ae90
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402c40
mov byte [ebp - 4], 5
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov esi, dword [0x562b9c]
cmovae edx, dword [ebp - 0x48]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aec3
sub ecx, dword [ebp - 0x18]
mov eax, closesocket
sub eax, esi
cmp eax, ecx
jb 0x41b1ee
cmp dword [0x562ba0], 0x10
mov eax, 0x562b8c
push ecx
cmovae eax, dword [0x562b8c]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.004946d0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
call fcn.004944e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
push dword [ebp - 0x14]
call fcn.0048ca40
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x41af9c
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41af92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1f3
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x41afe9
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41afdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1f3
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x41b021
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b017
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1f3
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x41b05f
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b055
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1f3
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push 0
cmovae eax, dword [ebp - 0x64]
push eax
push edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41b0ca
cmp dword [ebp - 0x50], 0x10
lea esi, [ebp - 0x64]
mov ecx, edi
cmovae esi, dword [ebp - 0x64]
call fcn.0040bdb0
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41b0ca
mov edx, dword [ebp - 0x68]
push ecx
push 6
mov ecx, edi
call fcn.005027b0
add esp, 8
mov esi, eax
jmp 0x41b18f
push 0x564fa4
call fcn.00504232
add esp, 4
test eax, eax
jne 0x41b1f8
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov edx, edi
cmovae ecx, dword [ebp - 0x64]
push ecx
push 1
call fcn.005027b0
add esp, 8
lea ecx, [ebp - 0x4c]
mov esi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0048ccc0
mov edx, dword [edi]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0xd
mov eax, dword [0x565050]
cmp eax, dword [0x565054]
je 0x41b144
movups xmm0, xmmword [ebp - 0x4c]
mov ecx, 0xf
mov byte [ebp - 0x4c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], edx
add dword [0x565050], 0x1c
jmp 0x41b151
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.004993c0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x41b182
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b178
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1fe
push ecx
push edx
call fcn.00504f31
add esp, 8
push 0x564fa4
call fcn.00504243
add esp, 4
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x41b1bf
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b1b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b1fe
push ecx
push edx
call fcn.00504f31
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.0048eeb0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004024b0
call fcn.0050a1d0
push eax
call fcn.00503edb
call fcn.0050a1d0
int3