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

Disassembly:
push 0x74
mov eax, 0x10076464
call fcn.1004605f
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], edi
cmp dword [edi + 0x10], ebx
jne 0x1000928e
xor al, al
jmp 0x100094d7
mov ecx, 0x1009eb70
cmp edi, ecx
je 0x100092a0
push 0xffffffffffffffff
push ebx
push edi
call fcn.10001bf0
cmp dword [edi + 0x14], 0x10
jb 0x100092aa
mov eax, dword [edi]
jmp 0x100092ac
mov eax, edi
push ebx
push 0x80
push 3
push ebx
push ebx
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009324
movaps xmm0, xmmword [0x1008eb40]
mov ecx, ebx
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x50], 0x18180f4a
movaps xmm0, xmmword [0x1008e8d0]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x4c], 0x601805
movaps xmm0, xmmword [0x1008e660]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x36
jb 0x100092fa
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0x49], bl
jb 0x10009312
mov edi, dword [edi]
push ebx
lea eax, [ebp - 0x7f]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10009287
mov cl, 0x36
mov dword [ebp - 0x38], 0x45521836
mov dword [ebp - 0x34], 0x465b42
mov eax, ebx
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 6
jae 0x10009345
mov cl, byte [ebp - 0x38]
jmp 0x10009336
lea eax, [ebp - 0x37]
mov byte [ebp - 0x31], bl
push eax
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10009fc4
pop ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x1000938d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10062ed2
xor bl, bl
jmp 0x100094c8
push ebx
call fcn.10045abb
and dword [ebp - 0x14], 0
pop ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], eax
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x44], 0
mov ecx, 0x816
mov dword [ebp - 0x3c], ecx
test ebx, ebx
je 0x100093fb
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov edx, ecx
mov eax, 0x6081
movzx ecx, byte [edi + esi]
add cx, word [ebp - 0x3c]
movzx ecx, cx
imul ecx, eax
mov eax, 0x7105
shr edx, 8
xor dl, byte [edi + esi]
mov byte [edi + esi], dl
add cx, ax
inc edi
movzx ecx, cx
mov dword [ebp - 0x3c], ecx
cmp edi, ebx
jb 0x100093c7
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
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]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.10045ab6
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
pop ecx
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push ecx
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call fcn.10009bc0
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x100094b7
movaps xmm0, xmmword [str.m9_f]
xor edx, edx
movups xmmword [ebp - 0x68], xmm0
mov ecx, edx
movaps xmm0, xmmword [0x1008e410]
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x1e
jb 0x10009492
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0x49], dl
jb 0x100094aa
mov edi, dword [edi]
push edx
lea eax, [ebp - 0x67]
push eax
push edi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10062ed2
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001e1f
mov al, bl
call fcn.10046009
ret 4