Function at 0x434e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov dword [esp + 0x2c], ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 8], 0
mov dword [esp + 0x38], 0xead5d4d7
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x434ec4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x38]
lea ecx, [eax - 0x211663a3]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x5d
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x75
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x434e80
mov eax, dword [esp + 0x38]
mov ecx, dword [0x44826c]
test ecx, ecx
je 0x434f1e
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x434ef0
inc edx
cmp ecx, edx
jne 0x434ee0
jmp 0x434f1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x434f1e
lea eax, [esp + 0x24]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x24
test eax, eax
js 0x43557a
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x10000
jmp 0x434f87
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
cmp eax, 0x7fffffff
jae 0x4354ad
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0xead5d4d7
lea eax, [esp + 0x14]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x434fff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x10]
lea edx, [eax - 0x211663a3]
mov edi, edx
and edi, esi
xor edx, esi
add eax, 0x5d
and eax, esi
add eax, edi
sub edx, eax
lea eax, [edx + edi*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x434fc0
mov eax, dword [esp + 0x10]
mov edx, dword [0x44826c]
test edx, edx
je 0x435060
xor esi, esi
mov edi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x435030
inc esi
cmp edx, esi
jne 0x435020
jmp 0x435060
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x435060
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x38]
push ecx
push 6
push dword [0x448274]
push edx
call fcn.00436280
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x4354ad
test eax, eax
js 0x434f70
cmp dword [esp + 0x48], 0x1000
jne 0x434f70
cmp dword [esp + 0x4c], 1
je 0x434f70
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x44], eax
jbe 0x43523a
mov dword [esp + 0x10], 0xead5d4d7
lea eax, [esp + 0x14]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x4350ff
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x211663a3]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x5d
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x4350c0
mov eax, dword [0x44826c]
test eax, eax
je 0x43515a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x435130
inc edx
cmp eax, edx
jne 0x435120
jmp 0x43515a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43515a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x448274]
push eax
call fcn.00436280
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0xead5d4d7
lea eax, [esp + 0x14]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x4351cf
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x211663a3]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x5d
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x435190
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44826c]
test ecx, ecx
je 0x43522e
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x435200
inc edx
cmp ecx, edx
jne 0x4351f0
jmp 0x43522e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43522e
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x24
test eax, eax
js 0x4354ad
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x34]
call fcn.00434ca0
cmp eax, 0xbfffffff
ja 0x434f70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.00435590
add esp, 0x18
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
je 0x434f70
mov eax, ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov edi, dword [ebx + 4]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
jmp 0x4352d3
mov ebx, dword [ebp + 8]
mov edx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x68]
mov dword [esi + edx*4], ebx
add edi, 4
mov dword [ecx + 4], edi
mov esi, dword [esp + 0x64]
add esi, 4
cmp esi, eax
je 0x435487
mov dword [esp + 0x64], esi
mov ebx, dword [esi]
sub ebx, dword [esp + 8]
add ebx, dword [esp + 0x28]
mov dword [esp + 0x68], ebx
mov edx, edi
mov esi, dword [esp + 0x20]
sub edx, esi
mov ecx, edx
sar ecx, 2
cmp edi, dword [esp + 0xc]
jne 0x4352b0
mov dword [esp + 0xc], edx
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
mov dword [esp + 0x60], ecx
add edx, ecx
cmp edx, eax
ja 0x43530f
mov edx, eax
mov dword [esp + 0x5c], edx
lea eax, [edx*4]
push eax
call fcn.00408d80
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x20]
test edx, edx
mov ebx, dword [ebp + 8]
je 0x435463
cmp esi, edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x30], esi
jbe 0x435390
lea eax, [edx + ebx]
cmp eax, esi
jbe 0x435390
test ebx, ebx
je 0x435450
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx]
dec eax
mov ecx, dword [esp + 0x30]
add ecx, ebx
dec ecx
mov esi, edx
not esi
add esi, edi
and ebx, 7
je 0x4353df
neg ebx
xor edi, edi
nop
nop
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x435370
add eax, edi
mov ebx, dword [esp + 0xc]
add ebx, edi
add ecx, edi
cmp esi, 7
jae 0x4353e8
jmp 0x435450
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
add eax, esi
mov ecx, ebx
xor ecx, 3
mov edi, edx
mov edx, ebx
or edx, 0xfffffffc
and edx, ecx
add edx, edi
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [esp + 0xc]
test bl, 1
je 0x435450
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
jmp 0x435450
mov ebx, dword [esp + 0xc]
cmp esi, 7
jb 0x435450
neg ebx
xor edx, edx
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
mov ebx, edi
add edx, 0xfffffff8
cmp edi, edx
jne 0x4353f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [esp + 0x20]
call fcn.00408d90
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov dword [ebx], esi
mov edx, dword [esp + 0x60]
lea edi, [esi + edx*4]
mov eax, dword [esp + 0x5c]
lea eax, [esi + eax*4]
mov dword [esp + 0xc], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x58]
jmp 0x4352b5
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x434f70
cmp eax, ecx
je 0x434f70
push eax
call fcn.00408d90
add esp, 4
jmp 0x434f70
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43551f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x211663a3]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x5d
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x4354e0
mov eax, dword [0x44826c]
test eax, eax
je 0x43557a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x435550
inc edx
cmp eax, edx
jne 0x435540
jmp 0x43557a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43557a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x448274]
push eax
call fcn.00436280
add esp, 0x1c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10