Function at 0x100450a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cef4b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100f7040]
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 - 0x70], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x78], ecx
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x49], cl
mov dword [ebp - 0x80], esi
test edi, edi
je 0x10045553
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045553
push 4
add edi, 0xfc
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045553
cmp byte [edi], al
je 0x10045553
cmp dword [ebp + 8], eax
je 0x10045553
cmp byte [ebp - 0x49], 8
jae 0x10045553
mov ecx, 0xd78c9c
call fcn.1001e520
cmp byte [eax + 0x64c], 0
je 0x10045553
cmp dword [0x100faf5c], 0
je 0x10045553
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov eax, dword [eax + 0x164]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10045553
mov ecx, 0xd78d1c
call fcn.1001e520
mov edi, eax
test edi, edi
je 0x10045196
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045196
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x50], edx
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x74], edx
jmp 0x100451a4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x74], 0
movzx eax, byte [ebp - 0x49]
mov ecx, dword [ebp - 0x70]
mov edi, dword [ecx + eax*4 + 4]
test edi, edi
je 0x10045553
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045553
push dword [ebp - 0x74]
mov eax, dword [0x100ec5f4]
mov ecx, edi
push dword [ebp - 0x50]
call eax
test al, al
je 0x10045553
mov eax, dword [0x100faf5c]
lea ecx, [ebp - 0x9c]
push 0x2c
mov edx, esi
cmp dword [eax + 0x4c], esi
jae 0x1004535f
call fcn.10019780
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x10045211
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x100ef2d0]
push ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x4f494358
xor ecx, ecx
mov dword [ebp - 0x58], 0xf0a100a
mov word [ebp - 0x54], 0x59
mov al, byte [ebp + ecx - 0x6b]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x10045233
sub esp, 0x1c
mov byte [ebp - 0x53], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045270
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x2c]
push eax
call fcn.1002a0f0
add esp, 0x24
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.10002f50
mov eax, dword [ebp - 0x9c]
push 8
push eax
mov dword [ebp - 0x9c], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100452d0
sub ecx, edx
mov dword [ebp - 0x50], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
push esi
mov edi, eax
push 0
push edi
call fcn.1008c3c0
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x50]
cmova ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10089370
mov esi, dword [ebp - 0x7c]
add esp, 0x20
mov edi, dword [ebp + 8]
mov esi, dword [esi + 0x144]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045348
push esi
mov ecx, edi
call dword [0x100ec668]
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
jmp 0x10045548
call fcn.10019780
add esp, 4
mov dword [ebp - 4], 3
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x10045379
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x100ef080]
push ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x51575d46
xor ecx, ecx
mov dword [ebp - 0x58], 0x11140e14
mov word [ebp - 0x54], 0x47
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x6b]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x100453a0
sub esp, 0x1c
mov byte [ebp - 0x53], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100453e0
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x48]
push eax
call fcn.1002a0f0
add esp, 0x24
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.10002f50
mov eax, dword [ebp - 0x9c]
push 8
push eax
mov dword [ebp - 0x9c], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
cmova ecx, dword [ebp - 0x44]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045440
sub ecx, edx
mov dword [ebp - 0x50], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
push esi
mov edi, eax
push 0
push edi
call fcn.1008c3c0
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
push dword [ebp - 0x50]
cmova ecx, dword [ebp - 0x44]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10089370
mov esi, dword [ebp - 0x7c]
add esp, 0x20
mov ecx, dword [ebp - 0x80]
mov esi, dword [esi + 0x140]
cmp ecx, 0x3b9aca00
jl 0x100454b1
mov esi, 0xff00fff6
jmp 0x1004551d
cmp ecx, 0x5f5e100
jl 0x100454c0
mov esi, 0xffff00ea
jmp 0x1004551d
cmp ecx, 0x989680
jl 0x100454cf
mov esi, 0xfffc9601
jmp 0x1004551d
cmp ecx, 0xf4240
jl 0x100454de
mov esi, 0xff00d939
jmp 0x1004551d
cmp ecx, 0x186a0
jge 0x1004551d
cmp ecx, 0x2710
jl 0x100454f5
mov esi, 0xff00fff6
jmp 0x1004551d
cmp ecx, 0x3e8
jl 0x10045504
mov esi, 0xffff00ea
jmp 0x1004551d
cmp ecx, 0x64
jl 0x10045510
mov esi, 0xfffc9601
jmp 0x1004551d
cmp ecx, 0xa
mov eax, 0xff00d939
cmovl eax, esi
mov esi, eax
mov edi, dword [ebp + 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045536
push esi
mov ecx, edi
call dword [0x100ec668]
lea ecx, [ebp - 0x48]
call fcn.10002f50
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push 8
push eax
call fcn.10089370
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.100892c0
mov esp, ebp
pop ebp
ret 0x10