Function at 0x10024040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087066
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x100b618c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x164], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], 0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x87a123
mov dword [ebp - 0x1c], 0xf1459b4f
mov dword [ebp - 0x18], 0x20396443
mov dword [ebp - 0x14], 0xd44214f3
mov dword [ebp - 0x2c], 0x20396443
mov dword [ebp - 0x28], 0xd44214f3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xa4], 0xc
call fcn.10025290
mov dword [ebp - 0x16c], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10047ab1
cmp dword [ebp + 0x20], 0x10
mov ecx, eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x170], ecx
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.10025290
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.10023db0
mov eax, dword [ebp - 0x16c]
lea esi, [ebp - 0x10c]
mov ecx, 0x1a
lea edi, [ebp - 0xa0]
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x168], eax
mov esi, eax
test al, 7
je 0x10024164
and esi, 0xfffffff8
add esi, 8
mov dword [ebp - 0x16c], esi
jmp 0x1002416a
mov dword [ebp - 0x16c], eax
push esi
call fcn.10047ab1
mov edi, eax
add esp, 4
test edi, edi
je 0x1002418a
push esi
push 0
push edi
call fcn.1005f8e0
add esp, 0xc
mov byte [edi], 0
jmp 0x1002418c
xor edi, edi
push esi
push dword [ebp - 0x168]
push edi
call fcn.1005f8e0
push dword [ebp - 0x168]
push dword [ebp - 0x170]
push edi
call fcn.1005ede0
push 0
call fcn.10047aac
push esi
call fcn.10047ab1
mov ecx, eax
add esp, 0x20
mov eax, esi
mov dword [ebp - 0x170], ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x168], eax
test eax, eax
jle 0x10024253
lea esi, [ecx + 2]
sub edi, ecx
nop dword [eax]
mov eax, dword [esi + edi - 2]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x114], eax
mov eax, dword [esi + edi + 2]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10024c70
mov eax, dword [ebp - 0x114]
lea esi, [esi + 8]
mov ecx, eax
mov byte [esi - 0xa], al
shr ecx, 0x10
mov byte [esi - 9], ah
mov word [esi - 8], cx
mov ecx, dword [ebp - 0x110]
mov eax, ecx
shr eax, 8
mov byte [esi - 5], al
mov eax, ecx
mov byte [esi - 6], cl
shr eax, 0x10
shr ecx, 0x18
sub dword [ebp - 0x168], 1
mov byte [esi - 4], al
mov byte [esi - 3], cl
jne 0x100241e0
mov esi, dword [ebp - 0x16c]
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x168], eax
call fcn.10047ab1
mov edi, eax
mov dword [ebp - 0x16c], eax
add esp, 4
test edi, edi
je 0x10024285
lea eax, [esi + 0x10]
push eax
push 0
push edi
call fcn.1005f8e0
add esp, 0xc
mov byte [edi], 0
jmp 0x1002428d
xor edi, edi
mov dword [ebp - 0x16c], edi
mov eax, dword [ebp - 0x164]
push esi
push dword [ebp - 0x170]
movups xmm0, xmmword [eax]
lea eax, [edi + 0x10]
push eax
movups xmmword [edi], xmm0
call fcn.1005ede0
push 0
call fcn.10047aac
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10023db0
mov ecx, 0x1a
lea esi, [ebp - 0x10c]
lea edi, [ebp - 0xa0]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x168]
push edi
call fcn.10047ab1
mov ecx, dword [ebp - 0x164]
add esp, 0x1c
mov esi, eax
lea eax, [ebp - 0x2c]
push 1
push eax
lea eax, [ebp - 0xa4]
push eax
push edi
push esi
push dword [ebp - 0x16c]
call fcn.10023e80
push edi
lea eax, [ebp - 0x130]
push esi
push eax
call fcn.10025910
push esi
mov byte [ebp - 4], 2
call fcn.10047aac
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.10025500
add esp, 0x18
mov eax, dword [ebp - 0x138]
lea edi, [ebp - 0x148]
cmp dword [ebp - 0x134], 8
mov edx, dword [0x100b5070]
cmovae edi, dword [ebp - 0x148]
lea esi, [eax + eax]
mov byte [ebp - 4], 3
xor eax, eax
mov dword [0x100b8de8], 1
mov dword [ebp - 0x164], eax
nop dword [eax + eax]
test al, 1
mov ecx, 0
cmovne ecx, edx
shr eax, 1
xor ecx, eax
mov eax, 0
test cl, 1
cmovne eax, edx
shr ecx, 1
xor eax, ecx
mov ecx, 0
test al, 1
cmovne ecx, edx
shr eax, 1
xor ecx, eax
mov eax, 0
test cl, 1
cmovne eax, edx
shr ecx, 1
xor eax, ecx
mov ecx, 0
test al, 1
cmovne ecx, edx
shr eax, 1
xor ecx, eax
mov eax, 0
test cl, 1
cmovne eax, edx
shr ecx, 1
xor eax, ecx
mov ecx, 0
test al, 1
cmovne ecx, edx
shr eax, 1
xor ecx, eax
mov eax, 0
test cl, 1
cmovne eax, edx
shr ecx, 1
xor eax, ecx
mov ecx, dword [ebp - 0x164]
mov dword [ecx*4 + 0x100b8df0], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x164], eax
cmp eax, 0x100
jl 0x10024370
cmp esi, 1
jge 0x1002440f
or ecx, 0xffffffff
jmp 0x10024431
xor ecx, ecx
xor edx, edx
test esi, esi
je 0x1002442f
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100b8df0]
cmp edx, esi
jne 0x10024417
not ecx
push 4
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], ecx
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.10025910
add esp, 0xc
mov esi, dword [ebp - 0x174]
mov ecx, esi
push 6
push str.QBCI01
mov byte [ebp - 4], 4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.100093b0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x178], 1
push eax
lea eax, [ebp - 0x194]
push esi
push eax
call fcn.1001f740
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
mov byte [ebp - 4], 5
call fcn.10009070
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x38]
movq qword [ebp - 0x114], xmm1
movq qword [ebp - 0x28], xmm1
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x38], xmm0
cmp esi, eax
je 0x1002454e
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10024533
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1002451d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024712
mov eax, edx
push ecx
push eax
call fcn.10047742
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x114]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm1
jmp 0x10024582
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x10024582
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024578
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024712
push edx
push ecx
call fcn.10047742
add esp, 8
mov edx, dword [ebp - 0x180]
cmp edx, 0x10
jb 0x100245bc
mov ecx, dword [ebp - 0x194]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100245b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024717
push edx
push ecx
call fcn.10047742
add esp, 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x100245f6
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100245ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002471c
push edx
push ecx
call fcn.10047742
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp edx, 8
jb 0x10024651
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024721
push edx
push ecx
call fcn.10047742
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
cmp edx, 0x10
jb 0x100246a8
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002469e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024726
push edx
push ecx
call fcn.10047742
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x100246f3
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100246e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002472b
push edx
push ecx
call fcn.10047742
add esp, 8
mov eax, esi
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.10047a96
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10062cbc
call fcn.10062cbc
call fcn.10062cbc
call fcn.10062cbc
call fcn.10062cbc
call fcn.10062cbc
int3