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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov dword [ebp - 0x44], 0xce7300
mov eax, dword [ebp - 0x44]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov edx, dword [0xce752c]
mov dword [ebp - 0x40], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jge 0x554642
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
movsx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0x40]
xor edx, ecx
and edx, 0xff
mov eax, dword [edx*4 + 0x80c228]
mov edx, dword [ebp - 0x40]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x40], eax
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jl 0x55460e
mov edx, dword [ebp - 0x40]
mov dword [0xce752c], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [0xce7519]
shr edx, 2
mov dword [ebp - 0x34], edx
jmp 0x554c27
mov ecx, dword [0xce7519]
mov eax, dword [0xce7770]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp edx, ecx
jge 0x5546b4
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add eax, edx
push eax
mov ecx, dword [0xce757c]
mov eax, dword [0xce7770]
add ecx, eax
push ecx
call fcn.0066c7fc
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [0xce7770], edx
mov eax, dword [ebp + 0xc]
jmp 0x554c4d
push dword [ebp - 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add edx, ecx
push edx
mov eax, dword [0xce757c]
mov edx, dword [0xce7770]
add eax, edx
push eax
call fcn.0066c7fc
add esp, 0xc
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], ecx
xor eax, eax
mov dword [0xce7770], eax
mov edx, dword [ebp - 8]
sub dword [ebp - 4], edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x1e8]
cmp eax, 2
jl 0x554705
mov edx, dword [0x80c210]
test edx, edx
jne 0x5548d8
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x80c210]
test eax, eax
jne 0x55473b
mov byte [ebp - 0x35], 0x40
mov edx, dword [0xce7519]
mov dword [ebp - 0x10], edx
push 1
push dword [ebp - 0x10]
push dword [0xce757c]
call fcn.00554120
add esp, 0xc
mov dword [ebp - 0x3c], eax
jmp 0x554893
mov ecx, dword [0xce757c]
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp edx, ecx
jge 0x55476d
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
test ecx, ecx
jne 0x55476d
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
cmp eax, edx
jl 0x554753
mov byte [ebp - 0x35], 0x80
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jne 0x55479a
mov byte [ebp - 0x35], 0
mov edx, dword [0xce7519]
mov dword [ebp - 0x10], edx
inc dword [0xce7784]
mov dword [ebp - 0x3c], 1
jmp 0x554893
mov ecx, dword [0xce7519]
add ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
push dword [0x80c218]
push dword [0xce7519]
push dword [0xce757c]
lea eax, [ebp - 0x10]
push eax
push dword [0xce7580]
call fcn.0053fe20
add esp, 0x14
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x5547de
mov eax, dword [ebp - 0x14]
add eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [0x80c210]
cmp edx, 6
jne 0x554844
push 0
push 0
push 9
push dword [0xce7519]
push dword [0xce757c]
lea ecx, [ebp - 0x14]
push ecx
push dword [0xce7584]
call fcn.0054eae0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x554844
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jae 0x554844
mov byte [ebp - 0x35], 0xc0
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
push dword [ebp - 0x10]
push dword [0xce7584]
push dword [0xce7580]
call fcn.0066c7fc
add esp, 0xc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x554858
mov eax, dword [ebp - 0x10]
mov edx, dword [0xce7519]
cmp eax, edx
jb 0x55487d
mov byte [ebp - 0x35], 0x40
mov ecx, dword [0xce7519]
mov dword [ebp - 0x10], ecx
push 1
push dword [ebp - 0x10]
push dword [0xce757c]
call fcn.00554120
add esp, 0xc
mov dword [ebp - 0x3c], eax
jmp 0x554893
push 1
push dword [ebp - 0x10]
push dword [0xce7580]
call fcn.00554120
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x5548a9
mov dword [0x6f6920], 1
jmp 0x554c3c
mov edx, dword [0x80c210]
test edx, edx
je 0x554c27
mov cl, byte [ebp - 0x35]
push ecx
push dword [ebp - 0x10]
push dword [0xce7788]
call fcn.00551740
add esp, 0xc
add dword [0xce7788], 3
jmp 0x554c27
mov dword [ebp - 0x54], 0xffffffff
jmp 0x554ae2
push 0x14
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x1c8
push eax
mov edx, dword [ebp - 0x44]
push dword [edx + 0x1e8]
call sub.KERNEL32.DLL_WaitForMultipleObjects
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x55491f
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1e8]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jg 0x55493e
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1ec]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x1e8]
cmp ecx, edx
je 0x554ae2
jmp 0x554af3
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
push dword [ecx + eax*4 + 0x1c8]
call sub.KERNEL32.DLL_ResetEvent
test eax, eax
jne 0x554963
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], 1
jmp 0x554c4b
imul ecx, dword [ebp - 0x18], 0xd
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + ecx*4 + 8]
inc edx
jne 0x554980
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 4], 1
jmp 0x554c4b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x1f8]
mov dword [ebp - 0x50], edx
imul ecx, dword [ebp - 0x18], 0xd
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + ecx*4 + 0x18]
mov ecx, dword [ebp - 0x50]
cmp edx, ecx
jge 0x5549c0
imul eax, dword [ebp - 0x18], 0xd
mov edx, dword [ebp - 0x48]
push dword [edx + eax*4 + 0x18]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push 0x80c717
call fcn.004626fc
add esp, 0xc
jmp 0x554ad9
imul eax, dword [ebp - 0x18], 0xd
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4 + 0x18]
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jne 0x554ac1
imul edx, dword [ebp - 0x18], 0x34
mov ecx, dword [ebp - 0x48]
add edx, ecx
push edx
call fcn.005519af
pop ecx
test eax, eax
jne 0x5549f9
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], 1
jmp 0x554c4b
imul edx, dword [ebp - 0x18], 0xd
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ecx + edx*4 + 0xc], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x54], edx
inc dword [ebp - 0x50]
jmp 0x554aa2
xor ecx, ecx
mov dword [ebp - 0x20], ecx
jmp 0x554a82
imul eax, dword [ebp - 0x20], 0xd
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4 + 0xc]
dec ecx
jne 0x554a7f
imul eax, dword [ebp - 0x20], 0xd
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4 + 0x18]
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jne 0x554a7f
imul edx, dword [ebp - 0x20], 0x34
mov ecx, dword [ebp - 0x48]
add edx, ecx
push edx
call fcn.005519af
pop ecx
test eax, eax
jne 0x554a5e
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], 1
jmp 0x554c4b
imul edx, dword [ebp - 0x20], 0xd
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ecx + edx*4 + 0xc], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
inc dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
dec dword [ecx + 0x1f0]
jmp 0x554a92
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x1e8]
mov ecx, dword [ebp - 0x20]
cmp edx, ecx
jg 0x554a1b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x1e8]
mov ecx, dword [ebp - 0x20]
cmp edx, ecx
je 0x554ab3
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x1f0]
test edx, edx
jg 0x554a14
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0x1f8], eax
jmp 0x554ad9
imul edx, dword [ebp - 0x18], 0xd
mov ecx, dword [ebp - 0x48]
mov dword [ecx + edx*4 + 0xc], 1
mov eax, dword [ebp - 0x44]
inc dword [eax + 0x1f0]
mov edx, dword [ebp - 0x44]
dec dword [edx + 0x1ec]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x1ec]
test eax, eax
jg 0x5548e4
mov edx, dword [ebp - 0x54]
inc edx
jne 0x554b4b
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x1f0]
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1ec]
add eax, ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1e8]
cmp eax, ecx
jge 0x554ae2
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x554b3b
imul eax, dword [ebp - 0x18], 0xd
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4 + 0xc]
test ecx, ecx
jne 0x554b38
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
jmp 0x554b4b
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1e8]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jg 0x554b21
mov edx, dword [ebp - 0x54]
inc edx
jne 0x554b7e
mov ecx, dword [ebp - 0x44]
push dword [ecx + 0x1f0]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x1e8]
mov edx, dword [ebp - 0x44]
push dword [edx + 0x1ec]
push str.___Internal_error____BUSY_d__d__READY_d
call fcn.004626fc
add esp, 0x10
jmp 0x554c4b
push dword [0xce7519]
push dword [0xce757c]
imul ecx, dword [ebp - 0x54], 0xd
mov eax, dword [ebp - 0x48]
push dword [eax + ecx*4 + 0x1c]
call fcn.0066c7fc
add esp, 0xc
imul edx, dword [ebp - 0x54], 0xd
mov ecx, dword [ebp - 0x48]
mov eax, dword [0xce7519]
mov dword [ecx + edx*4 + 0x20], eax
imul edx, dword [ebp - 0x54], 0xd
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ecx + edx*4 + 0x2c], eax
imul edx, dword [ebp - 0x54], 0xd
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1f4]
imul eax, dword [ebp - 0x54], 0xd
mov edx, dword [ebp - 0x48]
mov dword [edx + eax*4 + 0x18], ecx
imul ecx, dword [ebp - 0x54], 0xd
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4 + 0xc], 0xffffffff
mov edx, dword [ebp - 0x44]
inc dword [edx + 0x1f4]
imul ecx, dword [ebp - 0x54], 0xd
mov eax, dword [ebp - 0x48]
push dword [eax + ecx*4 + 0x10]
call sub.KERNEL32.DLL_SetEvent
test eax, eax
jne 0x554c1e
push str.Set_event_failed.
call fcn.004626fc
pop ecx
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], 1
jmp 0x554c4b
mov ecx, dword [ebp - 0x44]
inc dword [ecx + 0x1ec]
mov eax, dword [ebp - 4]
test eax, eax
jle 0x554c3c
mov edx, dword [0x6f6920]
test edx, edx
je 0x554667
mov ecx, dword [0x6f6920]
test ecx, ecx
jne 0x554c4b
mov eax, dword [ebp + 0xc]
jmp 0x554c4d
xor eax, eax
mov esp, ebp
pop ebp
ret