Function at 0x434600
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor edx, edx
mov ebp, ecx
cmp esi, edx
mov dword [esp + 0x14], ebp
je 0x434a00
mov ecx, dword [esp + 0x50]
cmp ecx, 8
jl 0x434a00
push ebx
push edi
lea eax, [ecx - 8]
mov ebx, 1
mov edi, 0x23456789
cmp eax, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
jl 0x434822
cdq
and edx, 7
add eax, edx
sar eax, 3
test eax, eax
jle 0x434712
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esi]
mov ebp, dword [esp + 0x30]
mov edx, eax
xor ebx, eax
xor ebp, ecx
mov dword [esp + 0x34], ebx
sar edx, 0x1f
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], edx
mov edi, ecx
mov ebx, eax
add esi, 8
xor edx, edx
xor ebp, ebp
xor ebx, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edx
xor ebp, edx
mov esi, eax
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x4c]
mov edx, ecx
mov dword [esp + 0x20], ebx
xor ebx, ebx
xor edx, esi
xor ebx, edi
add ebp, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x20]
adc ebp, ebx
or edx, esi
mov ebx, dword [esp + 0x44]
mov esi, ecx
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x28]
or esi, edi
mov edi, dword [esp + 0x40]
add ebp, edx
mov edx, dword [esp + 0x20]
adc edx, esi
add ebp, edi
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x14]
adc edx, ebx
add ebp, ecx
adc edx, eax
mov eax, dword [esp + 0x10]
xor edi, ebp
xor ebx, edx
dec eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], eax
jne 0x434662
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
lea edx, [ecx - 8]
and edx, 0x80000007
jns 0x434722
dec edx
or edx, 0xfffffff8
inc edx
je 0x4347fb
mov eax, 0x71fb04cb
mov ebp, 0x11f
test edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
jle 0x434784
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov al, byte [esi]
mov ecx, dword [esp + 0x10]
movsx eax, al
cdq
inc esi
call fcn.005634f0
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
adc ebp, edx
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x43474a
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
xor ecx, eax
xor esi, ebp
mov dword [esp + 0x30], ecx
mov ecx, ebp
sar ecx, 0x1f
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], ecx
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x38], ecx
xor esi, ecx
mov edx, ebp
mov ecx, eax
xor edx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x4c]
xor ecx, ecx
xor eax, ebp
mov ebp, dword [esp + 0x28]
xor ecx, edx
add esi, eax
mov eax, dword [esp + 0x38]
adc ebp, ecx
mov ecx, dword [esp + 0x24]
or eax, ecx
mov ecx, dword [esp + 0x3c]
or ecx, edx
mov edx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x20]
adc ebp, ecx
add esi, edi
mov ecx, dword [esp + 0x58]
adc ebp, ebx
add esi, eax
adc ebp, edx
xor edi, esi
xor ebx, ebp
mov ebp, dword [esp + 0x1c]
lea eax, [ecx - 8]
push 1
cdq
push 1
push edx
push eax
call fcn.005634b0
mov esi, dword [esp + 0x34]
xor eax, edi
mov edi, dword [esp + 0x30]
xor edx, ebx
xor edx, esi
xor eax, edi
and edx, 0xfff
jmp 0x434824
xor eax, eax
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
push esi
push ebx
push edx
push eax
call fcn.005633c0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], esi
xor esi, esi
mov edx, dword [ecx + eax - 8]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x1c], 0x40
jmp 0x434883
xor esi, esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.00563480
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x434932
mov edi, dword [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + 0x54], 0x40
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, ebp
call fcn.00563480
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x4348f8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, esi
add eax, ecx
mov ecx, edi
adc ecx, edx
mov edx, dword [esp + 0x44]
push edx
push ebx
push ecx
push eax
call fcn.005633c0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
push 0
push 2
push edi
push esi
call fcn.005634b0
mov ecx, dword [esp + 0x44]
push ecx
push ebx
push edx
push eax
call fcn.005633c0
mov esi, eax
mov eax, dword [esp + 0x54]
inc ebp
dec eax
mov edi, edx
mov dword [esp + 0x54], eax
jne 0x4348bb
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
xor esi, esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x54], 0x40
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, ebp
call fcn.00563480
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x434989
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
add ecx, edx
mov edx, edi
adc edx, eax
mov eax, dword [esp + 0x44]
push eax
push ebx
push edx
push ecx
call fcn.005633c0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
push 0
push 2
push edi
push esi
call fcn.005634b0
mov ecx, dword [esp + 0x44]
push ecx
push ebx
push edx
push eax
call fcn.005633c0
mov esi, eax
mov eax, dword [esp + 0x54]
inc ebp
dec eax
mov edi, edx
mov dword [esp + 0x54], eax
jne 0x43494c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
inc ecx
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], eax
jne 0x434881
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
pop edi
cmp eax, ecx
pop ebx
jne 0x434a00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jne 0x434a00
pop esi
mov eax, 1
pop ebp
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebp
add esp, 0x40
ret 8