Function at 0x4b6e2c
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 0x4b6e56
test byte [ebp + 0xc], 0xf
jne 0x4b6e5d
xor eax, eax
jmp 0x4b74c4
xor edx, edx
mov dword [ebp - 0x2c], edx
push dword [ebp + 8]
lea ecx, [ebp - 0xbe0]
push ecx
call fcn.0066ce08
add esp, 8
push 0x2e
lea eax, [ebp - 0xbe0]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4b6e96
xor eax, eax
jmp 0x4b74c4
inc dword [ebp - 0x30]
push 4
call fcn.0042792c
pop ecx
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4b6ebb
push dword [ebp - 0x2c]
push str.i_02d
push dword [ebp - 0x30]
call fcn.006712b0
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 0x4b7487
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.00674923
mov dword [0x7e36a0], eax
xor edx, edx
mov dword [0x7e36a4], edx
test byte [ebp + 0xc], 1
je 0x4b705c
lea ecx, [ebp - 0x90]
push ecx
call fcn.004b74cc
pop ecx
jmp 0x4b705c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b707e
test byte [ebp + 0xc], 1
je 0x4b6f79
push dword [ebp - 0x20]
lea edx, [ebp - 0x8a0]
push edx
lea ecx, [ebp - 0x90]
push ecx
call fcn.004b7508
add esp, 0xc
test byte [ebp + 0xc], 2
je 0x4b6fc4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmp edx, ecx
jae 0x4b6fc4
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 + 0x777214]
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 0x4b6f8e
test byte [ebp + 0xc], 4
je 0x4b7044
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jae 0x4b7044
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 + 0x777614]
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 + 0x777814]
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 0x4b6fd9
inc dword [0x7e36a4]
mov edx, dword [0x7e36a0]
test edx, edx
jbe 0x4b705c
push 0xb
call fcn.0042792c
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 0x4b6f4f
test byte [ebp + 0xc], 1
je 0x4b709a
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004b75f0
add esp, 8
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b719b
lea edx, [ebp - 0xbe0]
push edx
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0066ce08
add esp, 8
push 0x2e
lea eax, [ebp - 0x9d8]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4b70e4
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 0x4b712b
lea eax, [ebp - 0x9d8]
push eax
push 0x777a1a
lea edx, [ebp - 0xadc]
push edx
call fcn.006712b0
add esp, 0xc
push 0x777a21
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066f334
add esp, 8
mov dword [ebp - 0xc], eax
test byte [ebp + 0xc], 2
je 0x4b7163
lea eax, [ebp - 0x9d8]
push eax
push 0x777a24
lea edx, [ebp - 0xadc]
push edx
call fcn.006712b0
add esp, 0xc
push 0x777a2b
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066f334
add esp, 8
mov dword [ebp - 0x10], eax
test byte [ebp + 0xc], 4
je 0x4b719b
lea eax, [ebp - 0x9d8]
push eax
push 0x777a2e
lea edx, [ebp - 0xadc]
push edx
call fcn.006712b0
add esp, 0xc
push 0x777a35
lea ecx, [ebp - 0xadc]
push ecx
call fcn.0066f334
add esp, 8
mov dword [ebp - 8], eax
push 0x5c
lea eax, [ebp - 0xbe0]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x4b71c1
lea ecx, [ebp - 0xbe0]
mov dword [ebp - 0x34], ecx
jmp 0x4b71c4
inc dword [ebp - 0x34]
push dword [ebp - 0x34]
lea eax, [ebp - 0x9d8]
push eax
call fcn.0066ce08
add esp, 8
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x4b7315
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4b71f8
push 0x777a38
push dword [ebp - 8]
call fcn.0066f368
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b720f
push 0x777a7a
push dword [ebp - 0xc]
call fcn.0066f368
add esp, 8
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4b7226
push 0x777abc
push dword [ebp - 0x10]
call fcn.0066f368
add esp, 8
lea ecx, [ebp - 0x38]
push ecx
call fcn.0067997c
pop ecx
lea eax, [ebp - 0x38]
push eax
call fcn.00679310
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 0x4b728d
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 0x777afe
push dword [ebp - 8]
call fcn.0066f368
add esp, 0x20
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b72d1
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 0x777b28
push dword [ebp - 0xc]
call fcn.0066f368
add esp, 0x20
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b7315
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 0x777b52
push dword [ebp - 0x10]
call fcn.0066f368
add esp, 0x20
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b7365
lea edx, [ebp - 0x9d8]
push edx
push 0x777b7c
push dword [ebp - 8]
call fcn.0066f368
add esp, 0xc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jle 0x4b7352
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0x777b88
push dword [ebp - 8]
call fcn.0066f368
add esp, 0x10
jmp 0x4b7365
push dword [ebp - 0x28]
push 0x777ba0
push dword [ebp - 8]
call fcn.0066f368
add esp, 0xc
test byte [ebp + 0xc], 1
je 0x4b73f1
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 0x777bb2
mov eax, dword [ebp - 0x1c]
add eax, eax
lea edx, [ebp - 0xc28]
add eax, edx
push eax
call fcn.006712b0
add esp, 0xc
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4b7374
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b73c5
lea edx, [ebp - 0xc28]
push edx
push 0x777bb7
push dword [ebp - 8]
call fcn.0066f368
add esp, 0xc
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4b73f1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b73f1
lea edx, [ebp - 0x9d8]
push edx
lea ecx, [ebp - 0xc28]
push ecx
push 0x777bc3
push dword [ebp - 0xc]
call fcn.0066f368
add esp, 0x10
test byte [ebp + 0xc], 2
je 0x4b743e
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b741a
mov edx, dword [ebp - 0x14]
not edx
push edx
mov ecx, dword [ebp - 0x14]
not ecx
push ecx
push 0x777bcb
push dword [ebp - 8]
call fcn.0066f368
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b743e
mov edx, dword [ebp - 0x14]
not edx
push edx
lea ecx, [ebp - 0x9d8]
push ecx
push 0x777be1
push dword [ebp - 0x10]
call fcn.0066f368
add esp, 0x10
test byte [ebp + 0xc], 4
je 0x4b747f
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b747f
movzx edx, word [ebp - 0x16]
push edx
movzx ecx, word [ebp - 0x16]
push ecx
push 0x777bea
push dword [ebp - 8]
call fcn.0066f368
add esp, 0x10
movzx eax, word [ebp - 0x18]
push eax
movzx edx, word [ebp - 0x18]
push edx
push 0x777c00
push dword [ebp - 8]
call fcn.0066f368
add esp, 0x10
inc dword [ebp - 0x2c]
jmp 0x4b6ea1
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4b7497
push dword [ebp - 8]
call fcn.0066ee38
pop ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b74a7
push dword [ebp - 0xc]
call fcn.0066ee38
pop ecx
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4b74b7
push dword [ebp - 0x10]
call fcn.0066ee38
pop ecx
push 0
call fcn.0042792c
pop ecx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret