Function at 0x10026120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100556b9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x10069018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea esi, [ecx + 0x130]
mov dword [ebp - 0x14], esi
lea edi, [ecx + 0x44]
mov dword [ebp - 0x24], 3
mov eax, dword [edi]
test eax, eax
je 0x10026171
push eax
call dword [0x1006148c]
test eax, eax
je 0x1002634a
movzx eax, word [edi + 4]
xor ecx, ecx
movaps xmm0, xmmword [0x10061a50]
push eax
movzx eax, word [esi]
push eax
movups xmmword [ebp - 0x38], xmm0
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x10026190
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100261be
mov eax, dword [edx]
jmp 0x100261c0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100261cd
xor ecx, ecx
jmp 0x100261dc
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100261d3
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x98]
push eax
call fcn.1000b410
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x10026208
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10026223
xor ecx, ecx
jmp 0x10026231
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026228
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100048e0
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1002625b
push 4
push esi
call ebx
test eax, eax
jne 0x1002625b
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1002626d
inc eax
push eax
push dword [ebp - 0x50]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x1002629e
inc eax
push eax
push dword [ebp - 0x98]
call fcn.100047b0
mov eax, dword [ebp - 0x14]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
movzx esi, word [eax]
mov byte [ebp - 0x98], 0
test ebx, ebx
je 0x100262f3
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call eax
test eax, eax
jne 0x100262f3
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10061524]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x14]
mov ax, word [esi]
cmp ax, word [edi + 4]
jb 0x10026325
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10026322
push 4
push esi
call ebx
test eax, eax
jne 0x10026322
push 0xff80ff00
mov ecx, esi
call dword [0x1006153c]
mov esi, dword [ebp - 0x14]
add esi, 2
add edi, 0x18
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x14], esi
jne 0x10026164
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi], 1
jne 0x100264e5
cmp byte [edi + 6], 0
je 0x100264e5
movzx eax, word [edi + 4]
mov bh, 0x4b
push eax
movzx eax, word [esi]
mov cl, 0x2f
push eax
mov dl, 0x6b
mov byte [ebp - 0x18], 0
mov dh, cl
mov byte [ebp - 0x20], bh
mov ah, dl
mov byte [ebp - 0x18], 0
xor dl, bh
xor dh, bh
mov byte [ebp - 0x1d], dl
mov al, 0x6e
mov byte [ebp - 0x19], dh
sub esp, 0x18
mov edx, esp
mov ch, al
mov bl, 0x64
xor al, bh
xor cl, bh
mov byte [ebp - 0x1f], al
xor bl, bh
mov byte [ebp - 0x1e], cl
xor ah, bh
mov byte [ebp - 0x1c], bl
xor ch, bh
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x1a], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100263c1
mov eax, dword [edx]
jmp 0x100263c3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x100263d0
xor ecx, ecx
jmp 0x100263df
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100263d6
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0xb0]
push eax
call fcn.1000b410
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x1002640b
mov edx, dword [edx]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10026426
xor ecx, ecx
jmp 0x10026439
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026430
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100048e0
mov byte [ebp - 4], 3
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10026468
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call eax
test eax, eax
jne 0x10026468
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x1002647a
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x100264ab
inc eax
push eax
push dword [ebp - 0xb0]
call fcn.100047b0
mov eax, dword [ebp - 0x14]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
movzx esi, word [eax]
mov byte [ebp - 0xb0], 0
test ebx, ebx
je 0x100262f3
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x100262d0
movzx eax, word [edi + 4]
push eax
sub esp, 0x18
mov word [ebp - 0x10], 0x1c
mov edx, esp
mov byte [ebp - 0xf], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10026511
mov eax, dword [edx]
jmp 0x10026513
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xf], 0
jne 0x10026520
xor ecx, ecx
jmp 0x1002652f
lea ecx, [ebp - 0xf]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026526
sub ecx, esi
push ecx
lea eax, [ebp - 0xf]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0xc8]
push eax
call fcn.1000b410
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x1002655b
mov edx, dword [edx]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp byte [edx], 0
jne 0x10026576
xor ecx, ecx
jmp 0x10026589
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026580
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.100048e0
mov byte [ebp - 4], 5
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100265b3
push 4
push esi
call ebx
test eax, eax
jne 0x100265b3
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x100265c5
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x100265f6
inc eax
push eax
push dword [ebp - 0xc8]
call fcn.100047b0
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
jmp 0x100262f9