Function at 0x100543a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e513
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push esi
push edi
mov eax, dword [0x100b7040]
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 [0x100bac9c], eax
test edx, edx
jne 0x100543f9
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 0x10054414
cmp edx, dword [edi + 4]
jne 0x10054850
call fcn.10054c10
jmp 0x10054850
and eax, 0xf0000
cmp eax, 0x10000
je 0x100547fe
cmp eax, 0x40000
je 0x10054463
cmp eax, 0x80000
jne 0x10054850
mov esi, dword [edi]
test esi, esi
je 0x10054850
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10054850
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.10018350
jmp 0x10054850
mov esi, dword [edi]
test esi, esi
je 0x10054483
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10054483
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.10018350
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 0x100544e6
xor esi, esi
mov dword [ebp - 0x2c], esi
mov esi, dword [ecx + esi + 4]
test esi, esi
je 0x100544c8
mov esi, dword [esi]
test esi, esi
je 0x100544c8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100544c8
push pe_nt_image_headers32
mov ecx, esi
call dword [0x100ae520]
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 0x100544a0
cmp ecx, edx
je 0x10054850
mov esi, dword [ebp + 8]
mov edi, dword [ecx + 4]
test edi, edi
je 0x100544fc
cmp dword [edi], esi
je 0x10054508
add ecx, 8
cmp ecx, edx
jne 0x100544f1
jmp 0x10054850
mov eax, dword [edi + 0x50]
test eax, eax
je 0x10054850
cmp dword [edi + 0x54], 0
lea ecx, [edi + 0x54]
mov dword [ebp - 0x2c], ecx
je 0x10054850
mov ecx, dword [eax]
test ecx, ecx
je 0x10054850
mov esi, dword [0x100ae4c0]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10018420
mov ecx, eax
call esi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10054850
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 0x10054593
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 0x1005458a
cmp esi, edi
je 0x10054596
inc eax
add edx, 8
cmp eax, dword [ebp - 0x20]
jb 0x10054580
or eax, 0xffffffff
cmp dword [ecx + 0x18], eax
jne 0x10054850
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 0x100545d0
push 4
push esi
call edi
test eax, eax
jne 0x100545d0
push 0x4000
mov ecx, esi
call dword [0x100ae520]
mov ecx, 0xd78d38
call fcn.10018420
test eax, eax
je 0x100545f2
push 4
push eax
call edi
test eax, eax
jne 0x100545f2
push 0xffffffffffffffff
call dword [0x100ae5b0]
add esp, 4
mov byte [ebp - 0x1c], 0x5b
mov cl, 0x23
xor cl, byte [ebp - 0x1c]
mov al, 0x1e
xor al, byte [ebp - 0x1c]
mov ch, 0x3a
mov byte [ebp - 0x1b], al
mov dl, 0x38
mov byte [ebp - 0x1a], cl
mov dh, 0x35
mov cl, byte [ebp - 0x1c]
mov ah, 0x33
mov byte [ebp - 0xd], 0x3c
xor dl, cl
mov al, byte [ebp - 0xd]
xor ch, cl
xor al, cl
mov byte [ebp - 0xe], 0x3e
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 0x10054660
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002580
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
push dword [eax]
call fcn.1000c050
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x1005469f
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af190]
lea edi, [ebp - 0x48]
push 0x64
movups xmmword [ebp - 0x6c], xmm0
xor ecx, ecx
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [0x100af760]
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 0x100546c3
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 0x100546f3
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, esi
call fcn.10002580
lea eax, [ebp - 0x84]
push eax
call fcn.1000a310
add esp, 0x20
mov edx, edi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10023fa0
mov ecx, dword [ebp - 0x70]
add esp, 8
cmp ecx, 0xf
jbe 0x1005475e
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054754
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054865
push ecx
push edx
call fcn.100810d6
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 0x100547ad
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100547a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054865
push ecx
push edx
call fcn.100810d6
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 0x10054850
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100547f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054865
push ecx
push edx
call fcn.100810d6
add esp, 8
jmp 0x10054850
mov eax, dword [edi + 0x24]
mov ecx, eax
mov esi, dword [edi + 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, esi
je 0x10054850
nop dword [eax]
mov edi, dword [ecx + 4]
test edi, edi
je 0x1005481b
cmp dword [edi], edx
je 0x10054824
add ecx, 8
cmp ecx, esi
jne 0x10054810
jmp 0x10054850
mov ecx, dword [ebp - 0x2c]
xor eax, eax
sub esi, ecx
sar esi, 3
test esi, esi
je 0x10054847
add ecx, 4
mov edx, dword [ecx]
test edx, edx
je 0x1005483f
cmp edx, edi
je 0x1005484a
inc eax
add ecx, 8
cmp eax, esi
jb 0x10054835
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.1008626f
int3