Function at 0x433920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x18
mov ebx, edx
mov esi, ecx
push 0x564342
push ebx
mov dword [ebp - 4], ebx
call fcn.0043d7a0
add esp, 0xc
push 0x10
push dword [esi]
push ebx
call fcn.0043d7a0
add esp, 0xc
push 0x18
push dword [esi + 4]
push ebx
call fcn.0043d7a0
mov edx, dword [esi + 4]
mov eax, 1
add esp, 0xc
cmp edx, eax
jle 0x433982
mov edi, dword [esi + 8]
nop word [eax + eax]
mov cl, byte [edi + eax - 1]
test cl, cl
je 0x433982
cmp byte [edi + eax], cl
jl 0x433982
inc eax
cmp eax, edx
jl 0x433970
push 1
cmp eax, edx
jne 0x433a3a
mov edi, dword [ebp - 4]
xor ebx, ebx
push 1
push edi
call fcn.0043d7a0
mov eax, dword [esi + 8]
add esp, 0xc
movsx eax, byte [eax]
push 5
dec eax
push eax
push edi
call fcn.0043d7a0
mov eax, dword [esi + 4]
lea edi, [ebx + 1]
add esp, 0xc
cmp eax, edi
jle 0x433a16
nop dword [eax]
mov eax, dword [esi + 8]
mov cl, byte [eax + edi]
mov al, byte [eax + edi - 1]
cmp cl, al
jle 0x433a0e
movsx edx, cl
movsx eax, al
cmp eax, edx
jge 0x433a0e
sub edx, eax
mov dword [ebp - 8], edx
nop dword [eax]
mov eax, dword [esi + 4]
mov ecx, 0
sub eax, ebx
je 0x4339f5
nop dword [eax]
inc ecx
shr eax, 1
jne 0x4339f0
push ecx
mov eax, edi
sub eax, ebx
push eax
push dword [ebp - 4]
call fcn.0043d7a0
add esp, 0xc
mov ebx, edi
sub dword [ebp - 8], 1
jne 0x4339e0
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x4339c0
mov ecx, 0
sub eax, ebx
je 0x433a25
nop
inc ecx
shr eax, 1
jne 0x433a20
push ecx
sub edi, ebx
mov ebx, dword [ebp - 4]
push edi
push ebx
call fcn.0043d7a0
add esp, 0xc
jmp 0x433add
push 0
push ebx
call fcn.0043d7a0
mov ecx, dword [esi + 4]
add esp, 0xc
xor eax, eax
test ecx, ecx
jle 0x433a5c
mov edx, dword [esi + 8]
cmp byte [edx + eax], 0
je 0x433a5c
inc eax
cmp eax, ecx
jl 0x433a51
push 1
cmp eax, ecx
jne 0x433a90
push 0
push ebx
call fcn.0043d7a0
xor edi, edi
add esp, 0xc
cmp dword [esi + 4], edi
jle 0x433add
mov eax, dword [esi + 8]
push 5
movsx eax, byte [eax + edi]
dec eax
push eax
push ebx
call fcn.0043d7a0
inc edi
add esp, 0xc
cmp edi, dword [esi + 4]
jl 0x433a74
jmp 0x433add
push 1
push ebx
call fcn.0043d7a0
xor edi, edi
add esp, 0xc
cmp dword [esi + 4], edi
jle 0x433add
mov eax, dword [esi + 8]
cmp byte [edi + eax], 0
jne 0x433ab2
xor eax, eax
lea ecx, [eax + 1]
jmp 0x433acc
push 1
push 1
push ebx
call fcn.0043d7a0
mov eax, dword [esi + 8]
add esp, 0xc
mov ecx, 5
movsx eax, byte [eax + edi]
dec eax
push ecx
push eax
push ebx
call fcn.0043d7a0
inc edi
add esp, 0xc
cmp edi, dword [esi + 4]
jl 0x433aa2
push 4
push dword [esi + 0xc]
push ebx
call fcn.0043d7a0
mov eax, dword [esi + 0xc]
add esp, 0xc
sub eax, 0
je 0x433b8e
sub eax, 1
je 0x433b01
sub eax, 1
jne 0x433b07
cmp dword [esi + 0x20], 0
jne 0x433b11
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x20
push dword [esi + 0x10]
push ebx
call fcn.0043d7a0
add esp, 0xc
push 0x20
push dword [esi + 0x14]
push ebx
call fcn.0043d7a0
mov eax, dword [esi + 0x18]
add esp, 0xc
dec eax
push 4
push eax
push ebx
call fcn.0043d7a0
add esp, 0xc
push 1
push dword [esi + 0x1c]
push ebx
call fcn.0043d7a0
mov eax, dword [esi + 0xc]
add esp, 0xc
sub eax, 1
je 0x433b60
sub eax, 1
jne 0x433b8e
mov eax, dword [esi]
imul eax, dword [esi + 4]
jmp 0x433b67
mov ecx, esi
call fcn.004245f0
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
jle 0x433b8e
mov eax, dword [esi + 0x20]
push dword [esi + 0x18]
mov eax, dword [eax + edi*4]
cdq
xor eax, edx
sub eax, edx
push eax
push ebx
call fcn.0043d7a0
inc edi
add esp, 0xc
cmp edi, dword [ebp - 8]
jl 0x433b70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret