Function at 0x1007d5e3
Capabilities:
Encode data using xor

Disassembly:
push dword [esp + 8]
popfd
lea esp, [esp + 0x14]
ret
lodsb al, byte [esi]
pop esp
push esi
mov cl, 0xb9
dec ecx
mov ebp, dword [ebp + edx + 0x3ad283e7]
neg dl
test edx, 0x2a343a17
jne 0x1013770c
mov eax, dword [esp + edi - 0x251ffff0]
cmp di, 0x934
push ebp
mov ebp, 0x4fa6beb6
lea eax, [eax + edi*2 - 0x4a3fffff]
call fcn.10132371
mov esi, 0x848d4fa6
js 0x1007d5dc
add al, al
mov ch, 0xe8
mov cs, word [ebp + 0xb]
add bh, dh
not edi
sal byte [ebp + 0xb4d8ee8], 0
not edi
mov edi, dword [esp + 0xc]
jne 0x10149c9c
jo 0x1007d5d4
salc
sub eax, 0xed48e1ac
and al, 5
scasb al, byte es:[edi]
sub byte [ebp - 0x21], 0x46
lodsd eax, dword [esi]
je 0x1007d61a
loopne 0x1007d678
mov ah, 0xfc
or byte [edx + 0x1d], 0x3c
loop 0x1007d5aa
mov dword [0xfc999f58], eax
pop ecx
push eax
push 0x6fcade18
sal dword [edi], 0x58
pop eax
invalid
inc esi
test byte [eax - 0x7a], ch
push ds
push cs
sbb al, 0xfb
imul ecx, ecx, 0xe67154c2
salc
cmp dh, dh
sub edx, ebp
popfd
int 0x59
out dx, al
lea ebx, [eax + 0x70624608]
cmc
mov esi, 0xf8f3bfb7
cmp eax, 0x115084c2
call dword [ebp - 0x4cd20f7a]
inc edx
aam 0x19
xchg edx, eax
jae 0x1007d6ba
wait
ror byte [edi + 0x14], 0x25
ret
mov ebx, 0x7fb85f76
inc eax
jecxz 0x1007d6c4
pop edi
mov eax, 0x4e3407f
lea esi, [edx]
test dword [eax], eax
jno 0x1007d6d0
jnp 0x1007d689
js 0x1007d673
aas
mov cl, bh
lodsb al, byte [esi]
mov esp, 0xc0ef00dc
mov bl, 0xfe
mov al, 0x30
and byte [0x3f777f76], bh
add bh, ch
sal byte [ebx + 0x2030b0fe], 0x3d
jbe 0x1007d75a
ja 0x1007d71c
xor al, 0xf1
add al, 0x7d
mov bl, 0xac
cmp edi, dword [eax - 0x57]
mov cl, 0xb2
fsubrp st(1)
pushfd
invalid
jb 0x1007d6b8
call dword [ecx]
mov eax, 0x4338c139
mov bl, 0xa1
lodsd eax, dword [esi]
cmpsb byte [esi], byte es:[edi]
sbb ebp, 0x2b
sbb ecx, eax
loop 0x1007d73f
ud2
in eax, dx
call 0x576ec375
jmp 0x696023ee
pop ecx
shr byte [ecx], cl
fmul dword [eax + 0x35]
sbb byte [ecx - 0x5cd33206], bh
dec eax
xor eax, 0xcdfab918
sub al, 0xa3
cld
push esi
wait
jne 0x1007d7a5
lodsd eax, dword [esi]
js 0x1007d76d
imul esp, dword [edi - 0x30], 0xae874a36
dec ecx
clc
sahf
cmp al, byte [ebp - 0x12937d51]
dec edx
xchg dword [esi + 0x3a9ef849], ebp
test dword [edi - 0x6312937e], ebp
in eax, dx
pushfd
shl dword [eax], 0x20
mov dh, 2
jo 0x1007d733
xor esp, eax
and eax, 0x1cdfd72c
jecxz 0x1007d76e
mov al, 0x7c
adc dword [0x13bfe46b], 0x4c
mov edx, 0x33456065
push esp
jbe 0x1007d6f5
push cs
loope 0x1007d720
in al, dx
push edi
ja 0x1007d712
dec ecx
imul eax, dword [esi + 0x6d], 0x50
insd dword es:[edi], dx
push eax
invalid
scasb al, byte es:[edi]
sbb eax, dword [ebp - 0x457e085f]
pushfd
and byte [esi - 0x31], dl
js 0x1007d7f5
sub byte [0x3e35f64f], ah
sti
invalid
in eax, 0x8d
popfd
test dword [ecx - 0x4e], 0x4fb21520
div byte [0x5d5b1b3e]
clc
and dword [esi + 0x72], esp
pop ss
ror dword [edx], 0x54
retf 0xd414
cmp word [esp + edx + 0x3ad2831d], 0x9b38
mov edi, edx
mov dword [esp + edi + 0x3ad28329], edx
lea ebp, [ebp + ebx + 0x6b83064a]
call fcn.101201c0
dec dword [edi]
test dword [eax - 0x110011ed], edi
jne 0x1002b05a
out dx, al
jge 0x10149cf5
popfd
xchg esp, eax
mov dword [ebp + eax + 0x57856642], ebp
sahf
in eax, dx
mov ch, bl
and byte [ebp - 0x6c01eacc], dh
xchg ebx, eax
insd dword es:[edi], dx
retf 0xd291
and eax, dword [edx + 0x4c663591]
cmp dword [edx + 0x63], eax
dec esi
xlatb
xor eax, 0x42394c66
arpl word [esi - 0x29], cx
shr bl, cl
dec edx
or eax, esp
and byte ss:[edi], dh
and byte [edi], dh
adc dh, cl
mov dl, 0x37
mov dl, 0xa7
loope 0x10149ce6
jnp 0x10149c9b
test al, 0xb5
shr dword [edi - 0x77], 1
sub al, 0x90
add byte es:[edi], cl
int 0x4c
cmp byte [eax + esi*4 + 0x1e], cl
sub byte [ebx - 0x5f9fe36f], bh
test byte [esi - 0xbaaf7d3], bh
imul edi, esp, 0xb1b61ae5
xchg edx, eax
sbb al, 0x2b
mov ebp, 0x49c992db
ror byte [edx], cl
loope 0x10149cb7
cdq
add ecx, esi
xchg edi, eax
push esi
push ebx
push ebp
push cs
fnstcw word [edi + ebx*2]
lcall 0x6097, 0xd44afa62
enter 0xffffffffffffb758, 0xffffffffffffff84
jge 0x10149ce3
pop ebp
std
in eax, dx
mov eax, dword [0x777ac524]
mov esi, 0x10e4d3ec
sbb esp, dword [esi]
retf 0x22d2