Function at 0x4b824c
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 0x4b826f
xor eax, eax
jmp 0x4b85de
test byte [ebp + 0xc], 1
je 0x4b8299
lea edx, [ebp - 0x9bc]
push edx
lea ecx, [ebp - 0xb04]
push ecx
push dword [ebp + 8]
call fcn.004fc404
add esp, 0xc
test eax, eax
jne 0x4b8299
xor eax, eax
jmp 0x4b85de
test byte [ebp + 0xc], 2
je 0x4b82c3
lea edx, [ebp - 0x9bc]
push edx
lea ecx, [ebp - 0xb04]
push ecx
push dword [ebp + 8]
call fcn.004fc62c
add esp, 0xc
test eax, eax
jne 0x4b82c3
xor eax, eax
jmp 0x4b85de
push dword [ebp + 8]
lea edx, [ebp - 0xac0]
push edx
call fcn.0066c9ec
add esp, 8
push 0x5c
lea ecx, [ebp - 0xac0]
push ecx
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4b82fb
lea edx, [ebp - 0xac0]
mov dword [ebp - 0x24], edx
jmp 0x4b82fe
inc dword [ebp - 0x24]
lea ecx, [ebp - 0x9bc]
push ecx
push dword [ebp - 0x24]
call fcn.0066c9ec
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 0x4b833d
xor eax, eax
jmp 0x4b85de
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.00674507
mov dword [0x7d5ccc], eax
xor edx, edx
mov dword [0x7d5cd0], edx
push 4
call fcn.004277e0
pop ecx
test byte [ebp + 0xc], 1
je 0x4b843b
lea ecx, [ebp - 0x84]
push ecx
call fcn.004b71e4
pop ecx
jmp 0x4b843b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b845d
test byte [ebp + 0xc], 1
je 0x4b83d9
push dword [ebp - 0x18]
lea edx, [ebp - 0x884]
push edx
lea ecx, [ebp - 0x84]
push ecx
call fcn.004b7220
add esp, 0xc
test byte [ebp + 0xc], 2
je 0x4b8424
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jae 0x4b8424
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 + 0x76e108]
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 0x4b83ee
inc dword [0x7d5cd0]
mov eax, dword [0x7d5ccc]
test eax, eax
jbe 0x4b843b
push 0xd
call fcn.004277e0
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 0x4b83af
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
xor edx, edx
mov dword [ebp - 0x18], edx
test byte [ebp + 0xc], 1
je 0x4b848d
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0xae0]
push eax
call fcn.004b7308
add esp, 8
mov dword [ebp - 0x18], 0x10
test byte [ebp + 0xc], 2
je 0x4b84a7
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 0x4b858e
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 0x4b84de
mov al, byte [ebp - 0x25]
cmp al, 0x39
ja 0x4b84de
add byte [ebp - 0x25], 0xd0
jmp 0x4b850d
mov dl, byte [ebp - 0x25]
cmp dl, 0x61
jb 0x4b84f4
mov cl, byte [ebp - 0x25]
cmp cl, 0x66
ja 0x4b84f4
add byte [ebp - 0x25], 0xa9
jmp 0x4b850d
mov al, byte [ebp - 0x25]
cmp al, 0x41
jb 0x4b8509
mov dl, byte [ebp - 0x25]
cmp dl, 0x46
ja 0x4b8509
add byte [ebp - 0x25], 0xc9
jmp 0x4b850d
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 0x4b8541
mov dl, byte [ebp - 0x25]
cmp dl, 0x39
ja 0x4b8541
add byte [ebp - 0x25], 0xd0
jmp 0x4b8570
mov cl, byte [ebp - 0x25]
cmp cl, 0x61
jb 0x4b8556
mov al, byte [ebp - 0x25]
cmp al, 0x66
ja 0x4b8556
add byte [ebp - 0x25], 0xa9
jmp 0x4b8570
mov dl, byte [ebp - 0x25]
cmp dl, 0x41
jb 0x4b856c
mov cl, byte [ebp - 0x25]
cmp cl, 0x46
ja 0x4b856c
add byte [ebp - 0x25], 0xc9
jmp 0x4b8570
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 0x4b84ba
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4b85c2
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 0x4b85c2
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x4b859d
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jne 0x4b85d3
mov dword [ebp - 0x2c], 1
push 0
call fcn.004277e0
pop ecx
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret