Function at 0x42f620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4732a8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x490240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x50], eax
cmp byte [eax + 0xb1], 0
jne 0x42f668
cmp byte [eax + 0xb2], 0
je 0x42fafb
cmp dword [eax + 0xb8], 0
je 0x42fafb
lea eax, [ebp - 0x8c]
push eax
call fcn.004199f0
add esp, 4
mov edi, dword [ebp - 0x88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], edi
mov esi, dword [edi]
cmp esi, edi
je 0x42fa6c
nop
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040b440
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
sar eax, 2
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x42f763
cmp eax, 0x3fffffff
ja 0x42fb1b
lea edx, [eax*4]
mov dword [ebp - 0x5c], edx
cmp edx, 0x1000
jb 0x42f71a
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x42fb16
push eax
call fcn.004637bf
add esp, 4
test eax, eax
je 0x42fb20
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x42f72d
test edx, edx
je 0x42f72b
push edx
call fcn.004637bf
add esp, 4
mov edx, eax
jmp 0x42f72d
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi + 0x24]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
sub ecx, eax
push ecx
push eax
push edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x5c], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
sar eax, 2
lea eax, [ecx + eax*4]
mov dword [ebp - 0x30], eax
push 0xfde9
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043cd70
add esp, 0xc
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
push ecx
lea ecx, [eax + 0xb4]
call fcn.0041c890
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xd], 0
jne 0x42f87e
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404320
add esp, 8
test al, al
jne 0x42f87e
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x64]
cmp eax, dword [edx + 0xb4]
je 0x42f87e
cmp byte [edx + 0xb2], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], ecx
je 0x42f964
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, 0x811c9dc5
seta byte [ebp - 0x55]
cmova eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x42f815
mov edi, eax
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x42f800
mov edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ecx + 0xbc]
call fcn.0041c7b0
mov edx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
test eax, eax
jne 0x42f83f
mov eax, dword [edx + 0xc0]
cmp eax, dword [edx + 0xc0]
jne 0x42f961
cmp byte [ebp - 0x55], 0
mov byte [ebp - 4], 2
je 0x42f8b6
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f87a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push edx
push ecx
jmp 0x42f8ae
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x42f8b6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f8ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push ecx
push edx
call fcn.004637ef
add esp, 8
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test edx, edx
je 0x42f918
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42f8f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push ecx
push edx
call fcn.004637ef
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x42f952
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42f948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push ecx
push edx
call fcn.004637ef
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x42f6a0
jmp 0x42fa6c
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
cmp edi, eax
je 0x42fa1f
lea eax, [edx + 0xdc]
mov dword [ebp - 0x54], eax
nop
mov esi, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x60], esi
push ecx
mov ecx, eax
call fcn.00414eb0
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xd], 0
jne 0x42f9ad
cmp esi, dword [eax + 0x10]
jl 0x42f9ad
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0xdc]
jne 0x42fa0d
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x60], esi
push ecx
lea ecx, [eax + 0x30]
call fcn.0041c840
mov eax, dword [ebp - 0x90]
cmp byte [eax + 0xd], 0
jne 0x42f9df
cmp esi, dword [eax + 0x10]
jb 0x42f9df
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0x30]
jne 0x42fa0d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0
movups xmmword [ecx], xmm0
push 0x477ae4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0041b9f0
push esi
call fcn.00446340
add esp, 0x1c
mov eax, dword [ebp - 0x54]
add edi, 4
cmp edi, dword [ebp - 0x5c]
jne 0x42f980
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x42fa52
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fa48
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push edx
push ecx
call fcn.004637ef
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418830
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x42fab8
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42fa99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb20
push ecx
push edx
call fcn.004637ef
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x42faeb
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.00418830
push 0x2c
push edi
call fcn.004637ef
add esp, 8
mov edi, esi
test esi, esi
jne 0x42fad0
push 0x2c
push dword [ebp - 0x88]
call fcn.004637ef
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004637fd
mov esp, ebp
pop ebp
ret
call fcn.0040e550
call fcn.0040e6a0
call fcn.00465020
int3