Function at 0x47419f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d71e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4744c2
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
je 0x4744c2
cmp dword [esi + 0x108], 0
je 0x4741ea
push esi
call fcn.00473d66
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00473002
add esp, 0x10
test eax, eax
je 0x47420a
push 0xffffffffffffff99
jmp 0x4744c4
push 0xd8
call fcn.00484704
mov ebx, eax
mov dword [ebp - 0x20], ebx
pop ecx
test ebx, ebx
je 0x4744be
push 0x10000
call fcn.00484704
mov edx, dword [ebp - 0x24]
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x54], edx
xor edx, edx
mov dword [ebx + 0x58], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0xd0], ecx
test eax, eax
jne 0x474267
push 0xffffffffffffff98
pop edi
push ebx
call fcn.00483b93
pop ecx
mov eax, edi
jmp 0x4744c5
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x48], edx
mov edx, dword [esi + 0x9c]
test eax, eax
je 0x474279
mov dword [eax], edx
test edi, edi
je 0x4742ab
push 6
pop ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x98]
and eax, ecx
push 2
pop ecx
sub eax, ecx
je 0x4742a5
sub eax, ecx
je 0x4742a1
sub eax, ecx
jne 0x4742ab
mov dword [edi], 1
jmp 0x4742ab
mov dword [edi], ecx
jmp 0x4742ab
mov dword [edi], 9
mov eax, dword [esi + 0xa4]
lea edi, [ebx + 0x88]
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0xc0], edx
mov eax, dword [esi + 0x34]
push 0xd
mov dword [ebx + 0xbc], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x48]
jne 0x4742ec
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
jmp 0x4742fa
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0xc8], eax
xor edi, edi
lea eax, [ebx + 4]
mov dword [ebx + 0xcc], ecx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0xc], edi
mov dword [eax], edi
cmp dword [ebp + 0x14], edi
jne 0x47432b
cmp edx, 0xc
jne 0x474484
mov dword [ebx + 0xd0], 1
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], ecx
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x84], ecx
xor ecx, ecx
add eax, dword [esi + 0xf8]
adc ecx, dword [esi + 0xfc]
add eax, 0x1e
mov dword [ebx + 0x40], eax
adc ecx, edi
mov dword [ebx + 8], edi
cmp dword [ebp - 0x14], 0
mov dword [ebx + 0x44], ecx
mov dword [esi + 0x108], ebx
je 0x474480
test byte [esi + 0x98], 1
je 0x474480
mov ecx, dword [ebx + 0xc8]
add ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0xcc]
adc eax, dword [ebx + 0x44]
push edi
push eax
push ecx
push dword [esi + 0x34]
push esi
call fcn.00477b10
add esp, 0x14
test eax, eax
jne 0x4744be
call fcn.004139f8
mov edi, eax
lea eax, [esi + 0x110]
mov dword [esi + 0x11c], edi
mov dword [ebp - 0x18], eax
mov dword [eax], 0x12345678
mov dword [eax + 4], 0x23456789
mov dword [eax + 8], 0x34567890
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x47440b
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
movsx eax, al
push eax
push edi
push esi
call fcn.00474d8d
add esp, 0xc
inc ebx
mov al, byte [ebx]
test al, al
jne 0x4743f3
mov esi, dword [ebp - 0x1c]
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x34]
push dword [esi + 0x20]
call dword [esi + 8]
add esp, 0x10
cmp eax, 0xc
jb 0x4744be
xor edi, edi
lea ebx, [esi + 0x110]
mov ecx, dword [esi + 0x118]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [ebp + edi - 0x10], al
movsx eax, byte [ebp + edi - 0x10]
push eax
push dword [esi + 0x11c]
push ebx
call fcn.00474d8d
add esp, 0xc
inc edi
cmp edi, 0xc
jl 0x47442e
mov ebx, dword [ebp - 0x20]
add dword [ebx + 0x78], 0xfffffff4
adc dword [ebx + 0x7c], 0xffffffff
mov eax, dword [esi + 0x108]
add dword [eax + 0x40], 0xc
adc dword [eax + 0x44], 0
xor eax, eax
jmp 0x4744c5
cmp edx, 8
jne 0x47432b
push 0x38
push 0x4c2bc8
push 0xfffffffffffffff1
push eax
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 8], edi
call fcn.0041230c
mov edi, eax
test edi, edi
jne 0x474259
mov dword [ebx + 0x48], 8
jmp 0x47432b
push 0xffffffffffffff98
jmp 0x4744c4
push 0xffffffffffffff9a
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047b6e2
leave
ret 0x14