Function at 0x435d6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x1b
ja 0x435dd3
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xfd0f2ef9
add ecx, 0xfd0f2ef9
and ecx, edx
add ecx, ecx
sub eax, ecx
mov ecx, eax
xor ecx, 0x30
and eax, 0x30
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x1c
jb 0x435d90
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44a2fc]
test eax, eax
je 0x435e26
xor ecx, ecx
mov edx, dword [0x44a300]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x18dc7455
je 0x435e00
inc ecx
cmp eax, ecx
jne 0x435df0
jmp 0x435e26
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x435e26
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 4
push dword [0x44a304]
push eax
call fcn.00437f30
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x436029
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0xc]
mov word [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x33323160
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x11
ja 0x435ecd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x64e37a8
add edx, 0x64e37a8
mov edi, esi
not edi
or edi, edx
add edi, esi
and edx, esi
add edx, edi
inc edx
mov esi, ecx
not esi
and esi, edx
not edx
and edx, ecx
sub edx, esi
add dl, 0x68
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], dl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x12
jb 0x435e80
mov ecx, dword [esp + 0x10]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x452328]
mov edi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x1b
ja 0x435f74
nop
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xfd0f2ef9
add edx, 0xfd0f2ef9
and edx, esi
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x30
and ecx, 0x30
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x1c
jb 0x435f30
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x44a2fc]
test ecx, ecx
je 0x435fc1
xor edx, edx
mov esi, dword [0x44a300]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x18dc7455
je 0x435fa0
inc edx
cmp ecx, edx
jne 0x435f90
jmp 0x435fc1
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x435fc1
push 0
push eax
push edi
push 5
push 4
push dword [0x44a304]
push ecx
call fcn.00437f30
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x436020
mov eax, dword [ebp + 8]
mov esi, dword [edi]
mov dword [esp + 0x34], edi
mov ecx, edi
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0x435ff5
add ebx, 2
cmp si, di
je 0x435fe0
cmp si, di
je 0x436007
mov esi, dword [ecx]
test esi, esi
jne 0x435fd0
mov ebx, 0xc0000225
jmp 0x43601c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x38]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
mov edi, dword [esp + 0x34]
push edi
call fcn.00435b80
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4