Function at 0x434570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be808
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4f2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [eax + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x43477a
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 0x10]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00402630
lea ecx, [esi + 0x10]
mov edi, eax
call fcn.00401921
mov edx, edi
mov ecx, eax
call fcn.00482b70
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edi
push eax
push edx
call fcn.00479940
mov ecx, dword [ebp - 0x54]
mov ebx, eax
mov edx, dword [esi + 0x28]
and ecx, 0xffffff02
mov edi, dword [esi + 0x2c]
or ecx, 2
mov dword [ebp - 0x54], ecx
and ecx, 0xfffffeff
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00478f60
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.004794e0
push eax
mov ecx, ebx
call fcn.004795a0
mov edi, eax
mov byte [ebp - 4], 3
movsx edx, byte [edi + 8]
mov cl, byte [ebp - 0x38]
mov byte [edi + 8], cl
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
movzx eax, al
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [edi + 8]
xor eax, edx
and eax, 0x100
xor eax, edx
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
and eax, 0x100
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00479100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00479100
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x434754
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x434750
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x434750
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x434740
mov esi, eax
jmp 0x43476c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x43476c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x434760
mov eax, dword [ebp - 0x44]
cmp esi, dword [eax + 8]
jne 0x4345e0
jmp 0x43477d
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
mov esi, dword [eax]
cmp esi, eax
je 0x4348e8
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 8]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00402630
lea ecx, [esi + 8]
mov edi, eax
call fcn.00401921
mov edx, edi
mov ecx, eax
call fcn.00482b70
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edi
push eax
push edx
call fcn.00479940
mov ecx, dword [ebp - 0x54]
mov ebx, eax
mov edx, dword [esi + 0x20]
and ecx, 0xffffff02
mov edi, dword [esi + 0x24]
or ecx, 2
mov dword [ebp - 0x54], ecx
and ecx, 0xfffffeff
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00478f60
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.004794e0
push eax
mov ecx, ebx
call fcn.004795a0
mov edi, eax
mov byte [ebp - 4], 6
movsx edx, byte [edi + 8]
mov cl, byte [ebp - 0x38]
mov byte [edi + 8], cl
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
movzx eax, al
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [edi + 8]
xor eax, edx
and eax, 0x100
xor eax, edx
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
and eax, 0x100
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00479100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00479100
mov eax, dword [ebp - 0x44]
mov esi, dword [esi]
cmp esi, dword [eax + 0x10]
jne 0x434790
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43491f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43494f
push edx
push ecx
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495ca5
mov esp, ebp
pop ebp
ret 4
call fcn.00499d54
int3