Function at 0x10010ab0
Capabilities:
Encode data using xor
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c88bd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10010ba0
lea esi, [edi + 4]
cmp edi, 0x100f2bd0
je 0x10010b0d
cmp dword [edi + 0x18], 0xf
mov ecx, esi
jbe 0x10010b01
mov ecx, dword [esi]
push eax
push ecx
mov ecx, 0x100f2bd0
call fcn.10006e70
cmp dword [edi + 0x18], 0xf
jbe 0x10010b15
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push connect
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
xor ecx, ecx
cmp esi, 0xffffffff
jne 0x10010ba7
movaps xmm0, xmmword [0x100e9580]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x4c], 0x66667134
movaps xmm0, xmmword [0x100e97b0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x48], 0x1e667b
movaps xmm0, xmmword [0x100e9930]
movups xmmword [ebp - 0x5c], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x7b]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x36
jb 0x10010b70
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
mov byte [ebp - 0x45], 0
jbe 0x10010b91
mov eax, dword [edi + 4]
push 0
lea ecx, [ebp - 0x7b]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x10010da7
mov dl, 0x3b
mov dword [ebp - 0x3c], 0x485f153b
mov dword [ebp - 0x38], 0x4b564f
xor byte [ebp + ecx - 0x3b], dl
inc ecx
cmp ecx, 6
jae 0x10010bc6
mov dl, byte [ebp - 0x3c]
jmp 0x10010bb7
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x35], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010bd3
mov eax, 0x7fffffff
sub ecx, ebx
sub eax, edx
cmp eax, ecx
jb 0x10010dc5
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x10010bf7
mov eax, dword [edi + 4]
push ecx
lea ecx, [ebp - 0x3b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.100147b0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x10010c42
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
xor bl, bl
jmp 0x10010d7f
push ebx
call fcn.100891d0
add esp, 4
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov edi, 0x816
xor esi, esi
movzx ecx, byte [eax + esi]
mov edx, edi
add cx, di
shr edx, 8
xor dl, byte [eax + esi]
mov eax, 0x6081
movzx ecx, cx
imul ecx, eax
mov eax, 0x7105
add cx, ax
mov eax, dword [ebp - 0x40]
movzx edi, cx
mov byte [eax + esi], dl
inc esi
cmp esi, ebx
jb 0x10010c75
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push 0
cmova eax, dword [ebp - 0x30]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov ebx, dword [ebp - 0x40]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push ebx
call fcn.100891b0
add esp, 4
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
cmova eax, dword [ebp - 0x30]
push 0
push 0x80
push 3
push 0
push 0
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov ecx, 0x100f2bb0
push esi
call fcn.10011ba0
push esi
mov bl, al
call edi
mov edi, dword [ebp - 0x44]
test bl, bl
jne 0x10010d74
movaps xmm0, xmmword [0x100e98c0]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
movaps xmm0, xmmword [str.heittcerrgdjc_f]
movups xmmword [ebp - 0x54], xmm0
mov al, byte [ebp + ecx - 0x63]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x1e
jb 0x10010d44
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
mov byte [ebp - 0x45], 0
jbe 0x10010d65
mov eax, dword [edi + 4]
push 0
lea ecx, [ebp - 0x63]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push eax
call fcn.1009f980
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.10002f50
mov ecx, dword [ebp - 0x34]
push 8
push ecx
mov dword [ebp - 0x34], 0
call fcn.100891b0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret 4
call fcn.10003040
int3