Function at 0x42f410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x42f418
push ecx
push ebx
push esi
push edi
mov eax, dword [0x432138]
mov byte [eax], 1
mov eax, 0x42ca0c
call fcn.00409854
mov esi, 0x44ba48
xor eax, eax
push ebp
push 0x42f87e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x44ba44
mov eax, 0x42c338
call fcn.004095b4
mov eax, dword [0x43206c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x431fd8]
mov byte [eax], 0
mov eax, dword [0x431e74]
mov byte [eax], 1
mov al, 1
call fcn.00403728
mov eax, dword [0x432034]
movzx eax, word [eax]
mov edx, dword [0x432004]
mov dword [edx], eax
push 0
call sub.kernel32.dll_SetThreadUILanguage
push 0
mov eax, dword [0x431f1c]
mov ecx, 1
mov edx, dword [0x417f1c]
call fcn.00407e58
add esp, 4
push 0
mov eax, dword [0x432154]
mov ecx, 1
mov edx, dword [0x417f4c]
call fcn.00407e58
add esp, 4
mov dl, 1
mov eax, dword [0x42c350]
call fcn.0042c584
mov ebx, eax
mov cl, 1
mov edx, 0x42f89c
mov eax, ebx
call fcn.0042c6f4
test al, al
je 0x42f4f9
mov edx, 0x44ba20
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
call fcn.00403b24
mov eax, ebx
call fcn.0042c5d8
xor ecx, ecx
mov edx, 0x42f8b0
mov eax, ebx
call fcn.0042c6f4
test al, al
je 0x42f524
mov edx, 0x44ba4c
mov eax, dword [ebx + 0x3c]
mov ecx, 4
call fcn.00403b24
mov eax, ebx
call fcn.0042c5d8
mov eax, dword [0x432180]
mov edx, dword [0x44ba2c]
mov dword [eax], edx
mov cl, 1
mov edx, 0x42f8c8
mov eax, ebx
call fcn.0042c6f4
test al, al
je 0x42f84c
mov dword [esi], 0xffffffff
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
add eax, edx
dec eax
dec edx
test edx, edx
jb 0x42f57d
inc edx
movzx ecx, byte [eax]
mov edi, dword [esi]
and edi, 0xff
xor ecx, edi
mov ecx, dword [ecx*4 + 0x4319d8]
mov edi, dword [esi]
shr edi, 8
xor ecx, edi
mov dword [esi], ecx
dec eax
dec edx
jne 0x42f55c
mov eax, dword [esi]
cmp eax, dword [0x44ba4c]
je 0x42f5b0
lea edx, [ebp - 0x14]
mov eax, 0x42c348
call fcn.004095b4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x431f20]
call fcn.00404f18
call fcn.00405018
call fcn.00403ad4
jmp 0x42f863
lea eax, [ebp - 0x18]
call fcn.0041801c
mov eax, dword [ebp - 0x18]
call fcn.00407120
mov dword [0x44ba1c], eax
mov edx, 0x8000
mov eax, dword [0x44ba1c]
call fcn.0042b5cc
mov dword [0x44ba18], eax
mov eax, dword [0x44ba1c]
call fcn.00406e1c
mov dword [0x44ba14], eax
mov eax, dword [0x431f1c]
mov eax, dword [eax]
call fcn.00407c3c
mov esi, eax
lea eax, [esi + 1]
push eax
mov eax, dword [0x431f1c]
mov ecx, 1
mov edx, dword [0x417f1c]
call fcn.00407e58
add esp, 4
mov eax, dword [0x44ba14]
lea eax, [eax + eax*2]
call fcn.00403980
lea edi, [esi + esi*2]
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov dword [edx + edi*8], eax
lea eax, [esi + esi*2]
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov eax, dword [edx + eax*8]
mov edx, dword [0x44ba1c]
call fcn.00413a60
mov eax, dword [0x431f1c]
mov eax, dword [eax]
mov edx, dword [0x44ba18]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [0x44ba18]
push eax
call sub.msvcrt.dll__get_osfhandle
pop ecx
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov dword [edx + edi*8 + 8], eax
mov eax, dword [0x431f1c]
mov eax, dword [eax]
mov edx, dword [ebx + 0x40]
mov dword [eax + edi*8 + 0xc], edx
lea eax, [esi + esi*2]
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 0xc]
call fcn.00403980
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov dword [edx + edi*8 + 0x10], eax
lea eax, [esi + esi*2]
mov edx, dword [0x431f1c]
mov edx, dword [edx]
mov edx, dword [edx + eax*8 + 0x10]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
call fcn.00403b24
mov eax, dword [0x431f1c]
mov eax, dword [eax]
mov eax, dword [eax + edi*8 + 0x10]
mov edx, dword [ebx + 0x40]
call fcn.004184d0
mov eax, dword [0x431f1c]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + edi*8 + 0x14], edx
mov eax, ebx
call fcn.00405304
lea edx, [ebp - 0x1c]
mov eax, 0x42c330
call fcn.004095b4
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x431f20]
call fcn.00404f18
call fcn.00405018
call fcn.00403ad4
lea edx, [ebp - 0x20]
mov eax, 0x42c340
call fcn.004095b4
mov edx, dword [ebp - 0x20]
mov eax, dword [0x431f20]
call fcn.00404f18
call fcn.00405018
call fcn.00403ad4
lea edx, [ebp - 0x24]
mov eax, 0x42c330
call fcn.004095b4
mov edx, dword [ebp - 0x24]
mov eax, dword [0x431f20]
call fcn.00404f18
call fcn.00405018
call fcn.00403ad4
mov eax, dword [0x431f20]
mov edx, 0x42f8e0
call fcn.00404f18
call fcn.00405018
call fcn.00403ad4
mov eax, dword [0x43205c]
call fcn.00404810
call fcn.00403ad4
call fcn.00429114
mov edx, dword [0x432108]
mov dword [edx], eax
mov eax, dword [0x432108]
cmp dword [eax], 0
je 0x42f853
mov eax, dword [0x43212c]
call fcn.00417df4
test eax, eax
je 0x42f7b9
mov eax, dword [0x431fcc]
cmp byte [eax], 0
je 0x42f7af
mov eax, dword [0x431fd8]
mov byte [eax], 1
jmp 0x42f7b9
mov eax, 0xff
call fcn.00429ed4
mov eax, dword [0x431fd8]
cmp byte [eax], 0
jne 0x42f853
mov ecx, dword [0x431f70]
mov ecx, dword [ecx]
mov edx, dword [0x432108]
mov edx, dword [edx]
mov eax, 1
call fcn.0041f32c
mov edx, dword [0x43215c]
mov dword [edx], eax
mov eax, dword [0x43215c]
cmp dword [eax], 1
jne 0x42f7fd
mov eax, 1
call fcn.00429ed4
mov eax, dword [0x43215c]
cmp dword [eax], 0xffffffff
jne 0x42f80e
xor eax, eax
call fcn.00429ed4
mov edx, dword [0x43215c]
mov edx, dword [edx]
xor eax, eax
call fcn.00421620
mov edx, dword [0x431e7c]
mov word [edx], ax
call fcn.0042bfdc
mov eax, dword [0x431fcc]
cmp byte [eax], 0
jne 0x42f842
mov eax, dword [0x431e7c]
movzx eax, word [eax]
call fcn.00429ed4
mov eax, dword [0x431fcc]
mov byte [eax], 0
jmp 0x42f853
mov eax, ebx
call fcn.00405304
xor eax, eax
call fcn.00429ed4
mov eax, dword [0x431de8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f885
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00406a34
ret