Function at 0x100549e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf68d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
push edi
mov eax, dword [0x100f7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi + 0x144], 0xffffffff
je 0x10055052
movaps xmm0, xmmword [0x100ee700]
xor ecx, ecx
mov dword [esi + 0x144], 0xffffffff
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x1b040109
mov byte [ebp - 0x4c], 0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x13
jb 0x10054a40
xorps xmm0, xmm0
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x5f]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054a77
sub ecx, edx
lea eax, [ebp - 0x5f]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10003370
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x7c]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10054b24
push 4
push eax
call esi
test eax, eax
jne 0x10054b24
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054ac0
sub ecx, edx
mov dword [ebp - 0x1c], 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 - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
mov ecx, dword [ebp - 0x28]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec660]
push edi
call fcn.10089370
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x44], 0
call fcn.10089370
mov eax, dword [ebp - 0x24]
add esp, 8
mov edi, dword [eax + 0x7c]
test edi, edi
je 0x10054b68
push 4
push edi
call esi
test eax, eax
jne 0x10054b65
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100ec668]
mov eax, dword [ebp - 0x24]
lea edi, [eax + 0xb8]
mov dword [ebp - 0x28], 4
add eax, 0x84
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x48], eax
mov edi, dword [eax]
test edi, edi
je 0x10054b98
push 4
push edi
call esi
test eax, eax
jne 0x10054b98
push eax
mov ecx, edi
call dword [0x100ec604]
xorps xmm0, xmm0
mov word [ebp - 0x10], 0x18
lea ecx, [ebp - 0xf]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054bc4
sub ecx, edx
lea eax, [ebp - 0xf]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10003370
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 1
mov eax, dword [edi - 8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10054c71
push 4
push eax
call esi
test eax, eax
jne 0x10054c71
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054c10
sub ecx, edx
mov dword [ebp - 0x20], 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 - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec660]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x1c]
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x44], 0
call fcn.10089370
xorps xmm0, xmm0
mov word [ebp - 0x14], 0x7b
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x13], 0
add esp, 8
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054cc1
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10003370
mov dword [ebp - 4], 2
mov eax, dword [edi - 4]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10054d77
push 4
push eax
call esi
test eax, eax
jne 0x10054d77
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054d10
sub ecx, edx
mov dword [ebp - 0x20], 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 - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec660]
push edi
call fcn.10089370
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 4
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x44], 0
call fcn.10089370
mov edi, dword [edi]
add esp, 8
test edi, edi
je 0x10054ddc
push 4
push edi
call esi
test eax, eax
jne 0x10054ddc
lea eax, [edi + 0x140]
push 4
push eax
call esi
test eax, eax
jne 0x10054ddc
lea eax, [edi + 0x13c]
push 4
push eax
call esi
test eax, eax
jne 0x10054ddc
mov ecx, edi
mov dword [edi + 0x140], eax
mov dword [edi + 0x13c], eax
call dword [0x100ec648]
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi]
test edi, edi
je 0x10054e04
push 4
push edi
call esi
test eax, eax
jne 0x10054e04
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100ec64c]
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x1c], 0x14
add eax, 4
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x48], eax
jne 0x10054b80
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], 5
lea edi, [eax + 0xf8]
add eax, 0x94
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10054e52
push 4
push eax
call esi
test eax, eax
jne 0x10054e52
mov ecx, dword [ebp - 0x18]
push eax
call dword [0x100ec604]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10054e6f
push 4
push eax
call esi
test eax, eax
jne 0x10054e6f
mov ecx, dword [ebp - 0x18]
push eax
call dword [0x100ec664]
cmp dword [edi], 0
je 0x10055039
xorps xmm0, xmm0
mov word [ebp - 0x14], 0xa
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054ea4
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10003370
mov dword [ebp - 4], 3
lea edx, [ebp - 0x44]
mov ecx, dword [edi]
add ecx, 4
call fcn.100183a0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x44], 0
call fcn.10089370
mov eax, dword [edi]
add esp, 8
mov dword [eax + 0x50], 0
mov eax, dword [edi]
mov dword [eax + 0x54], 0
mov eax, dword [edi]
mov dword [eax + 0x58], 0
mov eax, dword [edi]
mov dword [eax + 0x5c], 0
mov eax, dword [edi]
cmp dword [eax], 0
je 0x10055039
xorps xmm0, xmm0
mov word [ebp - 0x10], 0x39
lea ecx, [ebp - 0xf]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x7c], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054f50
sub ecx, edx
lea eax, [ebp - 0xf]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.10003370
mov dword [ebp - 4], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10054ff1
push 4
push eax
call esi
test eax, eax
jne 0x10054ff1
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
cmova ecx, dword [ebp - 0x78]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054f90
sub ecx, edx
mov dword [ebp - 0x28], 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 - 0x64], 0xf
lea edx, [ebp - 0x78]
push dword [ebp - 0x28]
cmova edx, dword [ebp - 0x78]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x28]
add esp, 0x1c
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec638]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x20]
add esp, 4
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x7c], 0
call fcn.10089370
mov eax, dword [edi]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10055039
push 4
push eax
call esi
test eax, eax
jne 0x10055039
mov ecx, dword [ebp - 0x18]
push eax
call dword [0x100ec604]
mov eax, dword [ebp - 0x48]
add edi, 0xc
add eax, 4
mov dword [ebp - 0x20], edi
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x48], eax
jne 0x10054e36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret