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

Disassembly:
mov eax, 0x46a748
call fcn.00468300
sub esp, 0xac
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
push 0xa
pop edx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x5c], edi
call fcn.00435ec5
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 0x10
jb 0x429a0e
mov esi, dword [esi]
call fcn.00435f38
mov edx, esi
mov ecx, eax
call fcn.00435a97
push 0xf
pop esi
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.00413e6c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00413e0b
mov byte [ebp - 0x12], bl
lea edx, [ebp - 0x54]
push dword [ebp - 0x12]
lea ecx, [ebp - 0x88]
call fcn.00415604
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
mov byte [ebp - 0x12], bl
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x12]
call fcn.0041aa18
pop ecx
pop ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040c82d
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.00413c2d
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00413c2d
test bl, bl
jne 0x429ac8
push dword [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00413e6c
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
call fcn.004296be
lea ecx, [ebp - 0x3c]
call fcn.00413e0b
jmp 0x429aca
xor ebx, ebx
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push ebx
cmovae eax, dword [ebp - 0x54]
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x429b3a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x4d
mov dword [ebp - 0x14], 0xfee7fc4d
mov word [ebp - 0x10], 0xfe
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 4
jae 0x429b1d
mov al, byte [ebp - 0x14]
jmp 0x429b0c
lea eax, [ebp - 0x13]
mov byte [ebp - 0xf], bl
push eax
mov ecx, edi
call fcn.004133f0
lea ecx, [ebp - 0x54]
call fcn.00413e0b
mov eax, edi
jmp 0x429cbc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00440b3f
push esi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00442300
add esp, 0x10
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp - 0x14]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
call fcn.0040c96c
cmp byte [ebx], 0xd0
mov dword [ebp - 0x8c], 0xf
sete byte [ebp - 0x15]
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], eax
mov byte [ebp - 0xa0], al
mov byte [ebp - 4], 5
mov edi, eax
test esi, esi
je 0x429bd0
mov al, byte [edi + ebx]
cmp al, 0x20
jbe 0x429bcb
cmp al, 0x7f
jae 0x429bcb
cmp al, 0x3d
je 0x429bcb
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x14]
call fcn.00413e31
inc edi
cmp edi, esi
jb 0x429bab
movaps xmm0, xmmword [0x47e740]
xor ebx, ebx
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x8c8480
mov edx, ebx
mov cl, byte [ebp - 0x70]
not cl
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x12
jb 0x429be6
push 0xf
pop esi
lea eax, [ebp - 0x6f]
mov dword [ebp - 0x3c], ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x3c], bl
call fcn.00413e6c
mov byte [ebp - 4], 6
mov cl, 0x3d
mov dword [ebp - 0x1f], 0xb1a3923d
mov edx, ebx
mov dword [ebp - 0x1b], 0xb0adb5b1
mov word [ebp - 0x17], 0xa6
not cl
xor byte [ebp + edx - 0x1e], cl
inc edx
cmp edx, 8
jae 0x429c40
mov cl, byte [ebp - 0x1f]
jmp 0x429c2f
lea eax, [ebp - 0x1e]
mov dword [ebp - 0x88], ebx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
mov byte [ebp - 0x88], bl
call fcn.00413e6c
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00435b8a
mov dl, byte [ebp - 0x15]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00429720
add esp, 0x18
lea ecx, [ebp - 0x88]
call fcn.00413e0b
lea ecx, [ebp - 0x3c]
call fcn.00413e0b
lea ecx, [ebp - 0xa0]
call fcn.00413e0b
lea ecx, [ebp - 0x54]
call fcn.00413e0b
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret