Function at 0x42c3b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x290
test eax, eax
push ebx
mov ebx, dword [esp + 0x2c0]
push ebp
push esi
push edi
je 0x42c5cf
test bl, 1
je 0x42c5cf
mov al, byte [esp + 0x2af]
mov cl, byte [esp + 0x2c4]
shr al, 1
and al, 0x40
and cl, 0x40
xor al, cl
je 0x42c5cf
cmp dword [0x613ff0], 0x229a
je 0x42c5cf
mov eax, dword [0x6c7d78]
test eax, eax
jne 0x42c5cf
mov edx, ebx
and edx, 0x1f
cmp dl, 0x11
jne 0x42c5cf
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0x10], 0xb18a3d6e
mov dword [esp + 0x14], 0xf49d3b4f
mov dword [esp + 0x18], 0xe59c3c5d
mov dword [esp + 0x1c], 0xf58a275f
mov dword [esp + 0x20], 0xe38a231a
mov dword [esp + 0x24], 0xff803c49
mov dword [esp + 0x28], 0xff8e361a
mov dword [esp + 0x2c], 0xfd813a1a
mov dword [esp + 0x30], 0xe38c7543
mov dword [esp + 0x34], 0xf49b345f
mov dword [esp + 0x38], 0xb19d3a1a
mov dword [esp + 0x3c], 0xe586315f
mov dword [esp + 0x40], 0xf487211a
mov dword [esp + 0x44], 0xfd86331a
mov dword [esp + 0x48], 0xf998755f
mov dword [esp + 0x4c], 0xb1873653
mov dword [esp + 0x50], 0xe28a3a5e
mov dword [esp + 0x54], 0xe5803b1a
mov dword [esp + 0x58], 0xf297301a
mov dword [esp + 0x5c], 0xb18b305f
mov dword [esp + 0x60], 0xb18a3d4e
mov dword [esp + 0x64], 0xf4953c49
mov dword [esp + 0x68], 0xb1893a1a
mov dword [esp + 0x6c], 0xdcdf6509
mov dword [esp + 0x70], 0xfebb7514
mov dword [esp + 0x74], 0xfc8a271a
mov dword [esp + 0x78], 0xb18a2355
mov dword [esp + 0x7c], 0xe2863d4e
mov dword [esp + 0x80], 0xfc86391a
mov dword [esp + 0x84], 0xe58e2153
mov dword [esp + 0x88], 0xbd813a53
mov dword [esp + 0x8c], 0xf483251a
mov dword [esp + 0x90], 0xb18a265b
mov dword [esp + 0x94], 0xf8883048
mov dword [esp + 0x98], 0xe38a2149
mov dword [esp + 0x9c], 0x91ef5514
rep stosd dword es:[edi], eax
mov ecx, dword [esp + eax + 0x10]
add eax, 4
xor ecx, 0x2a60df88
cmp eax, 0x90
mov dword [esp + eax + 0x9c], ecx
jl 0x42c566
mov edx, dword [0x683854]
push 0x40000
push 0
push edx
lea eax, [esp + 0xac]
push 0xffffffffffffffff
push eax
call fcn.0042a3e0
mov ecx, dword [0x683854]
push 0x10
push ecx
call fcn.004b4a10
push 0
push 0
push 0x612700
call fcn.004b7620
or eax, 0x80000000
push 0
push eax
push 0x612700
call fcn.004b7850
add esp, 0x34
mov esi, dword [esp + 0x2c8]
mov edx, dword [esp + 0x2c4]
mov edi, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x2bc]
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0x2b0]
push ebx
mov ebx, dword [esp + 0x2bc]
push esi
push edx
mov edx, dword [esp + 0x2b8]
push edi
push ebp
push ebx
push eax
mov eax, dword [0x672f2c]
push ecx
mov ecx, dword [0x68b860]
push edx
mov edx, dword [0x68b868]
push eax
mov eax, dword [esp + 0x2cc]
push ecx
push 0
push edx
push eax
call fcn.0041b910
mov ecx, dword [0x672f2c]
add esp, 0x38
cmp eax, ecx
je 0x42c64e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x290
ret
mov edx, dword [esp + 0x2cc]
mov eax, dword [0x68b868]
push edx
mov edx, dword [esp + 0x2c8]
push esi
push edx
mov edx, dword [esp + 0x2c0]
push edi
push ebp
push ebx
push edx
mov edx, dword [esp + 0x2cc]
push edx
mov edx, dword [esp + 0x2cc]
push edx
mov edx, dword [esp + 0x2c8]
add eax, ecx
push ecx
mov ecx, dword [0x68b864]
xor esi, esi
push ecx
push esi
push eax
push edx
mov dword [0x68b868], eax
call fcn.0041b910
mov ecx, dword [0x672f2c]
add esp, 0x38
cmp eax, ecx
je 0x42c6ba
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x290
ret
mov eax, dword [0x68b868]
add eax, ecx
mov dword [0x68b868], eax
mov eax, dword [0x68b860]
push eax
call fcn.004b6a50
mov ecx, dword [0x68b864]
push ecx
call fcn.004b6a50
mov eax, dword [esp + 0x2b0]
add esp, 8
cmp eax, esi
mov dword [0x68b860], esi
mov dword [0x68b864], esi
je 0x42c71b
mov eax, dword [eax + 4]
cmp eax, esi
je 0x42c71b
mov edx, dword [0x672f2c]
push esi
shl edx, 0xc
push edx
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret
mov eax, dword [0x672f2c]
push esi
shl eax, 0xc
push eax
call fcn.004f4f40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret