Function at 0x4b8534
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4fc
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4b8557
xor eax, eax
jmp 0x4b88c6
test byte [ebp + 0xc], 1
je 0x4b8581
lea edx, [ebp - 0x9bc]
push edx
lea ecx, [ebp - 0xb04]
push ecx
push dword [ebp + 8]
call fcn.004fc820
add esp, 0xc
test eax, eax
jne 0x4b8581
xor eax, eax
jmp 0x4b88c6
test byte [ebp + 0xc], 2
je 0x4b85ab
lea edx, [ebp - 0x9bc]
push edx
lea ecx, [ebp - 0xb04]
push ecx
push dword [ebp + 8]
call fcn.004fca48
add esp, 0xc
test eax, eax
jne 0x4b85ab
xor eax, eax
jmp 0x4b88c6
push dword [ebp + 8]
lea edx, [ebp - 0xac0]
push edx
call fcn.0066ce08
add esp, 8
push 0x5c
lea ecx, [ebp - 0xac0]
push ecx
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b85e3
lea edx, [ebp - 0xac0]
mov dword [ebp - 0x24], edx
jmp 0x4b85e6
inc dword [ebp - 0x24]
lea ecx, [ebp - 0x9bc]
push ecx
push dword [ebp - 0x24]
call fcn.0066ce08
add esp, 8
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea eax, [ebp - 0xac0]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, 0xffffffff
jne 0x4b8625
xor eax, eax
jmp 0x4b88c6
lea edx, [ebp - 0x8b8]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_GetFileInformationByHandle
mov ecx, dword [ebp - 0x894]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x898]
mov dword [ebp - 0x1c], eax
push 0
push 0x800
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, 0x800
adc edx, 0
sub eax, 1
sbb edx, 0
call fcn.00674923
mov dword [0x7e36a0], eax
xor edx, edx
mov dword [0x7e36a4], edx
push 4
call fcn.0042792c
pop ecx
test byte [ebp + 0xc], 1
je 0x4b8723
lea ecx, [ebp - 0x84]
push ecx
call fcn.004b74cc
pop ecx
jmp 0x4b8723
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b8745
test byte [ebp + 0xc], 1
je 0x4b86c1
push dword [ebp - 0x18]
lea edx, [ebp - 0x884]
push edx
lea ecx, [ebp - 0x84]
push ecx
call fcn.004b7508
add esp, 0xc
test byte [ebp + 0xc], 2
je 0x4b870c
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jae 0x4b870c
mov eax, dword [ebp - 0xc]
shr eax, 8
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [ebp + edx - 0x884]
mov edx, dword [ebp - 0xc]
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x777214]
xor eax, ecx
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jb 0x4b86d6
inc dword [0x7e36a4]
mov eax, dword [0x7e36a0]
test eax, eax
jbe 0x4b8723
push 0xd
call fcn.0042792c
pop ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x800
lea eax, [ebp - 0x884]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4b8697
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
xor edx, edx
mov dword [ebp - 0x18], edx
test byte [ebp + 0xc], 1
je 0x4b8775
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0xae0]
push eax
call fcn.004b75f0
add esp, 8
mov dword [ebp - 0x18], 0x10
test byte [ebp + 0xc], 2
je 0x4b878f
mov edx, dword [ebp - 0xc]
not edx
lea ecx, [ebp - 0xae0]
mov dword [ecx], edx
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jae 0x4b8876
mov eax, dword [ebp - 0x14]
add eax, eax
mov dl, byte [ebp + eax - 0xb04]
mov byte [ebp - 0x25], dl
mov cl, byte [ebp - 0x25]
cmp cl, 0x30
jb 0x4b87c6
mov al, byte [ebp - 0x25]
cmp al, 0x39
ja 0x4b87c6
add byte [ebp - 0x25], 0xd0
jmp 0x4b87f5
mov dl, byte [ebp - 0x25]
cmp dl, 0x61
jb 0x4b87dc
mov cl, byte [ebp - 0x25]
cmp cl, 0x66
ja 0x4b87dc
add byte [ebp - 0x25], 0xa9
jmp 0x4b87f5
mov al, byte [ebp - 0x25]
cmp al, 0x41
jb 0x4b87f1
mov dl, byte [ebp - 0x25]
cmp dl, 0x46
ja 0x4b87f1
add byte [ebp - 0x25], 0xc9
jmp 0x4b87f5
mov byte [ebp - 0x25], 0
mov cl, byte [ebp - 0x25]
shl ecx, 4
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0xad0], cl
mov edx, dword [ebp - 0x14]
add edx, edx
mov cl, byte [ebp + edx - 0xb03]
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
cmp al, 0x30
jb 0x4b8829
mov dl, byte [ebp - 0x25]
cmp dl, 0x39
ja 0x4b8829
add byte [ebp - 0x25], 0xd0
jmp 0x4b8858
mov cl, byte [ebp - 0x25]
cmp cl, 0x61
jb 0x4b883e
mov al, byte [ebp - 0x25]
cmp al, 0x66
ja 0x4b883e
add byte [ebp - 0x25], 0xa9
jmp 0x4b8858
mov dl, byte [ebp - 0x25]
cmp dl, 0x41
jb 0x4b8854
mov cl, byte [ebp - 0x25]
cmp cl, 0x46
ja 0x4b8854
add byte [ebp - 0x25], 0xc9
jmp 0x4b8858
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0x25]
add byte [ebp + eax - 0xad0], dl
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x4b87a2
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4b88aa
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp + edx - 0xad0]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp + eax - 0xae0]
cmp cl, dl
jne 0x4b88aa
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x4b8885
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jne 0x4b88bb
mov dword [ebp - 0x2c], 1
push 0
call fcn.0042792c
pop ecx
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret