Function at 0x10057186
Capabilities:
Encode data using xor

Disassembly:
pushfd
test byte [0x10057204], 0x4c
jne 0x10057205
idiv byte [ecx + 0x10500da9]
bound edx, qword [edx + 0x2f275800]
add eax, 0x1ea6f795
jbe 0x1005714c
adc al, 0xf5
adc ch, 0xfe
and byte [eax - 0x4226315], dl
or edx, dword [edx + 0x7a]
cmp cl, cl
fcomp qword [edi + eax + 0x32]
mov cl, 0x9c
in al, 0x4e
nop
adc dh, dh
aas
mov cl, 0x25
or byte [esi + ebx + 0x58aa191e], al
popfd
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x21]
push ebx
mov esi, ecx
pushfd
test byte [0x100572cc], 0xe1
jne 0x100572cd
and cl, cl
push ebx
dec ebx
push ss
dec ecx
mov bl, 0x36
fsub qword [edx]
add cl, dh
jne 0x10057277
in eax, dx
or ebx, ebp
add byte [ebp - 0xf], ah
xor bl, byte [eax - 0x1f67e710]
in eax, dx
push esi
sub ecx, dword [ecx + 0x46]
pop ecx
js 0x10057272
lahf
sti
or cl, byte [edi]
mov ebp, 0xb9ea56af
and dword [ebp + 0x70], ecx
mov esp, 0xb9287eb4
mov byte [ebx], ch
push ds
mov edx, 0xaf4b1227
dec ebp
jo 0x1005720f
mov ah, 0x7e
sub byte [ecx - 0x45e1d478], bh
daa
adc cl, byte [ebx - 0x51]
mov bh, 2
xchg dword [esi + 0x41], ebp
stosb byte es:[edi], al
cli
sbb cl, byte [ecx - 0x7f]
xchg ebp, eax
imul edx, dword [edi - 0x44dc207], 0xce65e3d3
into
mov ch, 0x1b
insb byte es:[edi], dx
loop 0x10057250
pop esi
sbb cl, ah
adc al, 0x9d
nop
mov bh, byte [esi]
sbb dword [ebx], ebx
aad 0x72
push ebp
cmp al, 0x83
sbb dword [ecx + 0x6c], eax
adc ebx, dword [ebp - 0x70]
inc esp
and byte [ebp + 0x69], al
ja 0x100572d2
test dword [ebx - 2], ecx
push edi
dec edi
lahf
loopne 0x100572fb
stosd dword es:[edi], eax
test al, 0xa3
pushal
xor dword [ebx + 0x5915fcbc], esi
sub byte [edx - 0x58], cl
ja 0x10057250
mov esp, 0xb4612c12
inc ebx
mov eax, dword [0x62fe1227]
xor dword [ebx], 0x3215092b
sbb ebx, eax
pop ebx
dec ebx
mov ebx, 0xdba0f4b
push edi
inc ecx
cmp edx, ebx
and al, 0xca
popfd
call fcn.1004b712
push eax
push str.Entering_CHYNODE::ProcessPulseAck.....GUID:_s
push 0
call dword [eax + 0x68]
nop
jo 0x100572ec
adc byte [edx], ch
push 3
call fcn.10049c0c
add esp, 0x14
cmp dword [esi + 0x6ff], 0
jne 0x100574d6
lea eax, [esi + 8]
push ebx
push eax
call fcn.10041098
xor ebx, ebx
inc ebx
pop ecx
push dword [ebx]
fild dword [ebx + 0x59]
pop ecx
cmp eax, ebx
jne 0x100574d6
push 0x5d
add edi, 0x1d
pushfd
test byte [0x100573dc], 0xbc
jne 0x100573dd
in al, 0x14
inc eax
cmp al, dh
inc ebx
in eax, dx
in eax, 0xa1
stc
mov edx, 0xfb3fe989
pop es
cmp al, byte [eax - 0x72]
pop ebp
sbb dword [esi - 0x5467a714], edx
push 0xfe7e
dec ebp
pop es
cmpsb byte [esi], byte es:[edi]
jge 0x100573b9
cmp edi, dword [eax + ecx*8 + 0x2e4ac2eb]
or edi, dword [esi - 0x37]
enter 0x6a0b, 0xfffffffffffffff4
sahf
int 0x54
or al, 0x29
clc
and al, 0x9e
jae 0x100573cd
and eax, 0xf1ae6787
fsubrp st(0)
inc ecx
cld
cmp eax, 0xebbc9ead
sbb byte [ebx - 0x1fa15df0], ah
sub ebp, dword [ebp + eax*2 + 0x34766c44]
mov dl, 0x10
or al, 0x63
cmp byte [edx - 0x6d9d41b1], 0x17
xchg ebx, eax
mov esi, 0x93179262
mov ch, 0x80
or ah, byte [ebp + 0x38]
fist word [ebp + esi + 0x289e7dc7]
xor eax, 0x289e7dc7
push es
and dword [esi - 0x3c], ebx
xor al, 0xd1
call [eax]
mov cl, byte [ebx - 0x76]
popfd
and eax, 0x62c2673
aam 0x4f
jbe 0x1005737a
imul cx, word [ebp + 0x6f], 0x9b1
mov cl, 9
or dword [ecx], ecx
les ebp, es:[eax - 0x498fe96]
or dword [esi], esp
les ebp, [eax - 0x498fe96]
daa
fldenv [ebx]
xchg ecx, eax
jg 0x10057386
pop edi
inc eax
cdq
pop esi
dec ebp
xchg ebp, eax
dec esp
jb 0x100573a5
rol dword [ebx - 0x3bb2bd7f], 1
adc al, 0x13
int 0xb0
stosd dword es:[edi], eax
test dl, 0x1c
sub dword [edx + 0x54364d01], esi
je 0x10057412
mov dl, 0x1e
sal dword [edi - 0xc539001], cl
popfd
lea eax, [esi + 4]
pushfd
test byte [0x10057415], 0xe9
jne 0x10057416
insd dword es:[edi], dx
mov bh, 0x6c
or al, 0xef
pop edx
pop edi
inc esi
pop ebp
inc ebp
lds ebx, [ebp - 0x45]
in al, 0xb0
mov eax, dword [0xe3b22148]
jg 0x100573de
pop ecx
xor ebp, dword [edx - 0x17]
mov ebx, dword [ecx]
ja 0x1005744a
inc edx
aas
mov dword [edi + 0x75ffda8c], 0x8e7376e0
loopne 0x1005748a
jae 0x100573a4
popfd
push edi
push eax
mov byte [esi + 0x703], 0
call fcn.1011d7d0
arpl word [eax + eax], cx
pushfd
test byte [0x100574cb], 0x9b
jne 0x100574cc
mov eax, dword [0xde775d70]
fst qword [ebx]
jb 0x1005742d
or ebp, 0xedd27760
xchg esp, eax
insd dword es:[edi], dx
cmp ah, bh
cwde
fisubr word [ebp - 0x1844dce0]
std
xchg edi, eax
test al, 0x26
in eax, dx
and edi, dword [ebx - 0x57680219]
in eax, dx
loopne 0x10057422
xchg byte [edi], cl
jns 0x1005749d
aas
out dx, eax
inc ecx
cld
aad 0x42
sub byte [edi + 0x5a61d9df], dh
aas
jle 0x100573e9
insd dword es:[edi], dx
push edx
xchg edx, eax
push 0x56b9c6ea
fadd qword [edx - 0xe]
mov ecx, 0xf242dc56
jno 0x10057467
imul esp, dword [edx + ebp*4 - 0x36], 0x60f74106
push edi
cld
push esi
movsb byte es:[edi], byte [esi]
mov esp, edx
mov cl, 0xb7
je 0x1005746d
mov eax, dword [0xe550939c]
sbb al, 0x87
mov al, byte gs:[0x9821a0ff]
push eax
in eax, 0x1c
xchg dword [ebp - 0xd], esp
mov al, byte [0x9821a0ff]
out 0xf5, eax
mov ebp, 0x986c4ebf
xor al, 0xfc
cld
cmp byte [ecx + 0x76], bl
cmpsd dword [esi], dword es:[edi]
dec eax
int 0xff
outsd dx, dword [esi]
push ebx
lea edx, [esi]
xor al, 0xbe
inc esi
test ebx, 0x93e2dd91
imul esp, dword [ebx], 0x6e573df
lea edx, [ebp - 0x2d581e11]
out dx, eax
cmp byte [ebp + 0xd], 0x6e
xlatb
lodsd eax, dword [esi]
mov al, byte [ebp + 0x3b]
jnp 0x1005754a
popfd
add esp, 0xc
mov dword [esi + 0x6ff], ebx
cmp dword [esi + 0x6ff], 1
jne 0x100574e3
mov byte [esi + 0x1c], 0
pop edi
pop esi
xor eax, eax
pushfd
test byte [0x10057569], 0xb8
jne 0x1005756a
xor ebp, ecx
or edx, ebx
add ecx, dword [esi - 0x246845e6]
cmp ah, al
xor esp, edx
fstp dword [bx + si - 0x6a88]
and eax, 0x208c8adb
cmp dword es:[ecx + 0x44], edi
fisttp dword [edx + 0x3926208c]
jns 0x10057551
mov dword [0x835e66bd], eax
stosb byte es:[edi], al
dec edx
push ebp
aas
pop ecx
int1
movsd dword es:[edi], dword [esi]
sub dword [ecx + 0x6c73c43f], edx
xor byte [ecx + edi*8 + 0x7e], dl
adc bh, bh
adc eax, dword [ebp + 0x52835eb9]
add ebp, dword [edx + 0x4d]
pushfd
cmp dword [esi - 0x46], 0x5fc23411
popal
or al, 0x85
insd dword es:[edi], dx
adc al, 0xcf
div dword [ebp - 0x64]
shl byte [edx - 0x72], cl
cld
dec ecx
jge 0x100575a0
outsb dx, byte [esi]
add al, 0x27
enter 0x1dde, 0x13
and byte [edi + esi*4 - 0x23e07afa], 0x49
jns 0x10057505
ficomp word [0xb7a48213]
push es
test dword [edi], ebx
fmul qword [ecx + 0x79]
scasb al, byte es:[edi]
xchg esp, eax
mov dh, 0xf9
push edi
inc ebx
pop edx
add byte [edi], 0x71
xchg ecx, eax
mov esp, 0x7c4b762b
stosd dword es:[edi], eax
dec edi
loop 0x100575ca
popfd
pop ebx
pop ebp
ret 4