Function at 0x4710e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x74
call fcn.00629030
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 1
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x54], edi
test eax, eax
jne 0x47114c
push 0x143
push 0x6d6d38
push 0x9f
mov edx, 0xa2
lea ecx, [eax + 6]
call fcn.004818c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x471139
push 0x10
mov dword [0x70e32c], 0
call fcn.0063320d
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
test esi, esi
je 0x471139
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
call fcn.00491af0
test eax, eax
jne 0x47119e
mov ecx, esi
call fcn.004919e0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4711ab
mov ebx, 0x680823
xor ecx, ecx
jmp 0x4711c1
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x4711c1
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4711b8
sub ecx, edx
push 0
push dword [ebp - 0x58]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.00491550
add esp, 0xc
test eax, eax
jne 0x47124d
mov ecx, dword [esi + 8]
call fcn.00478250
mov ecx, dword [esi + 0xc]
call fcn.00478250
mov ecx, dword [esi + 4]
call fcn.00478250
mov dword [esi], 0
mov esi, dword [esi + 8]
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 0xc]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
mov esi, dword [ebx + 4]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
add esp, 4
push ebx
call fcn.0062fb07
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
call fcn.004919a0
mov ebx, eax
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x4711d7
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x471471
mov edx, 1
nop
mov esi, dword [ebp - 0x5c]
mov eax, edx
cmp ecx, esi
mov byte [ebp - 0x49], dl
cmovle esi, ecx
shr eax, 0x18
mov byte [ebp - 0x4c], al
mov ecx, ebx
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x4b], al
mov eax, edx
mov edx, dword [ebp - 0x50]
shr eax, 8
mov byte [ebp - 0x4a], al
call fcn.00491b50
test eax, eax
je 0x47154a
cmp dword [ebx], 0
je 0x47154a
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4712cd
mov eax, dword [ebx + 4]
push ecx
push dword [ebp - 0x64]
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x47154a
cmp dword [ebx], 0
je 0x47154a
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x4c]
push 4
push ecx
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x47154a
push 0
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004918a0
add esp, 4
test eax, eax
je 0x47154a
push esi
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.0062bbe0
add esp, 0xc
mov dword [ebp - 0x58], 1
cmp dword [ebp + 0x18], 1
jle 0x471455
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.00491b50
test eax, eax
je 0x47154a
cmp dword [ebx], 0
je 0x47154a
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x471361
mov eax, dword [ebx + 4]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x47154a
push 0
lea edx, [ebp - 0x48]
mov ecx, ebx
call fcn.004918a0
add esp, 4
test eax, eax
je 0x47154a
xor eax, eax
test esi, esi
jle 0x471445
cmp esi, 0x40
jb 0x47142b
lea edx, [edi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, esi
cmp edi, ecx
ja 0x4713a3
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x47142b
mov ecx, esi
and ecx, 0x8000003f
jns 0x4713b2
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, esi
lea ebx, [ebp - 0x38]
sub edx, ecx
lea ecx, [edi + 0x20]
mov dword [ebp - 0x6c], edx
lea edx, [ebp - 0x48]
sub edx, edi
sub ebx, edi
mov dword [ebp - 0x68], edx
mov edi, edx
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebp + eax - 0x48]
pxor xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x38]
add eax, 0x40
mov edx, eax
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edi + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [ebx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, dword [ebp - 0x6c]
jl 0x4713d0
mov ebx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x54]
cmp edx, esi
jge 0x471445
lea edx, [eax + edi]
lea edi, [ebp - 0x48]
sub edi, dword [ebp - 0x54]
mov cl, byte [edi + edx]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, esi
jl 0x471434
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp + 0x18]
jl 0x471326
mov ecx, dword [ebp + 0x20]
add edi, esi
mov edx, dword [ebp - 0x60]
sub ecx, esi
inc edx
mov dword [ebp + 0x20], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x54], edi
test ecx, ecx
jne 0x471270
mov ecx, dword [ebx + 8]
call fcn.00478250
mov ecx, dword [ebx + 0xc]
call fcn.00478250
mov ecx, dword [ebx + 4]
call fcn.00478250
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebx], 0
call fcn.00478250
push esi
call fcn.0062fb07
mov esi, dword [ebx + 0xc]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
mov esi, dword [ebx + 4]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
add esp, 4
push ebx
call fcn.0062fb07
mov ebx, dword [ebp - 0x50]
add esp, 4
mov ecx, dword [ebx + 8]
call fcn.00478250
mov ecx, dword [ebx + 0xc]
call fcn.00478250
mov ecx, dword [ebx + 4]
call fcn.00478250
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebx], 0
call fcn.00478250
push esi
call fcn.0062fb07
mov esi, dword [ebx + 0xc]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
mov esi, dword [ebx + 4]
add esp, 4
mov ecx, esi
call fcn.00478250
push esi
call fcn.0062fb07
add esp, 4
push ebx
call fcn.0062fb07
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.004919e0
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebx + 8]
call fcn.00478250
mov ecx, dword [ebx + 0xc]
call fcn.00478250
mov ecx, dword [ebx + 4]
call fcn.00478250
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebx], 0
call fcn.00478250
push esi
call fcn.0062fb07
jmp 0x471208