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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3d8
push esi
push edi
mov dword [ebp - 0x14], 0xffffffff
mov word [ebp - 0x16], 0
mov word [ebp - 0x18], 0xffff
test byte [ebp + 0xc], 0x10
je 0x4b6b6e
test byte [ebp + 0xc], 0xf
jne 0x4b6b75
xor eax, eax
jmp 0x4b71dc
xor edx, edx
mov dword [ebp - 0x2c], edx
push dword [ebp + 8]
lea ecx, [ebp - 0xbe0]
push ecx
call fcn.0066c9ec
add esp, 8
push 0x2e
lea eax, [ebp - 0xbe0]
push eax
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4b6bae
xor eax, eax
jmp 0x4b71dc
inc dword [ebp - 0x30]
push 4
call fcn.004277e0
pop ecx
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4b6bd3
push dword [ebp - 0x2c]
push str.i_02d
push dword [ebp - 0x30]
call fcn.00670e94
add esp, 0xc
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0xbe0]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x4b719f
lea edx, [ebp - 0x8d4]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_GetFileInformationByHandle
mov ecx, dword [ebp - 0x8b0]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x8b4]
mov dword [ebp - 0x24], eax
push 0
push 0x800
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
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
test byte [ebp + 0xc], 1
je 0x4b6d74
lea ecx, [ebp - 0x90]
push ecx
call fcn.004b71e4
pop ecx
jmp 0x4b6d74
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b6d96
test byte [ebp + 0xc], 1
je 0x4b6c91
push dword [ebp - 0x20]
lea edx, [ebp - 0x8a0]
push edx
lea ecx, [ebp - 0x90]
push ecx
call fcn.004b7220
add esp, 0xc
test byte [ebp + 0xc], 2
je 0x4b6cdc
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmp edx, ecx
jae 0x4b6cdc
mov eax, dword [ebp - 0x14]
shr eax, 8
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [ebp + edx - 0x8a0]
mov edx, dword [ebp - 0x14]
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x76e108]
xor eax, ecx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
cmp eax, edx
jb 0x4b6ca6
test byte [ebp + 0xc], 4
je 0x4b6d5c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jae 0x4b6d5c
movzx edx, word [ebp - 0x16]
and edx, 0xff
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [ebp + ecx - 0x8a0]
xor edx, eax
mov dx, word [edx*2 + 0x76e508]
movzx ecx, word [ebp - 0x16]
sar ecx, 8
xor dx, cx
mov word [ebp - 0x16], dx
movzx eax, word [ebp - 0x18]
sar eax, 8
and eax, 0xff
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [ebp + edx - 0x8a0]
xor eax, ecx
mov ax, word [eax*2 + 0x76e708]
mov dx, word [ebp - 0x18]
shl edx, 8
xor ax, dx
mov word [ebp - 0x18], ax
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x4b6cf1
inc dword [0x7d5cd0]
mov edx, dword [0x7d5ccc]
test edx, edx
jbe 0x4b6d74
push 0xb
call fcn.004277e0
pop ecx
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0x800
lea eax, [ebp - 0x8a0]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4b6c67
test byte [ebp + 0xc], 1
je 0x4b6db2
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004b7308
add esp, 8
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b6eb3
lea edx, [ebp - 0xbe0]
push edx
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0066c9ec
add esp, 8
push 0x2e
lea eax, [ebp - 0x9d8]
push eax
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4b6dfc
mov ecx, dword [ebp - 0x34]
mov byte [ecx], 0
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test byte [ebp + 0xc], 1
je 0x4b6e43
lea eax, [ebp - 0x9d8]
push eax
push 0x76e90e
lea edx, [ebp - 0xadc]
push edx
call fcn.00670e94
add esp, 0xc
push 0x76e915
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066ef18
add esp, 8
mov dword [ebp - 0xc], eax
test byte [ebp + 0xc], 2
je 0x4b6e7b
lea eax, [ebp - 0x9d8]
push eax
push 0x76e918
lea edx, [ebp - 0xadc]
push edx
call fcn.00670e94
add esp, 0xc
push 0x76e91f
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066ef18
add esp, 8
mov dword [ebp - 0x10], eax
test byte [ebp + 0xc], 4
je 0x4b6eb3
lea eax, [ebp - 0x9d8]
push eax
push 0x76e922
lea edx, [ebp - 0xadc]
push edx
call fcn.00670e94
add esp, 0xc
push 0x76e929
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066ef18
add esp, 8
mov dword [ebp - 8], eax
push 0x5c
lea eax, [ebp - 0xbe0]
push eax
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x4b6ed9
lea ecx, [ebp - 0xbe0]
mov dword [ebp - 0x34], ecx
jmp 0x4b6edc
inc dword [ebp - 0x34]
push dword [ebp - 0x34]
lea eax, [ebp - 0x9d8]
push eax
call fcn.0066c9ec
add esp, 8
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x4b702d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4b6f10
push 0x76e92c
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b6f27
push 0x76e96e
push dword [ebp - 0xc]
call fcn.0066ef4c
add esp, 8
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4b6f3e
push 0x76e9b0
push dword [ebp - 0x10]
call fcn.0066ef4c
add esp, 8
lea ecx, [ebp - 0x38]
push ecx
call fcn.00679560
pop ecx
lea eax, [ebp - 0x38]
push eax
call fcn.00678ef4
pop ecx
mov esi, eax
lea edi, [ebp - 0xc04]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b6fa5
push dword [ebp - 0xc04]
push dword [ebp - 0xc00]
push dword [ebp - 0xbfc]
push dword [ebp - 0xbf8]
mov edx, dword [ebp - 0xbf4]
inc edx
push edx
mov ecx, dword [ebp - 0xbf0]
add ecx, 0x76c
push ecx
push 0x76e9f2
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0x20
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b6fe9
push dword [ebp - 0xc04]
push dword [ebp - 0xc00]
push dword [ebp - 0xbfc]
push dword [ebp - 0xbf8]
mov edx, dword [ebp - 0xbf4]
inc edx
push edx
mov ecx, dword [ebp - 0xbf0]
add ecx, 0x76c
push ecx
push 0x76ea1c
push dword [ebp - 0xc]
call fcn.0066ef4c
add esp, 0x20
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b702d
push dword [ebp - 0xc04]
push dword [ebp - 0xc00]
push dword [ebp - 0xbfc]
push dword [ebp - 0xbf8]
mov edx, dword [ebp - 0xbf4]
inc edx
push edx
mov ecx, dword [ebp - 0xbf0]
add ecx, 0x76c
push ecx
push 0x76ea46
push dword [ebp - 0x10]
call fcn.0066ef4c
add esp, 0x20
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b707d
lea edx, [ebp - 0x9d8]
push edx
push 0x76ea70
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0xc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jle 0x4b706a
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0x76ea7c
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0x10
jmp 0x4b707d
push dword [ebp - 0x28]
push 0x76ea94
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0xc
test byte [ebp + 0xc], 1
je 0x4b7109
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [ebp + edx - 0xa0]
push ecx
push 0x76eaa6
mov eax, dword [ebp - 0x1c]
add eax, eax
lea edx, [ebp - 0xc28]
add eax, edx
push eax
call fcn.00670e94
add esp, 0xc
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4b708c
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b70dd
lea edx, [ebp - 0xc28]
push edx
push 0x76eaab
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0xc
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4b7109
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b7109
lea edx, [ebp - 0x9d8]
push edx
lea ecx, [ebp - 0xc28]
push ecx
push 0x76eab7
push dword [ebp - 0xc]
call fcn.0066ef4c
add esp, 0x10
test byte [ebp + 0xc], 2
je 0x4b7156
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b7132
mov edx, dword [ebp - 0x14]
not edx
push edx
mov ecx, dword [ebp - 0x14]
not ecx
push ecx
push 0x76eabf
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b7156
mov edx, dword [ebp - 0x14]
not edx
push edx
lea ecx, [ebp - 0x9d8]
push ecx
push 0x76ead5
push dword [ebp - 0x10]
call fcn.0066ef4c
add esp, 0x10
test byte [ebp + 0xc], 4
je 0x4b7197
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b7197
movzx edx, word [ebp - 0x16]
push edx
movzx ecx, word [ebp - 0x16]
push ecx
push 0x76eade
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0x10
movzx eax, word [ebp - 0x18]
push eax
movzx edx, word [ebp - 0x18]
push edx
push 0x76eaf4
push dword [ebp - 8]
call fcn.0066ef4c
add esp, 0x10
inc dword [ebp - 0x2c]
jmp 0x4b6bb9
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4b71af
push dword [ebp - 8]
call fcn.0066ea1c
pop ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b71bf
push dword [ebp - 0xc]
call fcn.0066ea1c
pop ecx
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4b71cf
push dword [ebp - 0x10]
call fcn.0066ea1c
pop ecx
push 0
call fcn.004277e0
pop ecx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret