Function at 0x419620
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 0x522806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa8
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x40], edx
mov edi, ecx
mov byte [ebp - 0x1f], 0xdb
movq qword [ebp - 0x1e], xmm0
xor ecx, ecx
mov word [ebp - 0x16], 0
nop dword [eax]
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 1
jb 0x419670
mov dword [0x55d620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1e], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4196a2
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x5c]
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 - 0x24], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4196f0
sub ecx, dword [ebp - 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00402b80
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 0x419725
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00402b80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.0040e070
add esp, 0x30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x419781
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419777
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b87
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0xb4]
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.0040e3d0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov byte [ebp - 0x1f], 0xdb
xor ecx, ecx
movq qword [ebp - 0x1e], xmm0
mov word [ebp - 0x16], 0
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 1
jb 0x4197d4
mov dword [0x55d620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x1e], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419806
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b80
mov byte [ebp - 4], 5
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov esi, dword [0x55ab9c]
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419840
sub ecx, dword [ebp - 0x24]
mov eax, closesocket
sub eax, esi
cmp eax, ecx
jb 0x419b77
cmp dword [0x55aba0], 0x10
mov eax, 0x55ab8c
push ecx
cmovae eax, dword [0x55ab8c]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
call fcn.0048aa20
push dword [ebp - 0x44]
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
call fcn.0048a830
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x14]
call fcn.00482d90
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x41991c
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419912
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b7c
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x41996f
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419965
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b7c
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x4199a7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41999d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b7c
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x10
jb 0x4199e5
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4199db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b7c
push ecx
push edx
call fcn.004fb0f1
add esp, 8
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push eax
push edi
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419a50
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
mov ecx, edi
cmovae esi, dword [ebp - 0x3c]
call fcn.0040ba50
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419a50
mov edx, dword [ebp - 0x40]
push ecx
push 6
mov ecx, edi
call fcn.004f8970
add esp, 8
mov esi, eax
jmp 0x419b15
push 0x55cfa4
call fcn.004fa3f2
add esp, 4
test eax, eax
jne 0x419b81
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
mov edx, edi
cmovae ecx, dword [ebp - 0x3c]
push ecx
push 1
call fcn.004f8970
add esp, 8
lea ecx, [ebp - 0x78]
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00483010
mov edx, dword [edi]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 0xd
mov eax, dword [0x55d050]
cmp eax, dword [0x55d054]
je 0x419aca
movups xmm0, xmmword [ebp - 0x78]
mov ecx, 0xf
mov byte [ebp - 0x78], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], edx
add dword [0x55d050], 0x1c
jmp 0x419ad7
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.0048f720
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x419b08
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419afe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b87
push ecx
push edx
call fcn.004fb0f1
add esp, 8
push 0x55cfa4
call fcn.004fa403
add esp, 4
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x419b45
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b87
push ecx
push edx
call fcn.004fb0f1
add esp, 8
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00485200
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.004023f0
call fcn.00500390
push eax
call fcn.004fa09b
call fcn.00500390
int3