Function at 0x429da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp], 0
mov dword [esp + 4], 0x1c1d1a1b
mov byte [esp + 8], 0
mov eax, 0xd8258f3a
movzx ecx, byte [esp + eax + 0x27da70ca]
xor ecx, eax
add ecx, 0x3d1e3ca4
mov edx, ecx
xor edx, 0x38
and ecx, 0x38
lea ecx, [edx + ecx*2]
add cl, 2
mov byte [esp + eax + 0x27da70ca], cl
inc eax
cmp eax, 0xd8258f3f
jne 0x429dc0
mov eax, dword [esp + 4]
mov ecx, dword [0x44fd60]
test ecx, ecx
je 0x429e42
xor edx, edx
mov esi, dword [0x44fd64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x429e20
inc edx
cmp ecx, edx
jne 0x429e10
jmp 0x429e42
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x429e42
mov eax, esp
push eax
push 0
push 0
push 5
push 4
push dword [0x44fd68]
push ecx
call fcn.004407f0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x429ed0
push dword [esp]
call fcn.0043da20
add esp, 4
mov edi, eax
mov ecx, dword [esp]
mov dword [esp + 4], 0x1c1d1a1b
mov byte [esp + 8], 0
mov eax, 0xd8258f3a
nop
movzx edx, byte [esp + eax + 0x27da70ca]
xor edx, eax
add edx, 0x3d1e3ca4
mov esi, edx
xor esi, 0x38
and edx, 0x38
lea edx, [esi + edx*2]
add dl, 2
mov byte [esp + eax + 0x27da70ca], dl
inc eax
cmp eax, 0xd8258f3f
jne 0x429e70
mov eax, dword [esp + 4]
mov edx, dword [0x44fd60]
test edx, edx
je 0x429ef6
xor esi, esi
mov ebx, dword [0x44fd64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc85f7986
je 0x429ed7
inc esi
cmp edx, esi
jne 0x429ec0
jmp 0x429ef6
xor ebx, ebx
jmp 0x42a091
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x429ef6
push 0
push ecx
push edi
push 5
push 4
push dword [0x44fd68]
push edx
call fcn.004407f0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42a088
mov esi, dword [edi]
xor eax, eax
mov ecx, esi
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
lea ebp, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, ebp
test ecx, ecx
jne 0x429f10
test ebx, ebx
jns 0x429f30
mov eax, 0xffffffff
push eax
call fcn.0040c730
add esp, 4
mov ebp, eax
mov ecx, edi
jmp 0x429f50
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x429f73
mov edx, dword [ecx + esi + 0x3c]
movzx ebx, word [edx]
test bx, bx
je 0x429f40
add edx, 2
nop
mov word [eax], bx
add eax, 2
movzx ebx, word [edx]
add edx, 2
test bx, bx
jne 0x429f60
jmp 0x429f40
xor ebx, ebx
cmp eax, ebp
je 0x42a07f
mov word [eax], 0
movzx ecx, word [ebp]
test cx, cx
je 0x429fdb
mov eax, ebp
add eax, 2
xor ebx, ebx
jmp 0x429fac
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x429fdb
cmp cx, 0x7f
jbe 0x429fa0
movzx edx, cx
cmp edx, 0x7ff
ja 0x429fd0
add ebx, 2
jmp 0x429fa1
cmp cx, 0xffff
je 0x429fa1
add ebx, 3
jmp 0x429fa1
mov dword [esp + 0x18], edi
lea edi, [ebx + 1]
push edi
call fcn.0040c730
add esp, 4
mov esi, eax
push ebp
push edi
push eax
call fcn.00429c20
add esp, 0xc
mov dword [esp + 4], 0xccfbfdd4
mov dword [esp + 8], 0xc6fbfac3
mov dword [esp + 0xc], 0xc9c681f9
mov dword [esp + 0x10], 0x57c4
mov byte [esp + 0x14], 0
mov eax, 0xb1770397
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4e88fc6d]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0xc
add edx, edx
xor ecx, 0xf3
sub edx, ecx
mov byte [esp + eax + 0x4e88fc6d], dl
inc eax
cmp eax, 0xb17703a8
jne 0x42a030
lea eax, [esp + 4]
mov ecx, dword [esp + 0x30]
push ebx
push esi
push eax
call fcn.0040d2c0
mov ebx, eax
push esi
call fcn.0040c740
add esp, 4
mov edi, dword [esp + 0x18]
push ebp
call fcn.0040c740
add esp, 4
push edi
call fcn.0043dac0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret