Function at 0x55453c
Capabilities:
Encode data using xor
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5545c7
mov eax, dword [ebp + 0xc]
xor edx, edx
add dword [0xcf4f04], eax
adc dword [0xcf4f08], edx
mov ecx, dword [0xcfb134]
test ecx, ecx
je 0x554575
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005542d0
add esp, 8
mov eax, dword [0xcf4f0c]
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jae 0x5545bf
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
movsx eax, byte [edx + ecx]
mov edx, dword [ebp - 0x1c]
xor eax, edx
and eax, 0xff
mov ecx, dword [eax*4 + 0x819bfc]
mov eax, dword [ebp - 0x1c]
shr eax, 8
xor ecx, eax
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jb 0x55458c
mov eax, dword [ebp - 0x1c]
mov dword [0xcf4f0c], eax
mov edx, dword [0xcfb130]
test edx, edx
jne 0x554614
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0xcfaf20]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
cmp eax, edx
je 0x5545f9
xor eax, eax
jmp 0x5549f5
mov eax, dword [ebp + 0xc]
xor edx, edx
add dword [0xcf5148], eax
adc dword [0xcf514c], edx
mov eax, 1
jmp 0x5549f5
mov edx, dword [0xcfaf24]
cmp edx, 0xffffffff
jne 0x554745
inc dword [0xcf5150]
mov ecx, dword [0xcf5150]
cmp ecx, 0x3e8
jne 0x55463e
xor eax, eax
jmp 0x5549f5
mov dl, byte [0xcf5150]
mov byte [0xcf4ef2], dl
mov ecx, dword [0x819bf8]
mov dword [0xcf4efb], ecx
mov eax, dword [0xcf5150]
lea eax, [eax + eax*2]
mov edx, dword [0x819bf8]
mov dword [eax*8 + 0xcf5170], edx
mov eax, dword [0x819bf8]
cdq
mov dword [0xcf5148], eax
mov dword [0xcf514c], edx
mov ecx, dword [0x6ebd38]
dec ecx
sub ecx, 2
jb 0x55468b
jmp 0x5546a8
mov eax, dword [0xcf5150]
inc eax
push eax
push 0xcfb02c
lea edx, [ebp - 0x12c]
push edx
call fcn.006712b0
add esp, 0xc
jmp 0x5546c2
push dword [0xcf5150]
push 0xcfb02c
lea ecx, [ebp - 0x12c]
push ecx
call fcn.006712b0
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x12c]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [0xcfaf24], eax
mov edx, dword [0xcfaf24]
cmp edx, 0xffffffff
jne 0x5546f4
xor eax, eax
jmp 0x5549f5
lea edx, [ebp - 0x12c]
push edx
call fcn.004413f0
pop ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [0x819bf8]
push 0xcf4ed0
push dword [0xcfaf24]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x10]
mov edx, dword [0x819bf8]
cmp eax, edx
je 0x554731
xor eax, eax
jmp 0x5549f5
mov edx, dword [0xcf5158]
add dword [0xcf5154], edx
xor ecx, ecx
mov dword [0xcf5158], ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
add eax, dword [0xcf5148]
adc edx, dword [0xcf514c]
cmp edx, dword [0x819bf4]
jne 0x554768
cmp eax, dword [0x819bf0]
jae 0x5547b3
jmp 0x55476a
jge 0x5547b3
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0xcfaf24]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
cmp eax, edx
je 0x554792
xor eax, eax
jmp 0x5549f5
mov eax, dword [ebp + 0xc]
xor edx, edx
add dword [0xcf5148], eax
adc dword [0xcf514c], edx
inc dword [0xcf5158]
mov eax, 1
jmp 0x5549f5
mov eax, dword [0x819bf0]
mov ecx, eax
mov eax, dword [0xcf5148]
sub ecx, eax
mov dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x14]
push dword [ebp + 8]
push dword [0xcfaf24]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x5547ee
xor eax, eax
jmp 0x5549f5
mov eax, dword [ebp - 0x14]
xor edx, edx
add dword [0xcf5148], eax
adc dword [0xcf514c], edx
inc dword [0xcf5158]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [0xcf5150]
lea edx, [edx + edx*2]
mov ecx, dword [0xcf5154]
mov dword [edx*8 + 0xcf516c], ecx
mov eax, dword [0xcf5150]
lea eax, [eax + eax*2]
mov edx, dword [0xcf5158]
mov dword [eax*8 + 0xcf5168], edx
mov ecx, dword [0xcf5150]
lea ecx, [ecx + ecx*2]
mov eax, dword [ebp - 0x18]
mov dword [ecx*8 + 0xcf5174], eax
mov edx, dword [0xcf5150]
lea edx, [edx + edx*2]
mov ecx, dword [0xcf5148]
mov dword [edx*8 + 0xcf5160], ecx
mov ecx, dword [0xcf514c]
mov dword [edx*8 + 0xcf5164], ecx
mov eax, dword [0xcfaf24]
mov edx, dword [0xcfaf20]
cmp eax, edx
je 0x55488b
push dword [0xcfaf24]
call sub.KERNEL32.DLL_CloseHandle
mov dword [0xcfaf24], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jbe 0x5549f0
inc dword [0xcf5150]
mov eax, dword [0xcf5150]
cmp eax, 0x3e8
jne 0x5548b9
xor eax, eax
jmp 0x5549f5
mov dl, byte [0xcf5150]
mov byte [0xcf4ef2], dl
mov ecx, dword [0x819bf8]
mov dword [0xcf4efb], ecx
mov eax, dword [0x819bf8]
mov edx, dword [ebp - 0x18]
add eax, edx
mov ecx, dword [0xcf5150]
lea ecx, [ecx + ecx*2]
mov dword [ecx*8 + 0xcf5170], eax
mov eax, dword [0x819bf8]
mov edx, dword [ebp - 0x18]
add eax, edx
xor edx, edx
mov dword [0xcf5148], eax
mov dword [0xcf514c], edx
mov ecx, dword [0x6ebd38]
dec ecx
sub ecx, 2
jb 0x554911
jmp 0x55492e
mov eax, dword [0xcf5150]
inc eax
push eax
push 0xcfb02c
lea edx, [ebp - 0x230]
push edx
call fcn.006712b0
add esp, 0xc
jmp 0x554948
push dword [0xcf5150]
push 0xcfb02c
lea ecx, [ebp - 0x230]
push ecx
call fcn.006712b0
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x230]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [0xcfaf24], eax
mov edx, dword [0xcfaf24]
cmp edx, 0xffffffff
jne 0x554977
xor eax, eax
jmp 0x5549f5
lea edx, [ebp - 0x230]
push edx
call fcn.004413f0
pop ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [0x819bf8]
push 0xcf4ed0
push dword [0xcfaf24]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x10]
mov edx, dword [0x819bf8]
cmp eax, edx
je 0x5549b1
xor eax, eax
jmp 0x5549f5
push 0
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
add ecx, eax
push ecx
push dword [0xcfaf24]
call sub.KERNEL32.DLL_WriteFile
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
je 0x5549dc
xor eax, eax
jmp 0x5549f5
mov edx, dword [0xcf5158]
add dword [0xcf5154], edx
xor ecx, ecx
mov dword [0xcf5158], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret