Function at 0x4bfd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1fc
mov eax, dword [0x592830]
xor eax, esp
mov dword [esp + 0x1f8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
test ecx, ecx
jne 0x4bfde4
push 0x139
push str.cryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
mov ecx, 6
call fcn.004144f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
js 0x4bfe96
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm0
movq qword [esp + 0x4c], xmm0
movq qword [esp + 0x54], xmm0
movq qword [esp + 0x5c], xmm0
movq qword [esp + 0x64], xmm0
movq qword [esp + 0x24], xmm0
movq qword [esp + 0x2c], xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x20], 0
test edi, edi
jne 0x4bfe3c
xor edx, edx
jmp 0x4bfe4f
cmp edx, 0xffffffff
jne 0x4bfe4f
mov edx, edi
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4bfe46
sub edx, ebx
push 0
push ecx
push edx
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.004828e0
add esp, 0xc
test eax, eax
jne 0x4bfead
lea ecx, [esp + 0x3c]
call fcn.00424520
lea ecx, [esp + 0x54]
call fcn.00424520
lea ecx, [esp + 0x24]
call fcn.00424520
push 0xd0
lea eax, [esp + 0x24]
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4c0078
mov edx, 1
lea ecx, [ecx]
cmp ecx, dword [esp + 0x18]
mov ebx, ecx
cmovg ebx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0xd], al
mov eax, edx
shr eax, 8
mov byte [esp + 0xf], dl
lea edx, [esp + 0x20]
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe], al
call fcn.00482be0
test eax, eax
je 0x4bfe65
cmp dword [esp + 0xf0], 0
je 0x4c00c3
push dword [ebp + 0xc]
lea eax, [esp + 0xf8]
push dword [esp + 0x20]
push eax
call dword [esp + 0x114]
add esp, 0xc
test eax, eax
je 0x4c00c3
cmp dword [esp + 0xf0], 0
je 0x4c00c3
push 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xfc]
push eax
call dword [esp + 0x114]
add esp, 0xc
test eax, eax
je 0x4c00c3
push 0
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0xf4]
call fcn.00482b00
add esp, 4
test eax, eax
je 0x4c00c3
lea ecx, [esp + 0xf0]
call fcn.00482c80
push ebx
lea eax, [esp + 0x1c4]
push eax
push esi
call fcn.004f0080
mov edi, 1
add esp, 0xc
cmp dword [ebp + 0x10], edi
jle 0x4c0059
lea esp, [esp]
lea edx, [esp + 0x20]
lea ecx, [esp + 0xf0]
call fcn.00482be0
test eax, eax
je 0x4bfe65
cmp dword [esp + 0xf0], 0
je 0x4c00c3
push dword [esp + 0x18]
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0xfc]
push eax
call dword [esp + 0x114]
add esp, 0xc
test eax, eax
je 0x4c00c3
push 0
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0xf4]
call fcn.00482b00
add esp, 4
test eax, eax
je 0x4c00c3
lea ecx, [esp + 0xf0]
call fcn.00482c80
test ebx, ebx
jle 0x4c004f
mov eax, esi
lea esi, [esp + 0x1c0]
sub esi, dword [esp + 0x10]
mov edx, ebx
jmp 0x4c0040
mov cl, byte [esi + eax]
xor byte [eax], cl
lea eax, [eax + 1]
dec edx
jne 0x4c0040
mov esi, dword [esp + 0x10]
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x4bffb0
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
sub ecx, ebx
inc edx
add esi, ebx
mov dword [ebp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
test ecx, ecx
jne 0x4bfec0
lea ecx, [esp + 0x3c]
call fcn.00424520
lea ecx, [esp + 0x54]
call fcn.00424520
lea ecx, [esp + 0x24]
call fcn.00424520
push 0xd0
lea eax, [esp + 0x24]
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x3c]
call fcn.00424520
lea ecx, [esp + 0x54]
call fcn.00424520
lea ecx, [esp + 0x24]
call fcn.00424520
push 0xd0
lea eax, [esp + 0x24]
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
add esp, 0xc
lea ecx, [esp + 0x10c]
call fcn.00424520
lea ecx, [esp + 0x124]
call fcn.00424520
lea ecx, [esp + 0xf4]
call fcn.00424520
push 0xd0
lea eax, [esp + 0xf4]
push 0
push eax
mov eax, dword [fcn.004f2670]
call eax
mov ecx, dword [esp + 0x210]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret