Function at 0x42fa40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
mov eax, ecx
push esi
mov dword [ebp - 0x38], eax
push edi
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 2
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
sub esp, 0x18
mov dword [ebp - 0x70], 1
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.00464ec0
lea ecx, [ebp - 0xe4]
call fcn.0040b3e0
add esp, 0x18
xor eax, eax
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
movaps xmm0, xmmword [0x5240a0]
xor ecx, ecx
movups xmmword [ebp - 0x95], xmm0
mov dword [ebp - 0x75], 0x3c4836
movaps xmm0, xmmword [0x524400]
movups xmmword [ebp - 0x85], xmm0
mov byte [ebp - 0x71], 1
nop word [eax + eax]
mov al, cl
sub al, 0xc
xor byte [ebp + ecx - 0x95], al
inc ecx
cmp ecx, 0x23
jb 0x42fb00
lea eax, [ebp - 0xc8]
mov byte [ebp - 0x71], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x14], eax
push 1
mov byte [ebp - 4], 5
call fcn.004daa1e
add esp, 4
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.00468280
lea ecx, [ebp - 0x95]
mov byte [ebp - 4], 7
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fb58
sub ecx, edx
lea eax, [ebp - 0x95]
push ecx
add eax, ecx
lea ecx, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x95]
push eax
call fcn.00469d30
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00464ec0
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [ebp - 0x1c], esi
mov dword [eax], 0
mov ecx, dword [ebp - 0xbc]
mov dword [esi + 0xc], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00468280
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x42fbd4
lock inc dword [esi + 0x20]
mov ecx, dword [ebp - 0x14]
call fcn.00466320
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
mov dword [eax], esi
mov byte [ebp - 4], 8
call fcn.0042f010
add esp, 0x2c
xor ecx, ecx
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x6c]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x68]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42fe07
xor edi, edi
nop word [eax + eax]
cmp dword [esi + edi + 0x10], 0xc
jb 0x42fddf
mov dword [ebp - 0x2a], 0xc381a490
xor eax, eax
mov dword [ebp - 0x26], 0x9cadc08f
mov dword [ebp - 0x22], 0xc5af9ea4
mov word [ebp - 0x1e], 0x100
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0x2a], cl
inc eax
cmp eax, 0xc
jb 0x42fc48
sub esp, 0x18
mov byte [ebp - 0x1d], 0
mov edx, esp
mov dword [ebp - 0x1c], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x2a]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fc80
sub ecx, esi
lea eax, [ebp - 0x2a]
push ecx
push eax
mov ecx, edx
call fcn.00402810
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x6c]
mov ecx, esp
add eax, edi
push eax
call fcn.00464ec0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
call fcn.0040be70
add esp, 0x30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
mov eax, dword [eax]
add eax, 0x18
push eax
call fcn.00464ec0
lea ecx, [ebp - 0xf0]
call fcn.004670b0
cmp dword [ebp - 0x78], 0
je 0x42fda1
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x88]
mov dword [ebp - 0x1c], esp
mov ecx, esp
call fcn.00402540
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebx + 0x20]
mov ecx, esp
push eax
call fcn.00464ec0
mov dl, 1
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.0041f5a0
add esp, 0x30
test al, al
je 0x42fd69
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
cmp esi, dword [ebp - 0x40]
je 0x42fd5a
mov ecx, esi
call fcn.00464ec0
add esi, 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x44], esi
jmp 0x42fd69
push esi
lea ecx, [ebp - 0x48]
call fcn.00471a60
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x42fda1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42fd97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x42fddc
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42fdd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x14]
sub ecx, esi
imul ecx
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
jb 0x42fc20
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, edi
mov dword [ebp - 0x14], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0x43003c
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 1
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov word [ebp - 0x34], 0x2d
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0xf
mov word [ebp - 0x60], 0x2d
mov byte [ebp - 4], 0x13
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
cmp eax, 0x10
jb 0x42fe76
add ecx, dword [edi]
jmp 0x42fe7f
add ecx, edi
mov esi, edi
cmp eax, 0x10
jb 0x42fe81
mov esi, dword [edi]
sub esp, 0x18
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
cmp esi, ecx
jne 0x42fea9
xor eax, eax
mov dword [edx + 0x14], 7
mov word [edx], ax
jmp 0x42feb7
mov eax, ecx
sub eax, esi
push eax
push ecx
push esi
mov ecx, edx
call fcn.00470030
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x34]
call fcn.0042f470
add esp, 0x18
test al, al
je 0x42ffb9
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00464ec0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xa0]
call fcn.00464ec0
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x15
call fcn.00464ec0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0x38]
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x42ff56
call fcn.004786c0
movups xmm0, xmmword [ebp - 0x88]
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
movups xmmword [ecx + 0x30], xmm0
mov byte [ebp - 0x88], 0
movq xmm0, qword [ebp - 0x78]
movq qword [ecx + 0x40], xmm0
mov ecx, 0xf
add dword [edx + 4], 0x48
mov dword [ebp - 0x78], 0
jmp 0x42ff61
push ecx
mov ecx, edx
call fcn.004708b0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x13
cmp ecx, 0x10
jb 0x42ff99
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ff8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.0041d500
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x42fff1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ffe7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x430029
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43001f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov esi, dword [ebp - 0x14]
add edi, 0x18
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jb 0x42fe30
lea ecx, [ebp - 0x6c]
call fcn.004670b0
lea ecx, [ebp - 0xcc]
call fcn.00466320
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x43006c
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x43006c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea ecx, [ebp - 0x48]
call fcn.004670b0
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0x10
jb 0x4300ae
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4300a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
cmp ecx, 0x10
jb 0x4300f9
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4300ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x43013b
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x430131
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430151
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1130
int3