Function at 0x42f8f0
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 0x42fb0f
test bl, 1
je 0x42fb0f
mov al, byte [esp + 0x2af]
mov cl, byte [esp + 0x2c4]
shr al, 1
and al, 0x40
and cl, 0x40
xor al, cl
je 0x42fb0f
cmp dword [0x68dd90], 0x229a
je 0x42fb0f
mov eax, dword [0x75e25c]
test eax, eax
jne 0x42fb0f
mov edx, ebx
and edx, 0x1f
cmp dl, 0x11
jne 0x42fb0f
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 0x42faa6
mov edx, dword [0x7150f4]
push 0x40000
push 0
push edx
lea eax, [esp + 0xac]
push 0xffffffffffffffff
push eax
call fcn.0042d900
mov ecx, dword [0x7150f4]
push 0x10
push ecx
call fcn.004dd630
push 0
push 0
push 0x68c7e8
call fcn.004e04f0
or eax, 0x80000000
push 0
push eax
push 0x68c7e8
call fcn.004e0720
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 [0x7047c4]
push ecx
mov ecx, dword [0x71d100]
push edx
mov edx, dword [0x71d108]
push eax
mov eax, dword [esp + 0x2cc]
push ecx
push 0
push edx
push eax
call fcn.0041e720
mov ecx, dword [0x7047c4]
add esp, 0x38
cmp eax, ecx
je 0x42fb8e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x290
ret
mov edx, dword [esp + 0x2cc]
mov eax, dword [0x71d108]
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 [0x71d104]
xor esi, esi
push ecx
push esi
push eax
push edx
mov dword [0x71d108], eax
call fcn.0041e720
mov ecx, dword [0x7047c4]
add esp, 0x38
cmp eax, ecx
je 0x42fbfa
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x290
ret
mov eax, dword [0x71d108]
add eax, ecx
mov dword [0x71d108], eax
mov eax, dword [0x71d100]
push eax
call fcn.004df7a0
mov ecx, dword [0x71d104]
push ecx
call fcn.004df7a0
mov eax, dword [esp + 0x2b0]
add esp, 8
cmp eax, esi
mov dword [0x71d100], esi
mov dword [0x71d104], esi
je 0x42fc5b
mov eax, dword [eax + 4]
cmp eax, esi
je 0x42fc5b
mov edx, dword [0x7047c4]
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 [0x7047c4]
push esi
shl eax, 0xc
push eax
call fcn.004413e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret