Function at 0x435b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0x34353637
mov dword [esp + 0x10], 0
lea eax, [esp + 0xc]
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0xfffffff8
add esi, edx
movzx edi, byte [eax]
xor edi, esi
mov esi, edi
and esi, 1
xor edi, 0xf5
lea ebx, [edi + esi*2]
add bl, 0x3b
mov byte [eax], bl
inc edx
inc eax
add ecx, 2
cmp ecx, 0x10
jne 0x435bf0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44839c]
test ecx, ecx
je 0x435c6e
xor edx, edx
mov esi, dword [0x4483a0]
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x435c40
inc edx
cmp ecx, edx
jne 0x435c30
jmp 0x435c6e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x435c6e
lea eax, [esp + 0x30]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push ecx
push dword [0x4483a4]
call fcn.00437ec0
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x24]
js 0x4362f2
cmp dword [edi + 4], 0
je 0x436280
mov eax, dword [edi + 4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0xc], 0x21252724
mov byte [esp + 0x10], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x39
xor dl, byte [esp + ecx + 0xc]
add dl, 0xe3
mov byte [esp + ecx + 0xc], dl
inc ecx
cmp ecx, 5
jne 0x435cd0
mov ebx, 0x7fff
cmp eax, 2
je 0x435cf5
mov ebx, 0
mov eax, 0xfffeffff
je 0x435d01
mov eax, SysReAllocString
mov edx, dword [esp + 0xc]
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x1c], eax
cmp edx, eax
mov dword [esp + 0x2c], ecx
mov eax, ecx
sbb eax, ebx
jae 0x436206
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x34], ebx
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x40], edx
mov ecx, edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x3c]
push edx
call fcn.00435730
mov edx, dword [esp + 0x40]
cmp eax, 0xbfffffff
ja 0x436206
test eax, eax
js 0x4361d0
cmp dword [esp + 0x64], 0x1000
jne 0x4361d0
test byte [esp + 0x60], 0x66
je 0x4361d0
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x30], esi
mov ecx, dword [esp + 0x4c]
mov eax, 0
mov dword [esp + 0x3c], ecx
sbb eax, ecx
jae 0x435f1e
mov dword [esp + 0xc], 0x34353637
mov dword [esp + 0x10], 0
xor eax, eax
lea ecx, [esp + 0xc]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0xfffffff8
add edi, edx
movzx ebx, byte [ecx]
xor ebx, edi
mov edi, ebx
and edi, 1
xor ebx, 0xf5
lea ebx, [ebx + edi*2]
add bl, 0x3b
mov byte [ecx], bl
inc edx
inc ecx
add eax, 2
cmp eax, 0x10
jne 0x435dd0
mov eax, dword [0x44839c]
test eax, eax
je 0x435e4a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [0x4483a0]
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0x435e20
inc edx
cmp eax, edx
jne 0x435e10
jmp 0x435e4a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x435e4a
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push eax
push dword [0x4483a4]
call fcn.00437ec0
add esp, 0x1c
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], 0x34353637
mov dword [esp + 0x10], 0
xor eax, eax
lea ecx, [esp + 0xc]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0xfffffff8
add edi, edx
movzx ebx, byte [ecx]
xor ebx, edi
mov edi, ebx
and edi, 1
xor ebx, 0xf5
lea ebx, [ebx + edi*2]
add bl, 0x3b
mov byte [ecx], bl
inc edx
inc ecx
add eax, 2
cmp eax, 0x10
jne 0x435e80
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44839c]
test ecx, ecx
mov ebx, dword [esp + 0x34]
je 0x435f0e
xor edx, edx
mov edi, dword [0x4483a0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0x435ee0
inc edx
cmp ecx, edx
jne 0x435ed0
jmp 0x435f0e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x435f0e
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push ecx
push dword [0x4483a4]
call fcn.00437ec0
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
js 0x436206
mov ecx, edi
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x40]
push esi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push edx
call fcn.00435a10
test eax, eax
jns 0x435f47
cmp eax, 0x8000000d
jne 0x4361d0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x4361d0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.00436340
add esp, 0x18
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
cmp esi, eax
je 0x4361b9
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
jmp 0x435fe6
push dword [esp + 8]
call fcn.00408170
add esp, 4
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8]
mov dword [esp + 0x20], eax
mov edx, edi
add edx, ebx
mov ecx, edi
mov edi, ebx
mov ebx, dword [esp + 0x3c]
mov dword [ecx + edi], ebx
mov eax, dword [esp + 0x6c]
mov dword [ecx + edi + 4], eax
add edx, 8
add esi, 4
cmp esi, dword [esp + 0x5c]
je 0x436175
mov ebx, dword [esi]
sub ebx, dword [esp + 0x18]
mov eax, ebx
sar eax, 0x1f
add ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
adc eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov ebx, edx
sub ebx, ecx
cmp edx, dword [esp + 0x20]
jne 0x435fc5
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov edx, ebx
sar edx, 3
lea eax, [edx + 1]
mov ecx, edx
shr ecx, 1
add ecx, edx
cmp ecx, eax
ja 0x436027
mov ecx, eax
mov eax, ecx
and eax, 0xfffffff7
mov edi, ecx
and edi, 8
mov edx, ecx
mov dword [esp + 0x20], ecx
or edx, 8
imul edx, edi
xor edi, 8
imul edi, eax
add edx, edi
push edx
call fcn.00408160
add esp, 4
mov edi, eax
mov edx, dword [esp + 8]
test edx, edx
je 0x435fb4
cmp edi, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], edi
jbe 0x436122
cmp dword [esp + 4], edi
jbe 0x436122
test ebx, ebx
je 0x435fa0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x28]
add eax, edx
dec eax
mov ecx, dword [esp + 0x38]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x4360b4
neg edi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4360a0
add eax, edx
add ecx, edx
add edx, dword [esp + 0x28]
mov edi, dword [esp + 8]
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x435fa0
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x4360d0
jmp 0x435fa0
mov ecx, ebx
shr ecx, 2
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [esp + 0x38]
lea edi, [eax + edx]
add edx, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 4], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x435fa0
mov eax, dword [esp + 0x28]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + eax], cl
jmp 0x435fa0
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x68]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x4361f4
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
cmp eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
je 0x4361b3
push eax
call fcn.00408170
add esp, 4
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x24]
jmp 0x4361d4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
adc eax, dword [esp + 0x54]
cmp edx, esi
mov dword [esp + 0x2c], eax
sbb eax, ebx
jb 0x435d40
jmp 0x436206
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
jmp 0x4361d4
mov dword [esp + 0xc], 0x34353637
mov dword [esp + 0x10], 0
lea eax, [esp + 0xc]
xor ecx, ecx
xor edx, edx
nop
nop
mov esi, ecx
and esi, 0xfffffff8
add esi, edx
movzx edi, byte [eax]
xor edi, esi
mov esi, edi
and esi, 1
xor edi, 0xf5
lea ebx, [edi + esi*2]
add bl, 0x3b
mov byte [eax], bl
inc edx
inc eax
add ecx, 2
cmp ecx, 0x10
jne 0x436220
mov eax, dword [0x44839c]
test eax, eax
je 0x4362f2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x4483a0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x4362c8
inc edx
cmp eax, edx
jne 0x436270
jmp 0x4362f2
push 0xbbf966b4
push dword [0x448390]
call fcn.0043aff0
add esp, 8
test eax, eax
je 0x4362ff
mov ecx, dword [edi]
test ecx, ecx
je 0x435c84
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x43630b
cmp dword [esp + 0xc], 0
je 0x43630b
mov dword [edi + 4], 3
jmp 0x435c84
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4362f2
lea ecx, [esp + 0x44]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push eax
push dword [0x4483a4]
call fcn.00437ec0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], 1
jmp 0x435c84
lea eax, [esp + 0x50]
push eax
call fcn.0043b840
add esp, 4
test al, al
je 0x435c84
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x436330
mov ecx, eax
mov dword [edi + 4], ecx
jmp 0x435c84