Function at 0x10005c15
Capabilities:
Check os version
Encrypt data using rc4 ksa
Encrypt data using speck
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x100]
mov edi, dword [0x1000b607]
call edi
push edx
lea edx, [esp + 0x28]
push 0x1000b2df
push edx
push eax
push ecx
call 0x100074db
add esp, 0x14
cmp dword [ebp + 0x84], ebx
je 0x10003368
lea eax, [esp + 0x24]
push eax
call 0x100057e3
test eax, eax
pop ecx
jbe 0x1000339e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x100]
push 0x1000b4f1
add ecx, 0x2964
cmp dword [ebp - 0x6c], 1
je 0x10005c4b
mov eax, dword [ebp - 0x60]
sub edx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x28]
xor dword [ebp - 0x48], 0xffffffa7
sub eax, 0x24
add ecx, dword [ebp - 0x88]
add ebx, dword [eax + 0x64]
mov dword [ebp - 0x28], ebx
mov ebx, esi
xor ecx, dword [ebp - 0x80]
sub dword [ebp - 0x64], 4
xor dword [ebp - 0x58], 0xffffffcd
mov esi, dword [ebp - 0x64]
xor ebx, edx
and edx, 0
xor edx, 0x332fe8c
xor edx, 0x332fe88
sub ebx, dword [ebp - 0x48]
xor ecx, dword [ebp - 0x7c]
mov dword [esi], edx
cmp dword [ebp - 0x24], 0
je 0x10005cb6
jne 0x10003399
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x10005ce1
call fcn.1000539a
mov esi, eax
xor esi, esi
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10005cca
xor eax, ebx
cmp dword [ebp - 0x6c], 0x10000002
jne 0x10005ce8
push 0
push 0
push 0x1000b30d
push dword [esp + 0x18]
call edi
cmp eax, dword [esi + 0xfc]
lea ecx, [esi + 0xfc]
je 0x10005d0b
push 0
push eax
push 0x1000b76a
mov dword [ecx], eax
push ebx
call fcn.1000315f
sub edx, eax
add esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x7c]
push 0
pop ecx
xor ecx, 0x132ce88
xor ecx, 0x132fe88
lea esi, [eax + 0x13e5]
mov dword [edi], ecx
sub ecx, dword [ebp - 0x4c]
add esi, eax
sub dword [ebp - 0x64], 4
sub ecx, esi
or dword [ebp - 0x78], ebx
mov esi, dword [ebp - 0x64]
xor ecx, ebx
or edi, 0xffffffff
inc edi
xor edi, 0x132ee88
xor edi, 0x132fe88
or dword [ebp - 0x84], esi
mov dword [esi], edi
or ebx, ecx
or ecx, esi
mov eax, edx
push 0xffffffffffffffc7
call fcn.100030cf
cmp dword [ebp - 0x24], 0x10000002
jne 0x10005d9a
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x6c], 0x10000002
jne 0x10005dd1
push edi
lea edi, [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
lea ecx, [eax + 0x17]
and ecx, 0xfffffff0
mov dword [ebp - 0x10], ecx
sar ecx, 4
dec ecx
cmp ecx, 0x20
jge 0x10005e3d
or esi, 0xffffffff
shr esi, cl
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], esi
add ecx, 0xffffffe0
and edi, 0
xor edi, 0x32fe88
xor edi, 0x32fe88
cmp dword [ebp - 0x24], 0x10000002
jne 0x10005e18
mov byte [ebp - 4], 1
mov dword [esi], 0x469120
mov dword [esi + 0x30], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], ebx
je 0x10005e6f
push dword [ebp + 8]
call fcn.10004a95
pop ecx
push eax
mov ecx, edi
push dword [ebp + 8]
call fcn.10007b4e
mov eax, dword [ebp + 0xc]
mov dword [ecx], edi
mov dword [ebp - 0x40], 0x649
cmp dword [ebp - 0x6c], 0xffffffe0
jne 0x10005e44
push ecx
push eax
lea eax, [ebp + 8]
push eax
push 0x1000ba54
push dword [0x1000bb18]
call fcn.10007d10
add esp, 0x20
test eax, eax
je 0x10005ea9
mov dword [ebp - 0x74], esp
cmp dword [ebp - 0x6c], 1
je 0x10005e70
mov ecx, dword [ebp - 0x10]
mov eax, 0x1000b2eb
int3
int3
mov esp, dword [ebp - 0x64]
cmp dword [ebp - 0x6c], 0x10000002
jne 0x10005e95
mov eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x6c], 0x10000002
jne 0x10005edd
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.10004f6e
lea eax, [ebp - 0x3c]
lea ecx, [esi + 0x100]
push eax
call fcn.10007919
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, 0x1000b9c1
xor ebx, ebx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
mov dword [ebp - 0x64], esp
add dword [ebp - 0x50], edx
mov esp, dword [ebp - 0x74]
cmp dword [ebp - 0x24], 0x10000002
jne 0x10005f0e
pop edi
mov dl, byte [esi]
mov bl, 1
movzx ecx, dl
mov eax, ecx
and ecx, edi
shr eax, 3
shl bl, cl
lea eax, [ebp + eax - 0x20]
or byte [eax], bl
inc esi
test dl, dl
jne 0x10005f33
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], 0x1000
add edi, dword [ebp - 0x88]
cmp dword [ebp - 0x6c], 1
je 0x10005f51
int3
or bh, 2
and bh, 0xfe
mov bl, 0x3f
mov bx, 0x133f
mov word [ebp - 0xa2], bx
fldcw word [ebp - 0xa2]
mov ebx, 0x475a2d
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
add ecx, dword [ebp - 0x78]
add dword [ebp - 0x84], ecx
push eax
sub esi, dword [ebp - 0x4c]
push ebx
add eax, dword [ebp - 0x78]
call fcn.10003302
or ecx, dword [ebp - 0x58]
lea esi, [ebp - 0x28]
add dword [ebp - 0x50], ecx
push esi
lea eax, [esi + edx*2 + 0x7c]
push dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
call fcn.1000337c
and eax, dword [ebp - 0x40]
sub dword [ebp - 0x38], 1
jne 0x10005f51
sub eax, ecx
cmp dword [ebp - 0x6c], 0x5c
jne 0x10005fba
mov eax, 0x1000b8d2
call fcn.10008444
push ecx
push ebx
push esi
push 1
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.10005022
mov edi, dword [ebp - 0x30]
or eax, ecx
add edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x8c], edi
sub edi, 0x18
cmp dword [ebp - 0x6c], 1
je 0x10006003
mov edi, eax
cmp edi, esi
je 0x1000467f
mov esi, dword [edi + 0x24]
mov dword [ebp - 0x28], esi
add ebx, 0x5c0
cmp dword [ebp - 0x24], 0x10000002
jne 0x10006047
call fcn.100047a8
test al, al
je 0x10005ff9
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.10006252
push 0x6c
call fcn.1000509c
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x100060a2
mov ecx, eax
call fcn.10003d5b
mov edi, eax
xor eax, dword [ebp - 0x80]
lea esi, [eax + ebx + 0x1ccf]
mov edi, dword [ebp - 0x60]
cmp dword [ebp - 0x24], 0x10000002
jne 0x10006079
jae 0x100060a7
inc eax
inc word [ebx]
inc byte [eax]
sub al, bl
sub al, 3
mov byte [ebx + 3], al
movsx eax, al
and byte [eax + ebx + 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov edx, dword [ebp - 0x28]
add dword [ebp - 0x24], 0
je 0x100060bd
test byte [0x1000bf4b], 1
jne 0x10006047
or byte [0x47ca80], 1
push 0x1000be4c
call fcn.100065fa
pop ecx
call fcn.100059ee
push ecx
mov al, byte [esp + 3]
mov byte [0x47af30], al
xor eax, eax