Function at 0x42848c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa80
mov dword [esp + 8], edx
mov esi, ecx
xor ecx, ecx
mov edx, 0x4410
mov al, byte [0x48fdb4]
call fcn.0045a4d0
test eax, eax
je 0x428ee7
mov ecx, dword [ebp + 8]
mov ebx, eax
mov edx, 0xaaaaaaab
and ebx, 0xfffffff0
mov dword [ebx + 0xc], eax
add ebx, 0x10
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov eax, ecx
mul edx
shr edx, 1
and edx, 0xfffffff0
lea eax, [edx + edx*2]
cmp eax, 0x2f
ja 0x42851e
mov ecx, ebx
xor edx, edx
mov dword [esi + 4], 7
mov dword [esi], 0x80000000
call fcn.00421e96
push dword [ebx - 4]
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x428eb7
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov al, byte [0x48f018]
cmp al, 0xff
je 0x42853f
cmp al, 1
lea edi, [esp + 0x4b0]
je 0x42858a
jmp 0x428b53
lea edi, [esp + 0x4b0]
mov ecx, edi
call fcn.004142e6
lea ecx, [esp + 0x2d0]
call fcn.00414303
mov ebx, dword [esp + 0x4b8]
mov eax, ebx
not eax
test eax, 0xc000000
jne 0x428b4c
call 0x428ef6
shr eax, 1
shr ebx, 0x19
and ebx, eax
and ebx, 1
mov byte [0x48f018], bl
je 0x428b53
mov ebx, dword [esp + 8]
lea esi, [esp + 0x1e0]
lea edx, [esp + 0x110]
mov ecx, esi
movups xmm1, xmmword [ebx + 0x10]
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm1
movaps xmmword [esp + 0x110], xmm1
call fcn.00414322
movdqa xmm3, xmmword [esp + 0x20]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x120]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xe0], xmm4
movdqa xmmword [esp + 0x120], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0x30]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
mov ecx, esi
lea edx, [esp + 0x130]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xd0], xmm4
movdqa xmmword [esp + 0x130], xmm4
call fcn.00414338
movdqa xmm3, xmmword [esp + 0xe0]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x140]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xc0], xmm4
movdqa xmmword [esp + 0x140], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0xd0]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
mov ecx, esi
lea edx, [esp + 0x150]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xb0], xmm4
movdqa xmmword [esp + 0x150], xmm4
call fcn.00414343
movdqa xmm3, xmmword [esp + 0xc0]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x160]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xa0], xmm4
movdqa xmmword [esp + 0x160], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0xb0]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
mov ecx, esi
lea edx, [esp + 0x170]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x90], xmm4
movdqa xmmword [esp + 0x170], xmm4
call fcn.0041434e
movdqa xmm3, xmmword [esp + 0xa0]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x180]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x80], xmm4
movdqa xmmword [esp + 0x180], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0x90]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
mov ecx, esi
lea edx, [esp + 0x190]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x70], xmm4
movdqa xmmword [esp + 0x190], xmm4
call fcn.00414359
movdqa xmm3, xmmword [esp + 0x80]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x1a0]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x60], xmm4
movdqa xmmword [esp + 0x1a0], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0x70]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
mov ecx, esi
lea edx, [esp + 0x1b0]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x50], xmm4
movdqa xmmword [esp + 0x1b0], xmm4
call fcn.00414364
movdqa xmm3, xmmword [esp + 0x60]
pshufd xmm0, xmmword [esp + 0x1e0], 0xff
mov ecx, esi
lea edx, [esp + 0x1c0]
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0xf0], xmm4
movdqa xmmword [esp + 0x1c0], xmm4
call fcn.0041432d
movdqa xmm3, xmmword [esp + 0x50]
pshufd xmm0, xmmword [esp + 0x1e0], 0xaa
lea ecx, [esp + 0x1d0]
mov edx, esi
movdqa xmm1, xmm3
movdqa xmm2, xmm3
movdqa xmm4, xmm3
pslldq xmm2, 8
pslldq xmm1, 4
pslldq xmm4, 0xc
pxor xmm2, xmm0
pxor xmm4, xmm1
pxor xmm4, xmm2
pxor xmm4, xmm3
movdqa xmmword [esp + 0x100], xmm4
movdqa xmmword [esp + 0x1e0], xmm4
call fcn.0041436f
movdqa xmm3, xmmword [esp + 0xf0]
movaps xmm4, xmmword [esp + 0x30]
pshufd xmm0, xmmword [esp + 0x1d0], 0xff
lea ecx, [esp + 0x3c0]
mov edx, esi
movdqa xmm2, xmm3
movdqa xmm5, xmm3
movdqa xmm1, xmm3
pslldq xmm2, 4
pslldq xmm5, 0xc
pslldq xmm1, 8
pxor xmm5, xmm2
movaps xmm2, xmmword [esp + 0x20]
pxor xmm1, xmm0
pxor xmm5, xmm1
pxor xmm5, xmm3
movaps xmmword [esp + 0x1e0], xmm2
movaps xmm2, xmmword [esp + 0xe0]
movaps xmmword [esp + 0x1f0], xmm4
movaps xmm4, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x200], xmm2
movaps xmm2, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x210], xmm4
movaps xmm4, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x220], xmm2
movaps xmm2, xmmword [esp + 0xa0]
movaps xmmword [esp + 0x230], xmm4
movaps xmm4, xmmword [esp + 0x90]
movaps xmmword [esp + 0x240], xmm2
movaps xmm2, xmmword [esp + 0x80]
movaps xmmword [esp + 0x250], xmm4
movaps xmm4, xmmword [esp + 0x70]
movaps xmmword [esp + 0x260], xmm2
movaps xmm2, xmmword [esp + 0x60]
movaps xmmword [esp + 0x270], xmm4
movaps xmm4, xmmword [esp + 0x50]
movaps xmmword [esp + 0x280], xmm2
movaps xmm2, xmmword [esp + 0x100]
movaps xmmword [esp + 0x290], xmm4
movdqa xmmword [esp + 0x2a0], xmm3
movaps xmmword [esp + 0x2b0], xmm2
movdqa xmmword [esp + 0x2c0], xmm5
call fcn.00428efc
push 0xf0
push esi
lea esi, [esp + 0x2d8]
push esi
call fcn.00462380
add esp, 0xc
push 0x1e0
push esi
jmp 0x428da3
mov byte [0x48f018], 0
push 0x1e0
push 0
lea edi, [esp + 0x2d8]
push edi
call fcn.00462900
add esp, 0xc
mov esi, dword [esp + 8]
mov ecx, edi
mov edx, esi
push esi
call fcn.00413465
add esp, 4
lea edx, [esi + 0x10]
lea ecx, [esp + 0x2f0]
push edx
call fcn.00413465
add esp, 4
mov ebx, 8
mov esi, 0x40
mov dword [esp + 0x20], 0xfffffe68
mov dword [esp + 0x30], 0x60
lea ecx, [esp + 0x2d0]
mov edx, ebx
call fcn.004135ea
lea edi, [esp + esi + 0x2d0]
mov ecx, edi
call fcn.0041362f
not dword [edi]
not dword [edi + 4]
not dword [edi + 0x14]
not dword [edi + 0x18]
mov edi, dword [esp + 0x20]
add ebx, 8
lea ecx, [esp + 0x2d0]
mov edx, ebx
xor byte [esp + edi + 0x4a9], 0xc0
push 0xe
call fcn.004138a4
add esp, 4
test edi, edi
je 0x428c59
lea ecx, [esp + 0x2d0]
mov edx, ebx
call fcn.004135ea
mov edi, dword [esp + 0x30]
lea ecx, [esp + edi + 0x2d0]
call fcn.0041362f
not dword [esp + esi + 0x2f0]
not dword [esp + esi + 0x2f4]
not dword [esp + esi + 0x304]
not dword [esp + esi + 0x308]
add ebx, 8
lea ecx, [esp + 0x2d0]
mov edx, ebx
push 6
call fcn.004138a4
add esp, 4
add dword [esp + 0x20], 0x44
add edi, 0x40
add esi, 0x40
mov dword [esp + 0x30], edi
jmp 0x428ba8
mov eax, 3
lea ecx, [esp + 0x330]
lea edx, [esp + 0x310]
lea edi, [esp + 0x2f0]
dec eax
mov esi, 0xfffffff8
mov dword [esp + 0x20], eax
mov eax, dword [edi + esi*4 + 0x20]
mov ebx, eax
shr ebx, 4
xor ebx, eax
and ebx, 0x30f0c00
xor eax, ebx
shl ebx, 4
xor ebx, eax
mov eax, ebx
shr eax, 2
xor eax, ebx
and eax, 0x33003300
xor ebx, eax
shl eax, 2
xor eax, ebx
mov dword [edi + esi*4 + 0x20], eax
inc esi
jne 0x428c7d
mov esi, 0xffffffe0
mov eax, dword [edx + esi + 0x20]
mov ebx, eax
shr ebx, 4
xor ebx, eax
and ebx, 0xf000f00
xor eax, ebx
shl ebx, 4
xor ebx, eax
mov dword [edx + esi + 0x20], ebx
add esi, 4
jne 0x428cb4
mov esi, 0xffffffe0
mov eax, dword [ecx + esi + 0x20]
mov ebx, eax
shr ebx, 4
xor ebx, eax
and ebx, 0xc0f0300
xor eax, ebx
shl ebx, 4
xor ebx, eax
mov eax, ebx
shr eax, 2
xor eax, ebx
and eax, 0x33003300
xor ebx, eax
shl eax, 2
xor eax, ebx
mov dword [ecx + esi + 0x20], eax
add esi, 4
jne 0x428cda
mov eax, 0x80
add edi, eax
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x428c73
mov ebx, dword [esp + 8]
mov eax, 0xffffffe0
mov edx, dword [esp + eax + 0x490]
mov ecx, edx
shr ecx, 4
xor ecx, edx
and ecx, 0x30f0c00
xor edx, ecx
shl ecx, 4
xor ecx, edx
mov edx, ecx
shr edx, 2
xor edx, ecx
and edx, 0x33003300
xor ecx, edx
shl edx, 2
xor edx, ecx
mov dword [esp + eax + 0x490], edx
add eax, 4
jne 0x428d2e
mov eax, 0xfffffe40
lea edi, [esp + 0x4b0]
not dword [esp + eax + 0x4b0]
not dword [esp + eax + 0x4b4]
not dword [esp + eax + 0x4c4]
not dword [esp + eax + 0x4c8]
add eax, 0x20
jne 0x428d75
push 0x1e0
lea eax, [esp + 0x2d4]
push eax
push edi
call fcn.00462380
add esp, 0xc
lea esi, [ebx + 0x20]
push 0x1e0
push edi
lea edi, [esp + 0x888]
push edi
call fcn.00462380
add esp, 0xc
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
lea eax, [esp + 0xa60]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push 0x1f0
push edi
lea eax, [esp + 0x698]
push eax
call fcn.00462380
add esp, 0xc
mov edi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x2d0]
mov eax, dword [esp + 0x2d8]
cmp edi, dword [esp + 0xc]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
jne 0x428e27
lea ecx, [esp + 0xc]
mov edx, edi
call fcn.00421dfa
mov edi, dword [esp + 0x14]
add ebx, 0x30
add dword [esp + 0x1c], 0xffffffd0
imul esi, edi, 0x220
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x10]
lea eax, [ebx + esi]
push 0x1f0
lea ecx, [esp + 0x694]
push ecx
push eax
call fcn.00462380
add esp, 0xc
mov dword [ebx + esi + 0x1f0], 0
inc edi
cmp dword [esp + 0x1c], 0x30
movsd xmm0, qword [esp + 0x40]
movsd qword [ebx + esi + 0x1f4], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x48]
mov dword [ebx + esi + 0x1fc], eax
movaps xmmword [ebx + esi + 0x200], xmm0
mov byte [ebx + esi + 0x210], 0
mov dword [esp + 0x14], edi
jae 0x428526
test edi, edi
je 0x428ebf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [esp + 0xc]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov ecx, ebx
xor edx, edx
mov dword [eax + 4], 7
mov dword [eax], 0x80000000
call fcn.00421e96
test esi, esi
jne 0x428508
jmp 0x428eb7
mov ecx, 0x10
mov edx, 0x4400
call fcn.0046d190
xor ecx, ecx
xgetbv
ret