Function at 0x556e18
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x46
add esp, 0xfffff004
push eax
dec eax
jne 0x556e21
mov eax, dword [ebp - 4]
add esp, 0xfffff694
lea eax, [ebp - 0x46960]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0xffffffff
push 0x2e
push dword [ebp + 8]
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x556e62
xor eax, eax
jmp 0x5571e6
push 0x81a232
push dword [ebp - 0x24]
call fcn.0066cdbc
add esp, 8
test eax, eax
je 0x556e7d
xor eax, eax
jmp 0x5571e6
push dword [ebp + 8]
call fcn.0045dbc4
pop ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp edx, 0xffffffff
jne 0x556e98
xor eax, eax
jmp 0x5571e6
push 0x46938
push 0
push dword [ebp - 0x1c]
call fcn.0066cc88
add esp, 0xc
push 0
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00555c24
add esp, 0x10
test eax, eax
je 0x556ed0
push dword [ebp - 0x20]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x5571e6
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [edx + 0x114]
mov eax, dword [0x819bf8]
cmp ecx, eax
jge 0x556efd
push dword [ebp - 0x1c]
call fcn.005568e8
pop ecx
push dword [ebp - 0x20]
call sub.KERNEL32.DLL_CloseHandle
or eax, 0xffffffff
jmp 0x5571e6
call fcn.00404b70
call fcn.00441290
push dword [ebp + 8]
call fcn.004413f0
pop ecx
xor edx, edx
mov dword [0x6fb15c], edx
mov dword [0x833f58], 0
mov dword [0x833f5c], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x11c]
xor edx, edx
mov dword [0x833f50], eax
mov dword [0x833f54], edx
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x557183
mov eax, dword [ebp - 8]
shl eax, 5
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x1e8]
mov eax, dword [ecx + eax + 0x10]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x12d]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
shl edx, 5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x1e8]
mov dl, byte [eax + edx]
sub dl, 1
jb 0x556fa3
sub dl, 0x3f
je 0x556fc9
sub dl, 0x40
je 0x556fee
sub dl, 0x40
je 0x55703c
jmp 0x55708b
push dword [ebp - 0xc]
push 0
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1e0]
call fcn.0066cc88
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x557092
push dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1e0]
push dword [ebp - 0x1c]
call fcn.00552255
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x557092
push dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x1dc]
push dword [ebp - 0x1c]
call fcn.00552255
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x1dc]
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x1e0]
call fcn.00540164
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x557092
mov dword [ebp - 4], 0xffffffff
jmp 0x557092
push dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x1dc]
push dword [ebp - 0x1c]
call fcn.00552255
add esp, 0xc
mov dword [ebp - 4], eax
push 0
push 0
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x1dc]
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x1e0]
call fcn.0054f000
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x557092
mov dword [ebp - 4], 0xffffffff
jmp 0x557092
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x5570b4
push 0x5e15
call fcn.00402b9c
pop ecx
push eax
push 0
call fcn.00462a84
add esp, 8
jmp 0x5571a1
xor eax, eax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
jae 0x5570fd
mov eax, dword [ebp - 0x28]
shr eax, 8
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x1e0]
mov edx, dword [ebp - 0x18]
movsx ecx, byte [ecx + edx]
mov edx, dword [ebp - 0x28]
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x819bfc]
xor eax, ecx
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jb 0x5570c3
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x11a]
mov eax, dword [ebp - 0x14]
xor edx, edx
div ecx
xor edx, edx
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x46968], eax
sub edx, 0x80000000
mov dword [ebp - 0x46964], edx
fild qword [ebp - 0x46968]
fadd qword [0x5571ec]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x46970], eax
sub edx, 0x80000000
mov dword [ebp - 0x4696c], edx
fild qword [ebp - 0x46970]
fadd qword [0x5571ec]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
inc dword [ebp - 8]
mov ecx, dword [0x6fb15c]
test ecx, ecx
jne 0x5571a1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x129]
cmp eax, ecx
jb 0x556f4d
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x140]
cmp eax, ecx
je 0x5571b8
mov dword [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.005568e8
pop ecx
push dword [ebp - 0x20]
call sub.KERNEL32.DLL_CloseHandle
call fcn.00441378
call fcn.00404b84
mov eax, dword [ebp - 4]
test eax, eax
je 0x5571e1
mov eax, 0xfffffffe
jmp 0x5571e6
mov eax, 1
mov esp, ebp
pop ebp
ret