Function at 0x100544c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e9c3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push esi
push edi
mov eax, dword [0x100b7080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x2c], 1
mov dword [0x100bae78], eax
test edx, edx
jne 0x10054519
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10054534
cmp edx, dword [edi + 4]
jne 0x10054970
call fcn.10054d30
jmp 0x10054970
and eax, 0xf0000
cmp eax, 0x10000
je 0x1005491e
cmp eax, 0x40000
je 0x10054583
cmp eax, 0x80000
jne 0x10054970
mov esi, dword [edi]
test esi, esi
je 0x10054970
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10054970
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.10018430
jmp 0x10054970
mov esi, dword [edi]
test esi, esi
je 0x100545a3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100545a3
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.10018430
mov edx, dword [edi + 0x28]
mov eax, edx
mov ecx, dword [edi + 0x24]
sub eax, ecx
sar eax, 3
mov dword [ebp - 0x24], 0
test eax, eax
je 0x10054606
xor esi, esi
mov dword [ebp - 0x2c], esi
mov esi, dword [ecx + esi + 4]
test esi, esi
je 0x100545e8
mov esi, dword [esi]
test esi, esi
je 0x100545e8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100545e8
push pe_nt_image_headers32
mov ecx, esi
call dword [0x100ae570]
mov edx, dword [edi + 0x28]
mov eax, edx
mov ecx, dword [edi + 0x24]
sub eax, ecx
mov esi, dword [ebp - 0x2c]
inc dword [ebp - 0x24]
add esi, 8
sar eax, 3
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x24], eax
jb 0x100545c0
cmp ecx, edx
je 0x10054970
mov esi, dword [ebp + 8]
mov edi, dword [ecx + 4]
test edi, edi
je 0x1005461c
cmp dword [edi], esi
je 0x10054628
add ecx, 8
cmp ecx, edx
jne 0x10054611
jmp 0x10054970
mov eax, dword [edi + 0x50]
test eax, eax
je 0x10054970
cmp dword [edi + 0x54], 0
lea ecx, [edi + 0x54]
mov dword [ebp - 0x2c], ecx
je 0x10054970
mov ecx, dword [eax]
test ecx, ecx
je 0x10054970
mov esi, dword [0x100ae510]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10018500
mov ecx, eax
call esi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10054970
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x24]
sub edx, esi
sar edx, 3
mov dword [ebp - 0x20], edx
test edx, edx
je 0x100546b3
lea edx, [esi + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x24], esi
nop dword [eax]
mov esi, dword [edx]
test esi, esi
je 0x100546aa
cmp esi, edi
je 0x100546b6
inc eax
add edx, 8
cmp eax, dword [ebp - 0x20]
jb 0x100546a0
or eax, 0xffffffff
cmp dword [ecx + 0x18], eax
jne 0x10054970
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
add eax, dword [edx]
mov dword [ecx + 0x14], eax
mov esi, dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x100546f0
push 4
push esi
call edi
test eax, eax
jne 0x100546f0
push 0x4000
mov ecx, esi
call dword [0x100ae570]
mov ecx, 0xd78d38
call fcn.10018500
test eax, eax
je 0x10054712
push 4
push eax
call edi
test eax, eax
jne 0x10054712
push 0xffffffffffffffff
call dword [0x100ae600]
add esp, 4
mov byte [ebp - 0x1c], 0x13
mov cl, 0x6b
xor cl, byte [ebp - 0x1c]
mov al, 0x56
xor al, byte [ebp - 0x1c]
mov ch, 0x72
mov byte [ebp - 0x1b], al
mov dl, 0x70
mov byte [ebp - 0x1a], cl
mov dh, 0x7d
mov cl, byte [ebp - 0x1c]
mov ah, 0x7b
mov byte [ebp - 0xd], 0x74
xor dl, cl
mov al, byte [ebp - 0xd]
xor ch, cl
xor al, cl
mov byte [ebp - 0xe], 0x76
xor dh, cl
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0xe]
xor ah, cl
xor al, cl
mov byte [ebp - 0x17], ch
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x16], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054780
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002570
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
push dword [eax]
call fcn.1000c130
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x100547bf
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af860]
lea edi, [ebp - 0x48]
push 0x64
movups xmmword [ebp - 0x6c], xmm0
xor ecx, ecx
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [0x100af2c0]
push 4
push eax
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1f
jb 0x100547e3
sub esp, 0x18
mov byte [ebp - 0x4c], 0
mov esi, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054813
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, esi
call fcn.10002570
lea eax, [ebp - 0x84]
push eax
call fcn.1000a3e0
add esp, 0x20
mov edx, edi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10024080
mov ecx, dword [ebp - 0x70]
add esp, 8
cmp ecx, 0xf
jbe 0x1005487e
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054874
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054985
push ecx
push edx
call fcn.100812a6
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0xf
jbe 0x100548cd
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100548c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054985
push ecx
push edx
call fcn.100812a6
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x10054970
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054912
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054985
push ecx
push edx
call fcn.100812a6
add esp, 8
jmp 0x10054970
mov eax, dword [edi + 0x24]
mov ecx, eax
mov esi, dword [edi + 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, esi
je 0x10054970
nop dword [eax]
mov edi, dword [ecx + 4]
test edi, edi
je 0x1005493b
cmp dword [edi], edx
je 0x10054944
add ecx, 8
cmp ecx, esi
jne 0x10054930
jmp 0x10054970
mov ecx, dword [ebp - 0x2c]
xor eax, eax
sub esi, ecx
sar esi, 3
test esi, esi
je 0x10054967
add ecx, 4
mov edx, dword [ecx]
test edx, edx
je 0x1005495f
cmp edx, edi
je 0x1005496a
inc eax
add ecx, 8
cmp eax, esi
jb 0x10054955
or eax, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x18], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.1008643f
int3